:root {
    --bg-light: #f4f6f9;
    --card-light: #ffffff;
    --text-main: #0a0a0a;
    --text-muted: #6e6e73;
    
    /* SOLID 4K CRIMSON RED */
    --accent-red: #D90429; 
    --red-glow: rgba(217, 4, 41, 0.25);
    
    --border-radius: 20px;
    --header-height: 165px; 
    --nav-height: 95px;
}

/* SMOOTH SCROLLING */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }

body { background-color: var(--bg-light); color: var(--text-main); max-width: 500px; margin: 0 auto; position: relative; padding-top: var(--header-height); padding-bottom: var(--nav-height); min-height: 100vh; overflow-x: hidden; }
body.modal-open { overflow: hidden; }

/* HEADER */
.app-header { position: fixed; top: 0; width: 100%; max-width: 500px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.04); padding: 15px 15px 5px; transform: translateZ(0); box-shadow: 0 4px 30px rgba(0,0,0,0.04); }
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; height: 90px; }

/* Crest styling */
.brand-container { display: flex; align-items: center; }
.brand-logo { width: auto; height: 85px; object-fit: contain; filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.15)); margin-left: -10px; }

/* Scaled FA Badge */
.header-badges { display: flex; flex-direction: column; align-items: flex-end; margin-left: auto;}
.badge-eng { width: auto; height: 26px; object-fit: contain; filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.08)); }

/* 🌟 SUB-NAV PILLS (FIXED THE LAYOUT BUG) 🌟 */
.filter-container { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; padding-top: 5px; width: 100%; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
.filter-container::-webkit-scrollbar { display: none; }
.anchor-btn { background: #ffffff; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 4px 10px rgba(0,0,0,0.03); padding: 10px 16px; border-radius: 20px; font-size: 11px; font-weight: 800; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s ease; white-space: nowrap; text-decoration: none; }
.anchor-btn i { font-size: 12px; opacity: 0.6; color: var(--text-main); }

/* Solid Red Active State */
.anchor-btn:active, .anchor-btn.active-tab { background: var(--accent-red); color: #fff; box-shadow: 0 6px 16px var(--red-glow); transform: translateY(-2px); border-color: var(--accent-red); }
.anchor-btn:active i, .anchor-btn.active-tab i { color: #fff; opacity: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));}

/* MAIN CONTENT & PERFECTED SCROLL PADDING */
#main-content { padding: 25px 15px 20px; }
.section-block { margin-bottom: 40px; scroll-margin-top: 180px; }

/* NIKE-STYLE HEADINGS */
.super-title { font-size: 42px; font-weight: 900; line-height: 1.05; letter-spacing: -1.5px; text-transform: uppercase; margin-bottom: 20px; color: #000; }
.section-title { font-size: 22px; font-weight: 900; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; color: var(--text-main); letter-spacing: -0.5px;}

/* HERO BANNER */
.hero-banner { position: relative; border-radius: 24px; overflow: hidden; height: 340px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); margin-bottom: 25px; background: #000; border: 1px solid rgba(0,0,0,0.05);}
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.hero-title { font-size: 52px; font-weight: 900; color: #fff; line-height: 0.9; letter-spacing: -2px; margin-bottom: 8px; font-style: italic; text-transform: uppercase; text-shadow: 0 4px 12px rgba(0,0,0,0.4);}
.hero-sub { font-size: 14px; color: var(--accent-red); font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }

/* COPY / INFO BLOCKS */
.info-card { background: var(--card-light); padding: 24px; border-radius: 24px; margin-bottom: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.03); transition: transform 0.2s;}
.punchy-text { font-size: 20px; font-weight: 800; line-height: 1.4; color: #000; margin-bottom: 14px; letter-spacing: -0.5px;}
.info-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 15px; font-weight: 600;}
.info-card p:last-child { margin-bottom: 0; }
.info-card strong { color: var(--accent-red); font-weight: 800; }

/* 🌟 DEDICATED SHOWCASE SPONSOR BLOCKS 🌟 */
.sponsor-block { background: var(--card-light); border-radius: 20px; padding: 30px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.03); margin-bottom: 20px; text-align: left; }
.sponsor-block h3 { font-size: 22px; font-weight: 900; color: #000; text-transform: uppercase; margin-bottom: 8px; letter-spacing: -0.5px;}
.sponsor-block p { font-size: 14px; color: var(--text-muted); font-weight: 600; line-height: 1.6; margin-bottom: 20px;}
.sponsor-link { display: inline-flex; align-items: center; gap: 8px; background: #f0f2f5; color: var(--text-main); font-weight: 900; font-size: 13px; text-decoration: none; padding: 12px 18px; border-radius: 12px; transition: all 0.2s;}
.sponsor-link:active { transform: scale(0.97); background: #e5e5ea;}

.global-sponsor-footer { margin-top: 10px; margin-bottom: 20px; text-align: center; padding: 25px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.global-sponsor-footer span { font-size: 11px; font-weight: 900; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; display: block; margin-bottom: 15px; }
.footer-logo-grid { display: flex; justify-content: center; align-items: center; gap: 20px; opacity: 0.5; filter: grayscale(100%); }
.footer-sponsor { font-size: 13px; font-weight: 900; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.5px; }

/* CONTACT DIRECTORY GRID */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px;}
.contact-card { background: var(--card-light); padding: 24px; border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; align-items: flex-start; }
.contact-card i.main-icon { font-size: 28px; color: var(--accent-red); margin-bottom: 12px; }
.contact-card h4 { font-size: 16px; font-weight: 900; margin-bottom: 4px; color: var(--text-main); }
.contact-card p { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 15px; line-height: 1.4;}
.contact-card a, .contact-card button { background: #f0f2f5; color: var(--text-main); text-decoration: none; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 900; border: none; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;}
.contact-card a:active, .contact-card button:active { background: #e5e5ea; transform: scale(0.97); }

/* BOLD FRIENDLIES / OPPOSITION CARD */
.friendlies-card { background: linear-gradient(135deg, #111, #222); color: white; padding: 35px 24px; border-radius: 24px; text-align: left; box-shadow: 0 15px 35px rgba(0,0,0,0.25); position: relative; overflow: hidden; margin-bottom: 30px; border: 1px solid rgba(255,255,255,0.05);}
.friendlies-card i.bg-icon { position: absolute; font-size: 180px; color: rgba(255,255,255,0.02); top: -20px; right: -20px; transform: rotate(-15deg); pointer-events: none;}
.friendlies-card h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; text-transform: uppercase; letter-spacing: -1px; line-height: 1.05; color: var(--accent-red); position: relative;}
.friendlies-card p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 24px; font-weight: 600; line-height: 1.5; position: relative;}

/* SOLID RED JOIN GRABBER */
.join-grabber { background: var(--accent-red); color: white; padding: 40px 24px; border-radius: 24px; text-align: center; box-shadow: 0 15px 35px var(--red-glow); position: relative; overflow: hidden; margin-bottom: 30px;}
.join-grabber i.bg-icon { position: absolute; font-size: 180px; color: rgba(255,255,255,0.1); top: -20px; right: -20px; transform: rotate(-15deg); pointer-events: none;}
.join-grabber h3 { font-size: 34px; font-weight: 900; margin-bottom: 12px; text-transform: uppercase; letter-spacing: -1.5px; line-height: 1.05; position: relative; text-shadow: 0 4px 12px rgba(0,0,0,0.15);}
.join-grabber p { font-size: 15px; color: rgba(255,255,255,0.95); margin-bottom: 24px; font-weight: 700; line-height: 1.5; position: relative;}
.join-btn { background: #fff; color: var(--accent-red); padding: 18px 24px; border-radius: 16px; font-weight: 900; font-size: 16px; border: none; cursor: pointer; width: 100%; transition: transform 0.2s; position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; box-shadow: 0 8px 20px rgba(0,0,0,0.15);}
.join-btn:active { transform: scale(0.97); }

/* BEAUTIFUL COMING SOON CARDS */
.coming-soon-card { background: var(--card-light); border-radius: 24px; padding: 45px 20px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.03); border: 2px dashed rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 20px; }
.coming-soon-card i { font-size: 40px; color: #d1d1d6; margin-bottom: 18px; }
.coming-soon-card h3 { font-size: 18px; font-weight: 900; color: var(--text-main); margin-bottom: 8px; text-transform: uppercase; letter-spacing: -0.5px;}
.coming-soon-card p { font-size: 14px; color: var(--text-muted); font-weight: 600; line-height: 1.5; }

/* MAPS */
.map-container { width: 100%; border-radius: 20px; overflow: hidden; height: 280px; background: #e5e5ea; box-shadow: 0 8px 24px rgba(0,0,0,0.05);}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* DYNAMIC FORM & MODAL UI */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 9999; display: flex; justify-content: center; align-items: flex-end; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: #fff; width: 100%; max-width: 500px; border-top-left-radius: 30px; border-top-right-radius: 30px; padding: 30px 24px 40px; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.1, 0.8, 0.2, 1); max-height: 90vh; overflow-y: auto; box-shadow: 0 -10px 40px rgba(0,0,0,0.2);}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-header h2 { font-size: 24px; font-weight: 900; letter-spacing: -1px; display: flex; align-items: center; gap: 10px;}
.close-btn { background: #f0f2f5; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--text-main); transition: background 0.2s;}
.close-btn:active { background: #e5e5ea; }

.form-step { display: none; animation: fadeIn 0.4s cubic-bezier(0.1, 0.8, 0.2, 1); }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.step-desc { color: var(--text-muted); font-size: 15px; font-weight: 600; margin-bottom: 25px; line-height: 1.5; }
.form-group { margin-bottom: 24px; }
.form-group label { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 900; color: #000; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; width: 100%;}
.form-group label i { color: var(--accent-red); font-size: 15px;}
.form-group input { width: 100%; padding: 16px; border-radius: 16px; border: 2px solid #f0f2f5; background: #f8f9fa; font-size: 16px; font-weight: 600; outline: none; transition: all 0.2s; -webkit-appearance: none;}
.form-group input:focus { border-color: var(--accent-red); background: #fff; box-shadow: 0 4px 12px var(--red-glow);}
.form-micro-text { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-top: 6px; }

/* Form Tooltip & Hidden Sections */
.tooltip-icon { font-size: 11px; color: var(--accent-red); cursor: pointer; text-transform: none; font-weight: 800; background: rgba(217, 4, 41, 0.1); padding: 4px 8px; border-radius: 12px;}
.info-box { background: #f8f9fa; border-left: 3px solid var(--accent-red); padding: 12px 14px; font-size: 13px; color: var(--text-muted); font-weight: 600; border-radius: 4px 12px 12px 4px; margin-bottom: 16px; display: none; line-height: 1.4;}
.info-box.visible { display: block; animation: fadeIn 0.2s; }
.conditional-section { overflow: hidden; max-height: 500px; transition: max-height 0.3s ease, opacity 0.3s ease; opacity: 1; margin-top: 15px;}
.conditional-section.hidden { max-height: 0; opacity: 0; pointer-events: none; margin: 0; }

.btn-group { display: flex; gap: 10px; }
.toggle-btn { flex: 1; padding: 16px; border-radius: 16px; border: 2px solid #f0f2f5; background: #f8f9fa; color: var(--text-muted); font-weight: 800; font-size: 15px; cursor: pointer; transition: all 0.2s; }
.toggle-btn.active { background: var(--accent-red); border-color: transparent; color: #fff; box-shadow: 0 6px 15px var(--red-glow);}

.grid-select { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-btn { background: #f8f9fa; border: 2px solid #f0f2f5; border-radius: 16px; padding: 20px 10px; text-align: center; font-weight: 900; font-size: 15px; color: var(--text-muted); cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 8px;}
.grid-btn i { font-size: 24px; }
.grid-btn.active { background: var(--accent-red); color: #fff; border-color: transparent; box-shadow: 0 6px 16px var(--red-glow); }

.step-nav-buttons { display: flex; gap: 12px; }
.next-btn { flex: 2; }
.back-btn { flex: 1; background: #f0f2f5; color: #000; border: none; border-radius: 12px; font-weight: 900; cursor: pointer; transition: transform 0.2s;}
.back-btn:active { transform: scale(0.95); }

.save-btn { width: 100%; background: #000; color: white; border: none; padding: 18px; border-radius: 16px; font-size: 16px; font-weight: 900; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: transform 0.2s; box-shadow: 0 8px 24px rgba(0,0,0,0.15);}
.save-btn:active { transform: scale(0.97); }
.save-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none;}

/* WhatsApp Bypass Button */
.whatsapp-skip { margin-top: 30px; border-top: 1px solid #f0f2f5; padding-top: 25px; text-align: center; }
.whatsapp-skip span { display: block; font-size: 12px; color: var(--text-muted); font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; padding: 16px 20px; border-radius: 16px; font-weight: 900; font-size: 15px; text-decoration: none; width: 100%; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3); transition: transform 0.2s; }
.wa-btn:active { transform: scale(0.97); }

/* FLOATING NAV */
.floating-bottom-nav { position: fixed; bottom: 18px; left: 0; width: 100%; display: flex; justify-content: center; z-index: 1000; }
.nav-container { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); display: flex; justify-content: space-around; align-items: center; padding: 6px 10px; border-radius: 35px; box-shadow: 0 10px 40px rgba(0,0,0,0.12); width: 92%; max-width: 420px; border: 1px solid rgba(0,0,0,0.08); }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 20px; border-radius: 24px; color: var(--text-muted); text-decoration: none; font-size: 11px; font-weight: 800; transition: all 0.25s ease; width: 31%;}
.nav-icon-wrapper { font-size: 18px; }
.nav-item.active { background: var(--accent-red); color: #ffffff; box-shadow: 0 4px 15px var(--red-glow);}