/*
 * Gholpasha Sports Family - Official Stylesheet
 * Custom CSS component architecture matching approved reference design
 * Navbar: Dark Navy | Hero: Dark Navy | Content: Light (#f8fafc) with White Cards | Banner: Navy | Footer: Navy
 */

:root {
    /* Theme Backgrounds */
    --bg-page: #f8fafc;
    --bg-page-alt: #ffffff;
    --bg-navy-dark: #071224;
    --bg-navy-header: rgba(7, 18, 36, 0.98);
    --bg-navy-footer: #050d1a;
    --bg-card-white: #ffffff;

    /* Borders */
    --border-light: #e2e8f0;
    --border-subtle: #cbd5e1;
    --border-navy: #1a3356;

    /* Brand Colors */
    --brand-red: #e11d48;
    --brand-red-hover: #be123c;
    --brand-blue: #2563eb;
    --brand-blue-hover: #1d4ed8;
    --brand-navy-card: #0f2442;

    /* Text Colors */
    --text-navy-title: #0f172a;
    --text-navy-subtitle: #1e293b;
    --text-slate-body: #475569;
    --text-slate-muted: #64748b;
    --text-white: #ffffff;
    --text-accent-red: #f43f5e;
    --text-accent-blue: #2563eb;

    /* Status Badges */
    --badge-announcement-bg: #e0f2fe;
    --badge-announcement-border: #bae6fd;
    --badge-announcement-text: #0284c7;

    /* Radii & Shadows */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 9999px;
    --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-card-hover: 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-slate-body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Bengali Font Family Optimization */
body.lang-bn,
body.lang-bn input,
body.lang-bn button,
body.lang-bn select,
body.lang-bn textarea {
    font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Titles with Red Accent Underline */
.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-wrap {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-navy-title);
    line-height: 1.25;
}

.title-underline {
    width: 44px;
    height: 3.5px;
    background-color: var(--brand-red);
    border-radius: var(--radius-pill);
    margin-top: 0.35rem;
}

/* ==========================================================================
   Header & Navigation (Dark Navy)
   ========================================================================== */
.site-header {
    background-color: var(--bg-navy-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-navy);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--brand-blue);
    padding: 2px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.66rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Desktop Nav Links */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: #cbd5e1;
    padding: 0.4rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link.active {
    color: var(--text-white);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brand-red);
    border-radius: var(--radius-pill);
}

/* Header Action Controls */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.lang-pill {
    display: flex;
    align-items: center;
    background: #0d1e38;
    border: 1px solid var(--border-navy);
    border-radius: var(--radius-pill);
    padding: 3px 6px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover:not(.active) {
    color: var(--text-white);
}

.lang-btn.active {
    background: var(--brand-blue);
    color: var(--text-white);
}

.lang-divider {
    color: var(--border-navy);
    font-size: 0.75rem;
    margin: 0 2px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.05rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-nav-login {
    background: transparent;
    color: var(--text-white);
    border: 1px solid #334e68;
}

.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-white);
}

.btn-nav-register {
    background: var(--brand-red);
    color: var(--text-white);
    border: 1px solid var(--brand-red);
}

.btn-nav-register:hover {
    background: var(--brand-red-hover);
    border-color: var(--brand-red-hover);
    transform: translateY(-1px);
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-drawer {
    display: none;
    flex-direction: column;
    background-color: #0c1c34;
    border-bottom: 1px solid var(--border-navy);
    padding: 1.25rem 1.5rem;
}

.mobile-drawer.open {
    display: flex;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #cbd5e1;
    padding: 0.4rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link.active {
    color: var(--text-accent-red);
    font-weight: 600;
}

.mobile-auth-section {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mobile-auth-section .btn-nav {
    width: 100%;
    padding: 0.65rem;
}

/* ==========================================================================
   1. Hero Section (Navy with Real Football Field Photograph)
   ========================================================================== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 4.5rem 0 4rem;
    border-bottom: 1px solid var(--border-navy);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-text-block {
    max-width: 580px;
}

.hero-main-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text-white);
    margin-bottom: 1.15rem;
}

.text-accent-red {
    color: var(--brand-red);
}

.hero-tagline {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background-color: var(--brand-red);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
    transition: all 0.25s ease;
}

.btn-hero-primary:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
}

.btn-hero-secondary {
    background-color: rgba(13, 30, 56, 0.85);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-pill);
    border: 1px solid #334e68;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.hero-meta-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 500;
}

.red-dash {
    display: inline-block;
    width: 20px;
    height: 3px;
    background-color: var(--brand-red);
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   2. Match Center Strip (Light Background with Navy Text)
   ========================================================================== */
.match-center-strip {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.match-center-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.match-center-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.match-center-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.trophy-icon {
    font-size: 1.2rem;
}

.match-center-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-navy-title);
}

.sport-tabs-pills {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f1f5f9;
    padding: 3px;
    border-radius: var(--radius-pill);
}

.sport-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-slate-body);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.sport-tab-btn:hover:not(.active) {
    color: var(--text-navy-title);
}

.sport-tab-btn.active {
    background: #0f172a;
    color: #ffffff;
}

.tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-football { background-color: #3b82f6; }
.dot-cricket { background-color: #ef4444; }
.dot-badminton { background-color: #10b981; }

.match-center-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.match-update-notice {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: var(--text-slate-body);
}

.bell-icon {
    font-size: 0.95rem;
}

.link-view-all-results {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-blue);
}

.link-view-all-results:hover {
    text-decoration: underline;
}

/* ==========================================================================
   3. Upcoming Tournaments Section (Light Background & White Cards)
   ========================================================================== */
.section-upcoming-tournaments {
    padding: 2.5rem 0 2rem;
    background-color: var(--bg-page);
}

.filter-controls-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.select-wrapper {
    position: relative;
}

.custom-filter-select {
    appearance: none;
    background-color: #ffffff;
    color: var(--text-navy-title);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.45rem 2rem 0.45rem 0.9rem;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23475569%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.custom-filter-select:focus {
    outline: none;
    border-color: var(--brand-blue);
}

/* Tournaments Grid */
.tournaments-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tournament-card {
    background-color: var(--bg-card-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tournament-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

/* Replaceable Card Media Banner */
.card-media-banner {
    height: 145px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.card-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-football {
    background: linear-gradient(135deg, #1e3a8a 0%, #064e3b 100%);
}

.media-cricket {
    background: linear-gradient(135deg, #78350f 0%, #1e3a5f 100%);
}

.media-badminton {
    background: linear-gradient(135deg, #065f46 0%, #1e1b4b 100%);
}

.media-placeholder-frame {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.25);
}

.placeholder-svg-icon {
    color: rgba(255, 255, 255, 0.75);
}

.placeholder-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.3px;
}

.tournament-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tournament-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-navy-title);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.announcement-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: var(--badge-announcement-bg);
    border: 1px solid var(--badge-announcement-border);
    color: var(--badge-announcement-text);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
    width: fit-content;
    margin-bottom: 0.75rem;
}

.tournament-card-text {
    font-size: 0.88rem;
    color: var(--text-slate-muted);
    line-height: 1.45;
    margin-bottom: 1.25rem;
    flex: 1;
}

.btn-card-outline {
    border: 1px solid #1e293b;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    display: block;
    background: #ffffff;
    transition: all 0.2s ease;
}

.btn-card-outline:hover {
    background-color: #0f172a;
    color: #ffffff;
}

.filter-empty-alert {
    background-color: #ffffff;
    border: 1px dashed var(--border-light);
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius-md);
    color: var(--text-slate-muted);
    font-size: 0.9rem;
}

.stay-connected-bar {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-navy-subtitle);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   4. Match Schedule and Points Table (White Card Containers)
   ========================================================================== */
.section-schedule-and-standings {
    padding: 1rem 0 2.5rem;
    background-color: var(--bg-page);
}

.schedule-standings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.widget-box {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.widget-box-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.widget-box-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-navy-title);
    line-height: 1.2;
}

.schedule-tab-pills {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #f1f5f9;
    padding: 3px;
    border-radius: var(--radius-pill);
}

.schedule-pill-btn {
    background: transparent;
    border: none;
    color: var(--text-slate-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.schedule-pill-btn.active {
    background: #0f172a;
    color: #ffffff;
}

/* Honest Empty State for Schedule */
.empty-state-card {
    background-color: #f8fafc;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.25rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.empty-calendar-icon {
    margin-bottom: 0.85rem;
}

.empty-state-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-navy-title);
    margin-bottom: 0.35rem;
}

.empty-state-desc {
    font-size: 0.86rem;
    color: var(--text-slate-muted);
    max-width: 360px;
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

.btn-empty-action {
    color: var(--brand-blue);
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.05);
    transition: all 0.2s;
}

.btn-empty-action:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--brand-blue);
}

/* Points Table Standings */
.points-table-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.styled-standings-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.75rem;
}

.styled-standings-table th {
    background-color: #f8fafc;
    color: var(--text-slate-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.styled-standings-table th.th-team {
    text-align: left;
    width: 45%;
}

.empty-standings-state {
    background-color: #f8fafc;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.chart-bars-icon {
    margin-bottom: 0.75rem;
}

.empty-standings-desc {
    font-size: 0.88rem;
    color: var(--text-slate-muted);
}

/* ==========================================================================
   5. Sports News & Highlights (Light Background & White Cards)
   ========================================================================== */
.section-sports-news {
    padding: 1.5rem 0 2.5rem;
    background-color: var(--bg-page-alt);
    border-top: 1px solid var(--border-light);
}

.link-sample-content {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-blue);
}

.link-sample-content:hover {
    text-decoration: underline;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.news-card-media {
    height: 140px;
    position: relative;
    padding: 0.85rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.news-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.media-football-action {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}

.media-cricket-action {
    background: linear-gradient(135deg, #854d0e 0%, #1e293b 100%);
}

.media-badminton-action {
    background: linear-gradient(135deg, #047857 0%, #0f172a 100%);
}

.placeholder-slot-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.2px;
}

.category-badge {
    position: relative;
    z-index: 2;
    background-color: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.18rem 0.6rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
}

.news-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-headline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-navy-title);
    margin-bottom: 0.45rem;
    line-height: 1.35;
}

.news-card-summary {
    font-size: 0.86rem;
    color: var(--text-slate-muted);
    line-height: 1.45;
    margin-bottom: 1.15rem;
    flex: 1;
}

.news-read-more {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-red);
}

.news-read-more:hover {
    color: var(--brand-red-hover);
    text-decoration: underline;
}

/* ==========================================================================
   6. Prominent "Register Your Team" Banner (Dark Navy with Stadium Lighting)
   ========================================================================== */
.section-team-registration-banner {
    padding: 2rem 0;
    background-color: var(--bg-page);
}

.registration-banner-inner {
    background: linear-gradient(135deg, #0d2348 0%, #081426 100%);
    border: 1px solid #1e40af;
    border-radius: var(--radius-lg);
    padding: 2.75rem 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.registration-banner-inner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.reg-banner-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.reg-banner-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* 3 Steps Flow */
.reg-steps-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.reg-step-node {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.step-circle-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-blue);
    border: 2px solid #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.step-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.step-arrow-connector {
    color: var(--brand-blue);
    font-size: 1.15rem;
    font-weight: 700;
}

.reg-banner-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.btn-reg-banner-action {
    background-color: var(--brand-red);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.btn-reg-banner-action:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.55);
}

.reg-banner-tracker-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.check-box-icon {
    color: #10b981;
    font-size: 1rem;
}

/* ==========================================================================
   7. Three Equal Cards (Light Background & White Cards)
   ========================================================================== */
.section-triple-cards {
    padding: 1.5rem 0 3.5rem;
    background-color: var(--bg-page);
}

.triple-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.feature-card-media {
    height: 145px;
    position: relative;
    overflow: hidden;
}

.media-memories {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.media-family {
    background: linear-gradient(135deg, #1e293b 0%, #1e3a5f 100%);
}

.media-service {
    background: linear-gradient(135deg, #064e3b 0%, #1e293b 100%);
}

.feature-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.feature-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-navy-title);
    margin-bottom: 0.45rem;
}

.feature-card-text {
    font-size: 0.88rem;
    color: var(--text-slate-muted);
    line-height: 1.45;
    margin-bottom: 1.15rem;
    flex: 1;
}

.feature-card-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-red);
}

.feature-card-link:hover {
    color: var(--brand-red-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Footer (Dark Navy)
   ========================================================================== */
.site-footer {
    background-color: var(--bg-navy-footer);
    border-top: 1px solid var(--border-navy);
    padding-top: 3rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--brand-blue);
    padding: 2px;
}

.footer-brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.footer-brand-motto {
    font-size: 0.8rem;
    color: #94a3b8;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.social-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0d1e38;
    border: 1px solid var(--border-navy);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a {
    font-size: 0.86rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.15rem 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text {
    font-size: 0.8rem;
    color: #94a3b8;
}

.footer-disclaimer-pill {
    background-color: #0b1a33;
    border: 1px solid var(--border-navy);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    color: #94a3b8;
}

/* ==========================================================================
   Accessible Modal
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background-color: #0f2442;
    border: 1px solid #254674;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    animation: modalSlide 0.2s ease-out;
    overflow: hidden;
}

@keyframes modalSlide {
    from { transform: scale(0.95) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid var(--border-navy);
    background-color: #0c1c34;
}

.modal-icon {
    font-size: 1.4rem;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
}

.modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 1.35rem;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.modal-meta-box {
    margin-top: 1.15rem;
    background-color: rgba(37, 99, 235, 0.12);
    border-left: 3px solid var(--brand-blue);
    padding: 0.65rem 0.9rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.84rem;
    color: #93c5fd;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.modal-footer {
    padding: 0.85rem 1.35rem;
    background-color: #0c1c34;
    border-top: 1px solid var(--border-navy);
    display: flex;
    justify-content: flex-end;
}

.btn-modal-dismiss {
    background-color: var(--brand-blue);
    color: #ffffff;
    border: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.btn-modal-dismiss:hover {
    background-color: var(--brand-blue-hover);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-main-title {
        font-size: 2.35rem;
    }

    .tournaments-cards-grid,
    .news-cards-grid,
    .triple-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .auth-buttons {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-section {
        padding: 3rem 0 2.5rem;
    }

    .hero-main-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .match-center-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .match-center-right {
        width: 100%;
        justify-content: space-between;
    }

    .tournaments-cards-grid,
    .news-cards-grid,
    .triple-cards-grid {
        grid-template-columns: 1fr;
    }

    .schedule-standings-grid {
        grid-template-columns: 1fr;
    }

    .reg-banner-title {
        font-size: 1.5rem;
    }

    .reg-banner-subtitle {
        font-size: 0.92rem;
    }

    .reg-steps-flow {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .step-arrow-connector {
        transform: rotate(90deg);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOURNAMENT DETAIL PAGE STYLES
   /tournaments/<slug>/ — Bilingual (Bengali / English)
   2-column layout: main content left | sidebar right on desktop
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.td-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 0.65rem 0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-slate-muted);
}

.breadcrumb-item a {
    color: var(--brand-blue);
    text-decoration: none;
}

.breadcrumb-item a:hover { text-decoration: underline; }

.breadcrumb-sep { color: var(--text-slate-muted); }

.breadcrumb-current {
    color: var(--text-slate-body);
    font-weight: 500;
}

/* ── Hero Banner ────────────────────────────────────────────────────────── */
.td-hero {
    position: relative;
    background: var(--bg-navy-dark);
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.td-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
}

.td-hero-bg-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #071224 0%, #0f2442 60%, #1a3a6b 100%);
}

.td-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 13, 26, 0.95) 0%, rgba(5, 13, 26, 0.5) 60%, transparent 100%);
}

.td-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    width: 100%;
}

.td-hero-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.td-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.td-badge-sample {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
}

.td-badge-status {
    color: #fff;
}

.td-badge-status--open { background: #16a34a; }
.td-badge-status--upcoming { background: #d97706; }
.td-badge-status--closed { background: #dc2626; }

.td-hero-title {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.td-hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 400;
}

/* ── Info Cards Row ─────────────────────────────────────────────────────── */
.td-info-cards-row {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0;
}

.td-info-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.td-info-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.9rem 0.75rem;
    text-align: center;
    transition: box-shadow 0.2s;
}

.td-info-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.td-info-card-icon {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.td-info-card-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-slate-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}

.td-info-card-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-navy-title);
    line-height: 1.3;
}

/* ── Two-column Layout ──────────────────────────────────────────────────── */
.td-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    align-items: start;
}

/* ── Shared Card ────────────────────────────────────────────────────────── */
.td-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.td-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-navy-title);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-blue);
    display: inline-block;
}

/* ── Tabs ───────────────────────────────────────────────────────────────── */
.td-tabs-wrap {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
    padding: 0.25rem;
}

.td-tabs {
    display: flex;
    gap: 0.15rem;
}

.td-tab {
    flex: 1;
    padding: 0.65rem 1rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-slate-muted);
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.td-tab:hover {
    background: var(--bg-page);
    color: var(--text-navy-title);
}

.td-tab--active {
    background: var(--brand-blue);
    color: #fff;
    font-weight: 600;
}

/* ── Rules ──────────────────────────────────────────────────────────────── */
.td-rules-note {
    font-size: 0.82rem;
    color: var(--text-slate-muted);
    margin-bottom: 0.85rem;
    font-style: italic;
}

.td-rules-list {
    padding-left: 1.4rem;
    margin: 0;
}

.td-rules-item {
    font-size: 0.9rem;
    color: var(--text-slate-body);
    margin-bottom: 0.6rem;
    line-height: 1.5;
    padding-left: 0.25rem;
}

/* ── Amber Refund Notice ────────────────────────────────────────────────── */
.td-refund-notice-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
}

.td-refund-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.td-refund-icon {
    font-size: 1.15rem;
}

.td-refund-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #92400e;
}

.td-refund-text {
    font-size: 0.875rem;
    color: #78350f;
    line-height: 1.65;
}

/* ── Prize Cards ────────────────────────────────────────────────────────── */
.td-prize-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.td-prize-card {
    border-radius: var(--radius-md);
    padding: 1.1rem 0.75rem;
    text-align: center;
    border: 1px solid transparent;
}

.td-prize-gold {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}

.td-prize-silver {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #e2e8f0;
}

.td-prize-bronze {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fed7aa;
}

.td-prize-trophy {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.td-prize-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-slate-muted);
    margin-bottom: 0.4rem;
}

.td-prize-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-navy-title);
    line-height: 1.3;
}

/* ── Organizer Contact + Venue Side-by-Side ────────────────────────────── */
.td-contact-venue-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .td-contact-venue-row {
        flex-direction: row;
        align-items: stretch;
    }
    .td-contact-venue-card {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* ── Organizer Contact ──────────────────────────────────────────────────── */
.td-organizer-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.td-organizer-logo {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-light);
}

.td-organizer-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-navy-title);
    margin-bottom: 0.2rem;
}

.td-organizer-contact-detail {
    font-size: 0.8rem;
    color: var(--text-slate-muted);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* ── Map ────────────────────────────────────────────────────────────────── */
.td-venue-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-navy-title);
    margin-bottom: 0.75rem;
}

.td-map-placeholder {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.td-map-inner {
    position: relative;
    text-align: center;
}

.td-map-illustration-label {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--text-slate-muted);
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.td-map-svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 120px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.td-btn-primary {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--brand-red);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 0.6rem;
}

.td-btn-primary:hover:not(:disabled) {
    background: var(--brand-red-hover);
    color: #fff;
}

.td-btn-outline {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
    background: transparent;
    color: var(--brand-blue);
    border: 1.5px solid var(--brand-blue);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 0.5rem;
}

.td-btn-outline:hover:not(:disabled) {
    background: var(--brand-blue);
    color: #fff;
}

.td-btn-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Empty States ───────────────────────────────────────────────────────── */
.td-empty-state {
    text-align: center;
    padding: 2rem 1rem;
}

.td-empty-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.td-empty-notice {
    font-size: 0.875rem;
    color: var(--text-slate-muted);
    font-style: italic;
    margin: 0;
}

.td-empty-notice-small {
    font-size: 0.78rem;
    color: var(--text-slate-muted);
    font-style: italic;
}

/* ── Body Text ──────────────────────────────────────────────────────────── */
.td-body-text {
    font-size: 0.9rem;
    color: var(--text-slate-body);
    line-height: 1.7;
}

/* ── Sample Pill ────────────────────────────────────────────────────────── */
.td-sample-pill {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid #fde68a;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.td-sidebar-col { /* sticky on desktop */ }

.td-sidebar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-navy-title);
    margin-bottom: 0.85rem;
}

.td-reg-card { border-top: 3px solid var(--brand-red); }

.td-reg-helper {
    font-size: 0.78rem;
    color: var(--text-slate-muted);
    margin-bottom: 0.85rem;
}

.td-reg-closed-note {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: -0.3rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* ── Teams Sidebar ──────────────────────────────────────────────────────── */
.td-teams-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.td-teams-sidebar-header .td-sidebar-title {
    margin-bottom: 0;
}

.td-teams-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.td-team-sidebar-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.td-team-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.td-team-badge-sm {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
}

.td-team-sidebar-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.td-team-sidebar-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-navy-title);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-team-sidebar-sub {
    font-size: 0.7rem;
    color: var(--text-slate-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Teams Tab Full List ────────────────────────────────────────────────── */
.td-teams-list-full {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.td-team-row-full {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.td-team-name-full {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-navy-title);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.td-team-info-text {
    font-size: 0.78rem;
    color: var(--text-slate-muted);
}

/* ── Privacy Card ───────────────────────────────────────────────────────── */
.td-privacy-card {
    text-align: center;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
}

.td-privacy-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.td-privacy-text {
    font-size: 0.78rem;
    color: var(--text-slate-muted);
    line-height: 1.5;
}

/* ── Responsive: Tablet ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .td-layout {
        grid-template-columns: 1fr;
    }

    .td-sidebar-col {
        order: -1; /* sidebar above main on mobile */
    }

    .td-info-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .td-prize-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Responsive: Mobile ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .td-hero { min-height: 200px; }
    .td-hero-content { padding: 1.25rem 0.75rem; }

    .td-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .td-info-cards .td-info-card:last-child {
        grid-column: 1 / -1;
    }

    .td-prize-cards {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .td-tabs {
        flex-wrap: wrap;
    }

    .td-tab {
        flex: 1 1 40%;
        font-size: 0.8rem;
        padding: 0.55rem 0.5rem;
    }

    .td-card {
        padding: 1.1rem;
    }

    .td-map-svg {
        max-height: 100px;
    }
}

/* ==========================================================================
   Authentication, Player Registration & Member Profile Pages
   ========================================================================== */

.auth-page-wrap {
    padding: 2.5rem 0 4rem;
    background-color: var(--bg-page);
    min-height: calc(100vh - 280px);
}

.auth-narrow-container {
    max-width: 480px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.35rem;
}

.auth-instruction {
    font-size: 0.9rem;
    color: var(--text-slate-muted);
}

.auth-tabs {
    display: inline-flex;
    gap: 0.4rem;
    background: #e2e8f0;
    padding: 4px;
    border-radius: 9999px;
    margin-top: 1.25rem;
}

.auth-tab {
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s ease;
}

.auth-tab:hover {
    color: var(--brand-blue);
}

.auth-tab--active {
    background: #ffffff;
    color: var(--brand-blue);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.auth-switch-note {
    font-size: 0.86rem;
    color: var(--text-slate-muted);
    margin-top: 0.85rem;
}

.auth-link {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: underline;
}

.auth-link:hover {
    color: var(--brand-blue-hover);
}

/* Alert Boxes */
.form-alert-box {
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.form-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Registration Form Layout */
.reg-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 980px;
    margin: 0 auto;
}

.reg-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    padding: 1.75rem;
}

.reg-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.reg-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.reg-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0;
}

.reg-card-note {
    font-size: 0.8rem;
    color: var(--text-slate-muted);
    margin-left: auto;
}

/* Personal layout: Inputs on left, Photo box on right */
.reg-personal-layout {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 1.75rem;
    align-items: start;
}

.reg-personal-fields {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reg-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reg-photo-box {
    width: 100%;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    background: #f8fafc;
    transition: border-color 0.2s, background-color 0.2s;
}

.reg-photo-box:hover {
    border-color: var(--brand-blue);
    background: #f1f5f9;
}

.reg-photo-preview-wrap {
    width: 140px;
    height: 165px;
    margin: 0 auto 0.85rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
}

.reg-photo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reg-photo-placeholder {
    color: #94a3b8;
    text-align: center;
    padding: 0.5rem;
}

.reg-photo-placeholder-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 0.25rem;
}

.reg-photo-placeholder-text {
    font-size: 0.72rem;
    line-height: 1.3;
}

.reg-photo-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.btn-upload-photo {
    display: inline-block;
    background: var(--navy-dark);
    color: #ffffff;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-upload-photo:hover {
    background: var(--navy-dark-hover);
}

.reg-file-input {
    display: none;
}

.photo-selected-name {
    font-size: 0.74rem;
    color: var(--text-slate-muted);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reg-photo-reqs {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.45;
    text-align: left;
    width: 100%;
    background: #ffffff;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
}

/* Grid Rows */
.reg-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.reg-row-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

/* Form Groups & Inputs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.form-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.req-star {
    color: #dc2626;
    font-weight: 700;
}

.label-with-aside {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.85rem;
    pointer-events: none;
    font-size: 1rem;
    color: #64748b;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    padding-left: 2.5rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.field-error {
    color: #dc2626;
    font-size: 0.76rem;
    font-weight: 500;
    margin-top: 0.15rem;
}

.field-hint {
    color: #64748b;
    font-size: 0.74rem;
    margin-top: 0.15rem;
}

.password-field-wrap {
    position: relative;
}

.btn-toggle-pw {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.2rem;
    opacity: 0.65;
    transition: opacity 0.15s;
}

.btn-toggle-pw:hover,
.btn-toggle-pw.active {
    opacity: 1;
}

/* Calculated Age Banner */
.calculated-age-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.calculated-age-pill {
    font-weight: 700;
    background: #22c55e;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.78rem;
}

/* Checkbox & Declaration */
.checkbox-form-group {
    margin: 0.75rem 0 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #334155;
    user-select: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-blue);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.declaration-text-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 1.25rem;
}

.refund-notice-alert {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.84rem;
    color: #92400e;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.declaration-checkbox-group {
    background: #f1f5f9;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid #cbd5e1;
}

/* Form Action Buttons */
.reg-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.btn-reg-submit {
    background: #16a34a;
    color: #ffffff;
    padding: 0.85rem 2.25rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.15s, transform 0.1s;
}

.btn-reg-submit:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.btn-reg-clear {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s;
}

.btn-reg-clear:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Login Page Specifics */
.auth-login-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-full-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-auth-primary {
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-auth-primary:hover {
    background: var(--brand-blue-hover);
}

.login-footer-info {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
}

.text-center {
    text-align: center;
}

.auth-help-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    font-size: 0.78rem;
    color: #475569;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 1rem;
    line-height: 1.45;
}

/* ==========================================================================
   Member Profile Dashboard Layout
   ========================================================================== */

.profile-page-wrap {
    padding: 2.25rem 0 4rem;
    background-color: var(--bg-page);
    min-height: calc(100vh - 280px);
}

.profile-header-card {
    background: linear-gradient(135deg, #0b1e36 0%, #1e3a5f 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(11, 30, 54, 0.12);
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.profile-avatar-wrap {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    background: #1e293b;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: #1e293b;
    color: #94a3b8;
}

.profile-primary-meta {
    flex: 1;
    min-width: 250px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-user-name {
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.badge-role-pill {
    background: rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(147, 197, 253, 0.5);
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #93c5fd;
}

.badge-staff {
    background: rgba(220, 38, 38, 0.35);
    border-color: rgba(252, 165, 165, 0.5);
    color: #fca5a5;
}

.profile-subtitle {
    font-size: 0.92rem;
    color: #cbd5e1;
    margin-top: 0.3rem;
}

.profile-quick-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.quick-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.76rem;
    color: #e2e8f0;
}

.profile-header-actions {
    margin-left: auto;
}

.btn-logout-header {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s;
}

.btn-logout-header:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #ffffff;
}

/* 3-Pillar Status Overview */
.profile-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.status-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.status-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.status-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.status-badge-wrap {
    margin-bottom: 0.6rem;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-badge-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-badge-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-badge-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-badge-info {
    background: #e0f2fe;
    color: #075985;
    border: 1px solid #bae6fd;
}

.status-card-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* Privacy & Protection Banner */
.profile-privacy-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}

.profile-privacy-banner .banner-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.banner-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.25rem;
}

.banner-desc {
    font-size: 0.8rem;
    color: #1e40af;
    line-height: 1.45;
    margin: 0;
}

/* Profile 2-column Detail Sections */
.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.profile-col-stacked {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.profile-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.profile-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.profile-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.86rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed #f1f5f9;
}

.profile-meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    color: #64748b;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.meta-value {
    color: #0f172a;
    text-align: right;
    word-break: break-word;
}

.font-semibold {
    font-weight: 600;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.text-danger {
    color: #dc2626;
}

.age-pill {
    background: #dcfce7;
    color: #166534;
    padding: 1px 7px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.76rem;
}

/* Receipt Box */
.receipt-placeholder-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-sm);
}

.receipt-icon {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
    display: block;
}

.receipt-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
}

.receipt-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    margin-top: 0.35rem;
}

/* Declaration Review Card */
.declaration-review-card {
    margin-top: 1.5rem;
}

.declaration-meta-tag {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #166534;
    background: #f0fdf4;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid #bbf7d0;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.declaration-quote {
    background: #f8fafc;
    border-left: 4px solid var(--brand-blue);
    padding: 0.85rem 1rem;
    font-style: italic;
    font-size: 0.84rem;
    color: #334155;
    line-height: 1.6;
    margin: 0.75rem 0;
}

/* Nav auth buttons extra style */
.inline-auth-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.btn-nav-profile {
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    font-weight: 600;
}

.btn-nav-profile:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

.btn-nav-logout {
    background: transparent;
    color: #dc2626;
    border: 1px solid #fecaca;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.85rem;
    font-size: 0.84rem;
    transition: all 0.15s;
}

.btn-nav-logout:hover {
    background: #fef2f2;
    border-color: #dc2626;
}

.mobile-logout-form {
    width: 100%;
}

/* ==========================================================================
   Responsive: Registration & Profile Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
    .profile-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .reg-personal-layout {
        grid-template-columns: 1fr;
    }

    .reg-photo-col {
        order: -1; /* Place photo above fields on mobile if desired, or below */
        margin-bottom: 1rem;
    }

    .profile-status-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .profile-header-card {
        padding: 1.25rem;
    }

    .profile-header-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-header-actions {
        margin-left: 0;
        width: 100%;
    }

    .btn-logout-header {
        width: 100%;
        justify-content: center;
    }

    .profile-quick-tags {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .reg-row-2col,
    .reg-row-3col {
        grid-template-columns: 1fr;
    }

    .reg-card {
        padding: 1.25rem 1rem;
    }

    .auth-title {
        font-size: 1.35rem;
    }

    .auth-subtitle {
        font-size: 1.05rem;
    }

    .auth-tab {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }

    .reg-actions-row {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .btn-reg-submit,
    .btn-reg-clear {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Coming Soon Page & Profile Admin Notice Styles
   ========================================================================== */

.coming-soon-page-wrap {
    padding: 3.5rem 0 5rem;
    background-color: var(--bg-page);
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-container {
    max-width: 680px;
    margin: 0 auto;
}

.coming-soon-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem 2.25rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.coming-soon-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 2px solid #bfdbfe;
}

.cs-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.coming-soon-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin: 0 0 0.5rem;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.cs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    display: inline-block;
}

.coming-soon-desc {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 auto 1.75rem;
    max-width: 520px;
}

.coming-soon-status-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 2rem;
}

.cs-status-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.cs-status-icon {
    font-size: 1.2rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.cs-status-text {
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.5;
}

.cs-inline-link {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: underline;
}

.cs-inline-link:hover {
    color: var(--brand-blue-hover);
}

.coming-soon-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cs-btn {
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Profile Administrator / Non-Player Notice Card */
.profile-admin-notice-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-left: 5px solid var(--brand-blue);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.admin-notice-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.admin-notice-content {
    flex: 1;
}

.admin-notice-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 0.35rem;
}

.admin-notice-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.admin-notice-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 640px) {
    .coming-soon-card {
        padding: 2rem 1.25rem;
    }

    .coming-soon-title {
        font-size: 1.45rem;
    }

    .coming-soon-actions {
        flex-direction: column;
    }

    .cs-btn {
        width: 100%;
        justify-content: center;
    }

    .profile-admin-notice-card {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-notice-actions {
        flex-direction: column;
    }

    .admin-notice-actions a {
        width: 100%;
        justify-content: center;
    }
}
