/* ==========================================
   Early Cashout Calculator - Premium Design
   ========================================== */

/* CSS Variables / Design Tokens */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f35;
    --bg-card-hover: #1f2641;
    --bg-input: #0d1224;
    --border-color: rgba(99, 102, 241, 0.15);
    --border-active: rgba(99, 102, 241, 0.5);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a78bfa;
    --accent-glow: rgba(99, 102, 241, 0.25);

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --danger: #ef4444;

    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a1040 50%, #0a0e1a 100%);
    --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   Header
   ========================================== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    color: var(--text-primary);
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* ==========================================
   Hero Section
   ========================================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    will-change: transform;
    animation: float 10s ease-in-out infinite;
    contain: layout paint;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent);
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    bottom: 20%;
    left: 10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.25), transparent);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -20px, 0) scale(1.03);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--accent-tertiary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

#hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Section Styles
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ==========================================
   Calculator Section
   ========================================== */
#calculator {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.calc-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Odds Format Selector */
.odds-format-selector {
    margin-bottom: 32px;
}

.format-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.toggle-group {
    display: flex;
    background: var(--bg-input);
    border-radius: var(--radius-md);
    padding: 4px;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:hover {
    color: var(--text-secondary);
}

.toggle-btn.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
}

/* Input Fields */
.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.input-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-icon {
    padding: 0 16px;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 700;
}

.input-wrapper input {
    flex: 1;
    padding: 14px 16px 14px 0;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 500;
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.calculate-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: var(--transition);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.calculate-btn:hover::after {
    opacity: 1;
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Results Panel */
.results-panel {
    margin-top: 32px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    margin-bottom: 20px;
}

.results-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
}

.result-card:hover {
    border-color: var(--border-active);
    transform: translateY(-2px);
}

.result-card.primary {
    border-color: var(--accent-primary);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.06));
}

.result-card.accent {
    border-color: var(--success);
    background: var(--success-bg);
}

.result-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.result-card.primary .result-value {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-card.accent .result-value {
    color: var(--success);
}

.result-card.big {
    grid-column: span 1;
}

.result-card.big .result-value {
    font-size: 2rem;
}

.result-card.big .result-label {
    font-size: 0.9rem;
}

.result-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}



/* Sidebar */
.calc-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--border-active);
}

.info-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.formula-display {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 14px;
}

.formula-display code {
    font-size: 0.85rem;
    color: var(--accent-tertiary);
    font-weight: 600;
    word-break: break-word;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tips-list li {
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding-left: 20px;
    position: relative;
}

.tips-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.sports-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sport-tag {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.sport-tag:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

/* ==========================================
   How It Works Section
   ========================================== */
#how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.step-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-md);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    margin-bottom: 16px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Example Card */
.example-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.example-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.example-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.example-scenario,
.example-calc {
    padding: 0;
}

.example-scenario h4,
.example-calc h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-tertiary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.example-scenario p,
.example-calc p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.example-calc code {
    background: var(--bg-input);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--accent-tertiary);
}

.example-calc ul {
    list-style: none;
    margin-top: 12px;
}

.example-calc ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.example-calc ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.example-note {
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(99, 102, 241, 0.08);
    border-left: 3px solid var(--accent-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.88rem !important;
}

/* ==========================================
   FAQ Section
   ========================================== */
#faq {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-active);
}

.faq-item[open] {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item summary:hover {
    color: var(--accent-tertiary);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-answer ul li {
    margin-bottom: 6px;
}

.faq-answer code {
    background: var(--bg-input);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.88rem;
    color: var(--accent-tertiary);
}

/* ==========================================
   Footer
   ========================================== */
#site-footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-icon {
    font-size: 1.5rem;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-tertiary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ==========================================
   Error State
   ========================================== */
.input-wrapper.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.error-message {
    color: var(--danger);
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 4px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calc-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .header-inner {
        height: 56px;
        padding: 0 16px;
    }

    #main-nav {
        display: none;
    }

    .logo {
        font-size: 1.25rem;
    }

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

    #hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    #hero h1 {
        font-size: 2rem;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 16px;
        margin-bottom: 16px;
    }

    .cta-button {
        font-size: 0.95rem;
        padding: 14px 28px;
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
        margin-top: 40px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.92rem;
    }

    .calc-card {
        padding: 20px;
        border-radius: var(--radius-lg);
    }

    .calc-sidebar {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 20px;
    }

    .input-wrapper input {
        padding: 12px 12px 12px 0;
        font-size: 1rem;
    }

    .input-icon {
        padding: 0 12px;
    }

    .calculate-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .result-card {
        padding: 16px;
    }

    .result-card.big .result-value {
        font-size: 1.6rem;
    }

    .result-value {
        font-size: 1.3rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        font-size: 2.2rem;
    }

    .example-content {
        grid-template-columns: 1fr;
    }

    .faq-item summary {
        padding: 16px 20px;
        font-size: 0.92rem;
    }

    .faq-answer {
        padding: 0 20px 16px;
        font-size: 0.88rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    #site-footer {
        padding: 40px 0 24px;
    }

    #calculator,
    #how-it-works,
    #faq {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    #hero h1 {
        font-size: 1.75rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .toggle-group {
        flex-direction: column;
    }

    .toggle-btn {
        padding: 12px;
        font-size: 0.88rem;
    }

    .calc-card {
        padding: 16px;
    }

    .odds-format-selector {
        margin-bottom: 24px;
    }

    .format-label {
        font-size: 0.8rem;
    }

    .sport-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .result-card.big .result-value {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Prevent zooming on input focus in iOS */
    .input-wrapper input {
        font-size: 16px;
    }
}