/* ==========================================================================
   PEF Manageriale x Sportbet - Modern CSS Design System (Mobile-Fixed)
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #090B10;
    --bg-card: rgba(18, 22, 33, 0.75);
    --bg-card-border: rgba(255, 255, 255, 0.08);
    
    --pef-orange: #FF6600;
    --pef-orange-glow: rgba(255, 102, 0, 0.4);
    --sportbet-blue: #0A2540;
    
    --green-profit: #10B981;
    --green-glow: #34D399;
    --green-bg-tint: rgba(16, 185, 129, 0.12);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows & Effects */
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
    --shadow-btn: 0 8px 24px rgba(255, 102, 0, 0.35);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 75px;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top Announcement Banner */
.top-banner {
    background: linear-gradient(90deg, #1e0900, #ff6600, #1e0900);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.timer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-family: monospace;
    font-size: 0.85rem;
}

/* Header & Brand Logos */
.header {
    background: rgba(9, 11, 16, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--bg-card-border);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .header-container {
        justify-content: space-between;
    }
}

.brand-partnership {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .brand-partnership {
        gap: 16px;
    }
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pef-svg {
    width: 34px;
    height: 34px;
}

@media (min-width: 768px) {
    .pef-svg {
        width: 42px;
        height: 42px;
    }
}

.brand-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .brand-title {
        font-size: 1.25rem;
    }
}

.brand-sub {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--pef-orange);
    letter-spacing: 0.5px;
    display: block;
}

.collaboration-x {
    color: var(--text-dim);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0 2px;
}

/* Sportbet Header Image Logo */
.sportbet-header-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

@media (min-width: 768px) {
    .sportbet-header-img {
        height: 36px;
    }
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6600, #E65C00);
    color: #ffffff;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #FF7719, #FF6600);
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.5);
}

.btn-hero {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.2rem;
    border-radius: 16px;
}

.btn-pulse {
    animation: btnGlow 2s infinite alternate;
}

@keyframes btnGlow {
    0% { box-shadow: 0 0 15px rgba(255, 102, 0, 0.4); }
    100% { box-shadow: 0 0 35px rgba(255, 102, 0, 0.8), 0 0 10px rgba(16, 185, 129, 0.6); }
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--pef-orange);
    color: var(--text-main);
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--pef-orange);
    color: #fff;
}

/* Header desktop button control: HIDDEN on mobile screens */
.header .desk-only-btn {
    display: none !important;
}

@media (min-width: 768px) {
    .header .desk-only-btn {
        display: inline-flex !important;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 30px 0 45px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, rgba(16, 185, 129, 0.1) 40%, rgba(9, 11, 16, 0) 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.badge-promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.3);
    color: var(--pef-orange);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

.highlight-orange {
    color: var(--pef-orange);
    text-shadow: 0 0 20px var(--pef-orange-glow);
}

.highlight-bonus {
    color: #FACC15;
    background: linear-gradient(180deg, #FDE047, #CA8A04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sportbet-hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.sportbet-hero-img {
    max-width: 280px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .sportbet-hero-img {
        max-width: 340px;
    }
}

.sportbet-hero-img:hover {
    transform: scale(1.03);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-card-border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 20px 16px;
}

@media (min-width: 768px) {
    .glass-card {
        padding: 36px;
        border-radius: 24px;
    }
}

/* Main Offer Card */
.offer-card {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(255, 102, 0, 0.3);
}

.offer-header {
    margin-bottom: 16px;
}

.offer-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.offer-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.offer-item {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.item-val {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.7rem;
}

@media (min-width: 768px) {
    .item-val {
        font-size: 2.2rem;
    }
}

.red-item .item-val { color: #F87171; }
.green-item .item-val { color: var(--green-glow); }

.offer-arrow {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.statement-main {
    font-size: 1.2rem;
    font-weight: 800;
    font-style: italic;
    color: var(--text-main);
}

.sub-statement {
    color: var(--pef-orange);
    margin-bottom: 8px;
}

.statement-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.profit-box {
    background: var(--green-bg-tint);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.profit-fire {
    font-size: 1.4rem;
}

.profit-text {
    font-size: 1.05rem;
}

.green-glow {
    color: var(--green-glow);
    font-weight: 900;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.5);
}

.cta-subtext {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 10px;
}

/* Sections Common */
section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.badge-accent {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green-glow);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.55rem;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.4rem;
    }
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Deposit Bonus Section */
.deposit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .deposit-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.dep-card {
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.dep-card:hover {
    transform: translateY(-4px);
    border-color: var(--pef-orange);
}

.dep-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.dep-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--pef-orange);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.dep-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.dep-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Single Account Breakdown Notice */
.calc-card {
    max-width: 760px;
    margin: 0 auto;
}

.single-account-notice {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.calc-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.res-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 12px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-res {
    background: var(--green-bg-tint);
    border-color: rgba(16, 185, 129, 0.3);
}

.res-title {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.res-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.7rem;
}

.red-text { color: #F87171; }
.green-text { color: var(--green-glow); }

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-bottom: 40px;
    }
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 18px;
    padding: 24px 20px;
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--pef-orange);
}

.step-num {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.06);
}

.step-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

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

.code-badge {
    background: rgba(255, 102, 0, 0.2);
    color: var(--pef-orange);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
}

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

/* Weekly Promo Feature Highlight */
.weekly-promo-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15), rgba(10, 37, 64, 0.6));
    border: 2px solid var(--pef-orange);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
}

@media (min-width: 768px) {
    .weekly-promo-banner {
        flex-direction: row;
        text-align: left;
        padding: 24px;
        gap: 20px;
    }
}

.wp-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.wp-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--pef-orange);
    margin-bottom: 6px;
}

.wp-desc {
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 20px;
}

.feat-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Terms and Conditions Card */
.terms-card {
    max-width: 840px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.terms-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.terms-icon {
    font-size: 1.5rem;
}

.terms-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-main);
}

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

.terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.bullet-check {
    color: var(--pef-orange);
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
}

/* FAQ Section */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px 18px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.faq-chevron {
    color: var(--pef-orange);
    transition: transform 0.3s;
}

.faq-item.active .faq-chevron {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 18px 16px 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(9, 11, 16, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--bg-card-border);
    padding: 10px 14px;
    z-index: 999;
}

@media (min-width: 992px) {
    .mobile-sticky-bar {
        display: none;
    }
}

.sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

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

.sticky-highlight {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    color: #FACC15;
}

.sticky-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.btn-sticky {
    padding: 10px 16px;
    font-size: 0.82rem;
    border-radius: 10px;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: #050608;
    border-top: 1px solid var(--bg-card-border);
    padding: 30px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.82rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.footer-sb-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto 14px;
    line-height: 1.4;
}
