/* --- VARIABLES : SUNSET BETTING APP --- */
:root {
    --bg-base: #0D0F16;
    --bg-panel: #141722;
    --bg-card: #1A1D27;
    
    --accent-orange: #FF512F;
    --accent-pink: #DD2476;
    --success-green: #00E676;
    --danger-red: #FF3D71;
    
    --text-main: #F2F4F8;
    --text-muted: #9BA1B0;
    --border-light: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --radius-lg: 24px;
    --radius-md: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: #FFF; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; }
p { margin-bottom: 16px; color: var(--text-muted); font-size: 1.05rem; }
.lead { font-size: 1.2rem; color: var(--text-main); font-weight: 500; }

.gradient-text {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--success-green); }
.text-red { color: var(--danger-red); }
.fw-bold { font-weight: 700; }
.small { font-size: 0.95rem; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }

/* --- LAYOUT UTILS --- */
.section-pad { padding: 100px 0; }
.bg-panel { background-color: var(--bg-panel); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.direction-rtl { direction: rtl; }
.direction-rtl > * { direction: ltr; }

/* --- HEADER & PROGRESS BAR --- */
.progress-container { width: 100%; height: 4px; background: rgba(0,0,0,0.5); position: absolute; top: 0; left: 0; z-index: 1001; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink)); width: 0%; transition: width 0.1s; }

.app-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 0; border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.app-header.scrolled {
    background: rgba(13, 15, 22, 0.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.brand img { height: 38px; }
.nav-menu { display: flex; gap: 24px; }
.nav-menu a { font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.nav-menu a:hover { color: var(--accent-orange); }

/* --- BUTTONS --- */
.btn-gradient-outline {
    padding: 10px 24px; border-radius: 30px; font-family: var(--font-heading); font-weight: 700;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
    background: linear-gradient(var(--bg-base), var(--bg-base)) padding-box,
                linear-gradient(90deg, var(--accent-orange), var(--accent-pink)) border-box;
    border: 2px solid transparent; color: #FFF; transition: var(--transition);
}
.btn-gradient-outline:hover { background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink)) padding-box; box-shadow: 0 8px 24px rgba(255, 81, 47, 0.3); }

/* --- HERO SECTION --- */
.hero { padding: 160px 0 80px; position: relative; overflow: hidden; }
.tag { display: inline-block; padding: 6px 16px; background: rgba(255, 81, 47, 0.1); border: 1px solid rgba(255, 81, 47, 0.3); color: var(--accent-orange); border-radius: 20px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; }
.disclaimer-box { background: rgba(255, 255, 255, 0.03); border-left: 3px solid var(--accent-orange); padding: 16px; border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 0.9rem; margin-top: 24px; }
.hero-image { position: relative; }
.image-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; background: var(--accent-pink); filter: blur(100px); opacity: 0.15; z-index: -1; }
.hero-image img { border-radius: var(--radius-lg); border: 1px solid var(--border-light); position: relative; z-index: 1; }
.image-caption { text-align: center; font-size: 0.85rem; font-style: italic; margin-top: 16px; }

/* --- UI CARDS & BLOCKS --- */
.app-card { background: var(--bg-card); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border-light); }
.border-green { border-top: 3px solid var(--success-green); }
.border-red { border-top: 3px solid var(--danger-red); }
.danger-card { border: 1px dashed var(--danger-red); background: rgba(255, 61, 113, 0.02); }

.icon-title { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.icon-title h2 { margin: 0; }
.icon { font-size: 2rem; background: var(--bg-card); width: 48px; height: 48px; display: flex; justify-content: center; align-items: center; border-radius: 12px; border: 1px solid var(--border-light); }
.info-text { font-style: italic; font-size: 0.9rem; border-left: 2px solid var(--text-muted); padding-left: 12px; }
.image-wrapper img { border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.custom-radius { border-radius: var(--radius-lg); border: 1px solid var(--border-light); }

/* --- LISTS --- */
.app-list { list-style: none; margin-bottom: 24px; }
.app-list li { position: relative; padding-left: 36px; margin-bottom: 12px; color: var(--text-muted); }
.app-list.numbered { counter-reset: app-counter; }
.app-list.numbered li::before {
    content: counter(app-counter); counter-increment: app-counter;
    position: absolute; left: 0; top: 0; width: 24px; height: 24px;
    background: rgba(255, 81, 47, 0.1); color: var(--accent-orange);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; font-family: var(--font-heading);
}
.app-list.bulleted li::before { content: '•'; position: absolute; left: 10px; color: var(--accent-orange); font-size: 1.5rem; line-height: 1; top: -2px; }
.app-list.checked li::before { content: '✅'; position: absolute; left: 0; font-size: 1rem; top: 2px; }
.app-list.crossed li::before { content: '❌'; position: absolute; left: 0; font-size: 1rem; top: 2px; }

/* --- TABLES --- */
.table-wrapper { overflow-x: auto; margin-top: 32px; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-light); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td { padding: 20px 24px; border-bottom: 1px solid var(--border-light); }
.data-table th { font-family: var(--font-heading); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); background: rgba(0,0,0,0.2); }
.data-table tr:last-child td { border-bottom: none; }
.scores-table td:nth-child(2) { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.score-badge { display: inline-block; padding: 4px 12px; background: rgba(255, 81, 47, 0.1); color: var(--accent-orange); border-radius: 8px; border: 1px solid rgba(255, 81, 47, 0.2); }

/* --- FAQ ACCORDION --- */
.faq-wrapper { max-width: 850px; margin: 0 auto; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; }
.accordion-btn { width: 100%; text-align: left; background: transparent; border: none; padding: 20px 24px; color: #FFF; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-btn::after { content: '+'; color: var(--accent-orange); font-size: 1.5rem; transition: var(--transition); }
.accordion-item.active .accordion-btn::after { content: '−'; transform: rotate(180deg); color: var(--accent-pink); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 24px; }
.accordion-item.active .accordion-content { padding-bottom: 24px; }
.accordion-content p { margin: 0; font-size: 0.95rem; }

/* --- FOOTER --- */
.app-footer { background: #08090C; padding: 40px 0; border-top: 1px solid var(--border-light); }
.footer-logo { height: 32px; filter: grayscale(100%); opacity: 0.5; margin: 0 auto; }

/* --- ANIMATIONS --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .direction-rtl { direction: ltr; }
    .direction-rtl > * { direction: ltr; }
    .hero { padding-top: 130px; text-align: center; }
    .disclaimer-box { text-align: left; }
    .nav-menu { display: none; } /* Simplified mobile header */
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .section-pad { padding: 60px 0; }
    .app-card { padding: 24px; }
}