/* ==========================================================================
   Tyagi Cricket Club — brand theme (public site + shared components)
   ========================================================================== */
:root {
  --navy-900: #071429;
  --navy-800: #0a1a36;
  --navy-700: #14305e;
  --navy-600: #1c4a7a;
  --green-600: #c9a03d;
  --green-700: #8a6416;
  --green-50: #f8f0dc;
  --red-600: #d62828;
  --red-50: #fdecec;
  --ink: #16213a;
  --muted: #64708a;
  --line: #e3e8f0;
  --surface: #ffffff;
  --bg: #f4f6fa;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 54, .06), 0 2px 8px rgba(10, 26, 54, .05);
  --shadow: 0 6px 24px rgba(10, 26, 54, .09);
  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --bs-primary: var(--navy-700);
  --bs-primary-rgb: 20, 48, 94;
  --bs-success: #1f9d55;
  --bs-success-rgb: 31, 157, 85;
  --bs-danger: var(--red-600);
  --bs-danger-rgb: 214, 40, 40;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-border-radius: 10px;
  --bs-link-color: var(--navy-700);
  --bs-link-hover-color: var(--green-700);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: .97rem; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .display-font { font-family: var(--font-head); font-weight: 800; letter-spacing: .01em; text-transform: none; }
h5, h6 { font-weight: 700; }
a { text-decoration: none; }
img { max-width: 100%; }
.text-muted { color: var(--muted) !important; }
.fw-800 { font-weight: 800; }
.text-green { color: var(--green-600) !important; }
.text-navy { color: var(--navy-700) !important; }
.bg-navy { background: var(--navy-800) !important; }

/* Buttons */
.btn { font-weight: 600; border-radius: 10px; padding: .55rem 1.1rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .35rem .75rem; border-radius: 8px; }
.btn-lg { padding: .8rem 1.6rem; border-radius: 12px; }
.btn-primary { --bs-btn-bg: var(--navy-700); --bs-btn-border-color: var(--navy-700); --bs-btn-hover-bg: var(--navy-800); --bs-btn-hover-border-color: var(--navy-800); --bs-btn-active-bg: var(--navy-900); }
.btn-success { --bs-btn-color: var(--navy-900); --bs-btn-bg: var(--green-600); --bs-btn-border-color: var(--green-600); --bs-btn-hover-color: var(--navy-900); --bs-btn-hover-bg: #d9b558; --bs-btn-hover-border-color: #d9b558; --bs-btn-active-color: var(--navy-900); --bs-btn-active-bg: #b8902f; --bs-btn-disabled-color: var(--navy-900); --bs-btn-disabled-bg: var(--green-600); }
.btn-danger { --bs-btn-bg: var(--red-600); --bs-btn-border-color: var(--red-600); }
.btn-outline-primary { --bs-btn-color: var(--navy-700); --bs-btn-border-color: var(--navy-700); --bs-btn-hover-bg: var(--navy-700); --bs-btn-hover-border-color: var(--navy-700); }
.btn-light-soft { background: #eef2f8; color: var(--navy-700); border: 0; }
.btn-light-soft:hover { background: #e2e8f2; color: var(--navy-800); }
.btn-cta { background: var(--red-600); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(214, 40, 40, .35); }
.btn-cta:hover { background: #b91f1f; color: #fff; transform: translateY(-1px); }

/* Forms */
.form-control, .form-select { border-radius: 10px; border-color: #d6dde8; padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--green-600); box-shadow: 0 0 0 .2rem rgba(201, 160, 61, .15); }
.form-label { font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: #2a3550; }
.form-label .req { color: var(--red-600); }
.form-text { font-size: .8rem; }
.form-check-input:checked { background-color: var(--green-600); border-color: var(--green-600); }

/* Cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-header { background: transparent; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; font-weight: 700; }
.card-body { padding: 1.25rem; }
.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Soft badges */
.badge { font-weight: 600; padding: .4em .7em; border-radius: 999px; font-size: .74rem; letter-spacing: .01em; }
.badge-soft-success { background: var(--green-50); color: var(--green-700); }
.badge-soft-danger { background: var(--red-50); color: #b11d1d; }
.badge-soft-warning { background: #fff5dc; color: #8a6100; }
.badge-soft-info { background: #e5f2fd; color: #0f5a99; }
.badge-soft-primary { background: #e7edf7; color: var(--navy-700); }
.badge-soft-secondary { background: #eef1f5; color: #4f5b72; }
.badge-soft-dark { background: #e4e6ea; color: #23272f; }

/* Alerts / toasts */
.alert { border: 0; border-radius: 12px; }
.toast-stack { position: fixed; top: 1rem; right: 1rem; z-index: 1090; display: flex; flex-direction: column; gap: .5rem; max-width: min(380px, calc(100vw - 2rem)); }
.toast-msg { background: #fff; border-left: 4px solid var(--green-600); box-shadow: var(--shadow); border-radius: 10px; padding: .8rem 1rem; display: flex; gap: .6rem; align-items: flex-start; animation: toastIn .25s ease; }
.toast-msg.error, .toast-msg.danger { border-left-color: var(--red-600); }
.toast-msg.warning { border-left-color: #e0a100; }
.toast-msg.info { border-left-color: var(--navy-600); }
.toast-msg .bi { font-size: 1.15rem; line-height: 1.2; }
.toast-msg.success .bi { color: var(--green-600); }
.toast-msg.error .bi, .toast-msg.danger .bi { color: var(--red-600); }
.toast-msg.warning .bi { color: #e0a100; }
.toast-msg .close-x { margin-left: auto; background: none; border: 0; color: var(--muted); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Loading overlay */
.loading-overlay { position: fixed; inset: 0; background: rgba(7, 20, 41, .35); display: none; align-items: center; justify-content: center; z-index: 2000; backdrop-filter: blur(2px); }
.loading-overlay.show { display: flex; }
.ball-loader { width: 46px; height: 46px; border-radius: 50%; background: var(--red-600); position: relative; animation: spin .9s linear infinite; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.ball-loader::before, .ball-loader::after { content: ''; position: absolute; top: 4px; bottom: 4px; width: 2px; border-left: 2px dashed rgba(255, 255, 255, .85); }
.ball-loader::before { left: 15px; } .ball-loader::after { right: 15px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Empty states */
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state .empty-icon { width: 72px; height: 72px; border-radius: 50%; background: #eef2f8; color: var(--navy-600); display: inline-flex; align-items: center; justify-content: center; font-size: 1.9rem; margin-bottom: 1rem; }

/* ---------------------------------------------------------------- navbar */
.site-nav { background: rgba(10, 26, 54, .97); backdrop-filter: saturate(140%) blur(8px); box-shadow: 0 2px 16px rgba(0, 0, 0, .18); }
.site-nav .navbar-brand { display: flex; align-items: center; gap: .6rem; color: #fff; }
.site-nav .navbar-brand img { height: 46px; width: auto; }
.brand-text { line-height: 1; }
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .06em; font-weight: 800; }
.brand-text small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #e6c77a; }
.site-nav .nav-link { color: rgba(255, 255, 255, .82); font-weight: 600; padding: .5rem .85rem !important; border-radius: 8px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--green-600); }
.site-nav .navbar-toggler { border: 0; color: #fff; }
.site-nav .navbar-toggler:focus { box-shadow: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; min-height: 78vh; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(100deg, rgba(7, 20, 41, .92) 10%, rgba(10, 26, 54, .6) 55%, rgba(10, 26, 54, .2)), url('../images/hero.svg') center/cover no-repeat; }
.hero-photo { background-size: cover; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(201, 160, 61, .18); color: #e6c77a; border: 1px solid rgba(201, 160, 61, .45); padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; margin: 1rem 0; text-transform: uppercase; }
.hero h1 span { color: var(--green-600); }
.hero p.lead { color: rgba(255, 255, 255, .85); max-width: 560px; }
.page-hero { background: linear-gradient(110deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 40px solid rgba(201, 160, 61, .15); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin: 0; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); margin: .5rem 0 0; }
.page-hero .breadcrumb a { color: #e6c77a; }
.page-hero .breadcrumb-item.active { color: rgba(255, 255, 255, .75); }

/* ---------------------------------------------------------------- sections */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title .kicker { color: var(--green-600); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; }
.section-title h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); text-transform: uppercase; margin: .3rem 0 .5rem; color: var(--navy-800); }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.title-bar { width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green-600), var(--red-600)); margin: .7rem auto 0; }

.feature-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); height: 100%; }
.feature-icon { width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--green-50); color: var(--green-700); margin-bottom: 1rem; }
.feature-icon.navy { background: #e7edf7; color: var(--navy-700); }
.feature-icon.red { background: var(--red-50); color: var(--red-600); }

.stats-band { background: var(--navy-800); color: #fff; position: relative; margin-top: -60px; border-radius: 18px; box-shadow: var(--shadow); z-index: 3; }
.stat-item { padding: 1.6rem 1rem; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid rgba(255, 255, 255, .1); }
.stat-item .num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-item .lbl { color: #9fb3d4; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .4rem; }

.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2rem; height: 100%; position: relative; }
.plan-card .price { font-family: var(--font-head); font-size: 2.7rem; font-weight: 800; color: var(--navy-800); }
.plan-card .price small { font-size: 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.plan-card.featured { border: 2px solid var(--green-600); box-shadow: var(--shadow); }

.cta-band { background: linear-gradient(110deg, var(--green-700), var(--green-600)); color: #fff; border-radius: 20px; padding: 2.5rem; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-tile { position: relative; border-radius: 14px; overflow: hidden; background: #dfe5ee; aspect-ratio: 4 / 3; cursor: zoom-in; display: block; border: 0; padding: 0; width: 100%; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile .overlay { position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .75rem; background: linear-gradient(transparent, rgba(7, 20, 41, .88)); color: #fff; text-align: left; }
.gallery-tile .overlay .cap { font-weight: 600; font-size: .9rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-tile .overlay small { color: rgba(255, 255, 255, .7); font-size: .74rem; }
.gallery-tile .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #fff; text-shadow: 0 4px 16px rgba(0, 0, 0, .5); }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter-pills a { padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; }
.filter-pills a.active, .filter-pills a:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

.lightbox { position: fixed; inset: 0; background: rgba(4, 10, 22, .94); z-index: 2100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.show { display: flex; }
.lightbox-inner { max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; max-width: 100%; border-radius: 10px; }
.lightbox .ratio { max-width: 1000px; margin: 0 auto; }
.lightbox-caption { color: #fff; margin-top: .9rem; }
.lightbox-caption small { color: rgba(255, 255, 255, .6); }
.lightbox-btn { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; }
.lightbox-btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* member directory */
.member-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1rem; text-align: center; height: 100%; }
.member-card .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--green-600); margin-bottom: .8rem; }
.member-card .code { font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.role-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; color: var(--navy-700); background: #e7edf7; border-radius: 999px; padding: .25rem .65rem; }

/* contact */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.map-frame { border: 0; width: 100%; height: 360px; border-radius: 16px; }

/* footer */
.site-footer { background: var(--navy-900); color: #b9c4d8; padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer h6 { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 1rem; }
.site-footer a { color: #b9c4d8; }
.site-footer a:hover { color: #fff; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; margin-right: .4rem; }
.site-footer .social a:hover { background: var(--green-600); }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); z-index: 1050; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* registration */
.form-section { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 1.4rem; }
.form-section-title { font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; color: var(--navy-700); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.photo-picker { display: flex; align-items: center; gap: 1rem; }
.photo-picker img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--line); }
.success-card { max-width: 620px; margin: 0 auto; text-align: center; }
.success-card .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--green-50); color: var(--green-600); font-size: 2.6rem; display: inline-flex; align-items: center; justify-content: center; }
.member-id-box { font-family: var(--font-head); font-size: 2.4rem; letter-spacing: .08em; color: var(--navy-800); background: #eef2f8; border: 2px dashed var(--navy-600); border-radius: 14px; padding: .6rem 1rem; display: inline-block; }

/* tables */
.table { --bs-table-hover-bg: #f6f8fc; margin-bottom: 0; }
.table > thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; background: #f8fafc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { vertical-align: middle; }
.table-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

/* auth */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem;
  background: linear-gradient(120deg, rgba(7, 20, 41, .94), rgba(20, 48, 94, .85)), url('../images/hero.svg') center/cover; }
.auth-card { width: 100%; max-width: 430px; background: #fff; border-radius: 20px; padding: 2.2rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.auth-card .logo { height: 72px; }

/* print */
@media print {
  .no-print, .site-nav, .site-footer, .wa-float, .admin-sidebar, .admin-topbar, .toast-stack { display: none !important; }
  body { background: #fff !important; }
  .card { box-shadow: none !important; }
  .admin-main { margin: 0 !important; padding: 0 !important; }
}

@media (max-width: 767.98px) {
  .section { padding: 3rem 0; }
  .hero { min-height: 70vh; padding: 5rem 0 6rem; }
  .stat-item + .stat-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .stats-band { margin-top: -40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .auth-card { padding: 1.6rem; }
  .cta-band { padding: 1.6rem; }
}

/* Gold brand accents (matches club crest) */
.cta-band { background: linear-gradient(110deg, var(--navy-800), var(--navy-600)); border-bottom: 4px solid var(--green-600); }
.cta-band .btn-light.text-success { color: var(--navy-800) !important; }
.title-bar { background: linear-gradient(90deg, var(--green-600), #e6c77a); }
.text-green { color: #a67c1f !important; }
.site-nav { border-bottom: 2px solid var(--green-600); }
.member-card .avatar { box-shadow: 0 0 0 3px var(--green-600); }

/* ==========================================================================
   Cricket theme: photo hero, scoreboard, pitch textures, role cards
   ========================================================================== */
.hero { min-height: 88vh; background: linear-gradient(100deg, rgba(7,20,41,.94) 15%, rgba(7,20,41,.6) 55%, rgba(7,20,41,.25)), url('../images/cricket/stadium-night.jpg') center/cover no-repeat; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero h1 { text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.hero h1 span { color: var(--green-600); }
.hero .eyebrow { background: rgba(201,160,61,.16); color: #f1d993; border-color: rgba(201,160,61,.5); }
.hero-crest { width: min(360px, 80%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.55)); animation: crestIn .8s ease both; }
@keyframes crestIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; color: rgba(255,255,255,.8); font-size: .9rem; }
.hero-meta i { color: var(--green-600); margin-right: .35rem; }

.page-hero { background: linear-gradient(110deg, rgba(7,20,41,.95), rgba(20,48,94,.78)), url('../images/cricket/stadium-dusk.jpg') center 70%/cover no-repeat; padding: 4.5rem 0 4rem; border-bottom: 4px solid var(--green-600); }
.page-hero::after { border-color: rgba(201,160,61,.18); }
.auth-wrap { background: linear-gradient(120deg, rgba(7,20,41,.93), rgba(20,48,94,.75)), url('../images/cricket/stadium-night.jpg') center/cover; }

/* Scoreboard stats */
.scoreboard { background: #0b1324; border: 3px solid #1d2a44; border-radius: 18px; box-shadow: 0 20px 50px rgba(7,20,41,.35), inset 0 0 0 1px rgba(255,255,255,.04); position: relative; z-index: 3; margin-top: -70px; overflow: hidden; }
.scoreboard-head { background: linear-gradient(90deg, var(--navy-700), var(--navy-800)); color: #f1d993; font-family: var(--font-head); letter-spacing: .25em; text-transform: uppercase; font-size: .85rem; padding: .55rem 1.2rem; display: flex; justify-content: space-between; border-bottom: 2px solid var(--green-600); }
.scoreboard-head .live { color: #fff; }
.scoreboard-head .live::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); margin-right: .45rem; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.score-cell { padding: 1.4rem 1rem; text-align: center; }
.score-cell + .score-cell { border-left: 1px dashed rgba(255,255,255,.12); }
.score-cell .num { font-family: 'Courier New', monospace; font-weight: 700; font-size: 2.6rem; color: #ffd75e; text-shadow: 0 0 14px rgba(255,215,94,.45); letter-spacing: .08em; line-height: 1; }
.score-cell .lbl { color: #8fa3c7; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-top: .55rem; }

/* Photo split blocks */
.photo-stack { position: relative; padding: 0 0 3rem 3rem; }
.photo-stack .main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.photo-stack .inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow); }
.photo-stack .badge-ball { position: absolute; right: -10px; top: -14px; background: var(--red-600); color: #fff; border-radius: 50%; width: 92px; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); line-height: 1; box-shadow: 0 10px 24px rgba(214,40,40,.4); border: 3px dashed rgba(255,255,255,.7); text-align: center; font-size: .8rem; letter-spacing: .08em; }
.photo-stack .badge-ball strong { font-size: 1.5rem; }

/* Role cards */
.role-card { position: relative; border-radius: 18px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; background: var(--navy-800) center/cover no-repeat; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.role-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,41,.05) 30%, rgba(7,20,41,.92)); }
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: #fff; }
.role-card .body { position: relative; padding: 1.4rem; }
.role-card h4 { text-transform: uppercase; font-size: 1.7rem; margin: .2rem 0 .3rem; }
.role-card .num-tag { font-family: var(--font-head); color: var(--green-600); letter-spacing: .2em; font-size: .8rem; }
.role-card p { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0; }

/* Pitch band */
.pitch-band { background: linear-gradient(rgba(10,26,54,.88), rgba(10,26,54,.88)), url('../images/cricket/ball-grass.jpg') center/cover fixed; color: #fff; }
.pitch-band .section-title h2 { color: #fff; }
.pitch-band .section-title p { color: rgba(255,255,255,.75); }
.pitch-band .plan-card { background: rgba(255,255,255,.97); }
.stitch-divider { height: 14px; background: repeating-linear-gradient(90deg, var(--red-600) 0 18px, transparent 18px 26px); opacity: .85; }

.value-strip { background: var(--navy-900); color: #f1d993; overflow: hidden; white-space: nowrap; font-family: var(--font-head); letter-spacing: .25em; text-transform: uppercase; font-size: .95rem; padding: .8rem 0; border-top: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); }
.value-strip .track { display: inline-block; animation: ticker 40s linear infinite; }
.value-strip span { margin: 0 2rem; }
.value-strip i { color: var(--red-600); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .value-strip .track, .hero-crest, .scoreboard-head .live::before { animation: none; } }

.side-photo { border-radius: 18px; min-height: 100%; background: center/cover no-repeat; position: relative; overflow: hidden; }
.side-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,20,41,.85)); }
.side-photo .cap { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; z-index: 1; color: #fff; }

@media (max-width: 767.98px) {
  .score-cell + .score-cell { border-left: 0; border-top: 1px dashed rgba(255,255,255,.12); }
  .scoreboard { margin-top: -40px; }
  .photo-stack { padding: 0 0 2rem 1.5rem; }
  .photo-stack .badge-ball { width: 72px; height: 72px; right: 0; }
  .role-card { min-height: 260px; }
  .pitch-band { background-attachment: scroll; }
}
