/* ===================================
   365 Sports Online - Landing Page Styles
   =================================== */

/* CSS Custom Properties */
:root {
    --landing-primary: #1565C0;
    --landing-primary-dark: #0D47A1;
    --landing-accent: #FF6B00;
    --landing-dark: #121212;
    --landing-dark-surface: #1E1E1E;
    --landing-light: #FAFAFA;
    --landing-text-light: rgba(255, 255, 255, 0.87);
    --landing-text-muted: rgba(255, 255, 255, 0.6);
}

/* Landing Layout */
.landing-layout {
    overflow-x: hidden;
}

.landing-main {
    padding-top: 0 !important;
}

/* Landing AppBar */
.landing-appbar {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%) !important;
    transition: background 0.3s ease;
}

.landing-appbar .brand-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===================================
   Mobile Menu Dropdown
   =================================== */
.mobile-menu-wrapper {
    position: relative;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #1E1E1E;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    z-index: 1000;
    margin-top: 4px;
    display: none;
}

.mobile-dropdown-open {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.87);
    text-decoration: none;
    font-size: 0.95rem;
    font-family: inherit;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-dropdown-register {
    color: var(--landing-accent) !important;
    font-weight: 600;
}

.mobile-dropdown-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--landing-dark);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.55) 0%, rgba(13, 71, 161, 0.6) 50%, rgba(18, 18, 18, 0.7) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.hero-headline {
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
    font-weight: 300;
    color: var(--landing-text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-cta-primary {
    font-weight: 600;
    padding: 12px 32px !important;
    font-size: 1rem;
}

.hero-cta-secondary {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
}

.hero-cta-secondary:hover {
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Live Badge */
.live-badge {
    animation: pulse 2s ease-in-out infinite;
}

.pulse-icon {
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===================================
   Social Proof Bar
   =================================== */
.social-proof-bar {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.proof-number {
    font-weight: 700;
}

/* ===================================
   Features Section
   =================================== */
.features-section {
    padding: 80px 0;
    background: var(--landing-light);
}

.section-title {
    font-weight: 700;
    color: var(--landing-dark);
}

.section-subtitle {
    text-align: center;
}

.feature-card {
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(21, 101, 192, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-primary-dark) 100%);
    color: white;
}

.section-title-light {
    color: white !important;
}

.section-subtitle-light {
    color: var(--landing-text-muted);
}

.how-it-works-timeline {
    margin-top: 40px;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
    min-width: 180px;
}

.timeline-card-mobile {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
}

.timeline-icon {
    color: var(--landing-accent) !important;
}

.timeline-step-title {
    color: white !important;
}

.timeline-step-desc {
    color: var(--landing-text-muted) !important;
}

.step-number {
    color: var(--landing-accent) !important;
    font-weight: 700;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing-section {
    padding: 80px 0;
    background: var(--landing-light);
}

.pricing-card {
    border-radius: 16px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12) !important;
}

.pricing-card-featured {
    border: 2px solid var(--landing-accent);
    position: relative;
}

.best-value-badge {
    position: absolute !important;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-amount .currency {
    font-size: 0.5em;
    vertical-align: super;
}

.pricing-features {
    text-align: left;
}

.pricing-features .mud-list-item {
    padding: 4px 0;
}

/* ===================================
   Venues Section
   =================================== */
.venues-section {
    padding: 80px 0;
    background: white;
}

.venue-benefit-card {
    background: var(--landing-light) !important;
    border-radius: 12px !important;
    transition: transform 0.3s ease;
}

.venue-benefit-card:hover {
    transform: translateY(-4px);
}

/* ===================================
   Coming Soon Section
   =================================== */
.coming-soon-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--landing-dark) 0%, var(--landing-dark-surface) 100%);
    color: white;
}

.coming-soon-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px !important;
    transition: transform 0.3s ease, background 0.3s ease;
}

.coming-soon-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1) !important;
}

.coming-soon-icon {
    color: var(--landing-accent) !important;
}

.coming-soon-text {
    color: var(--landing-text-light);
    font-weight: 600;
}

.coming-soon-desc {
    color: var(--landing-text-muted);
}

.notify-btn {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

.notify-btn:hover {
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* ===================================
   Partner Hero Section
   =================================== */
.partner-hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--landing-dark);
    color: white;
    overflow: hidden;
}

.partner-hero-content {
    position: relative;
    z-index: 1;
}

/* ===================================
   Partner Hero Revenue Teaser
   =================================== */
.hero-revenue-teaser {
    color: #FFD54F !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
}

.partner-hero .hero-subheadline,
.partner-hero .hero-revenue-teaser {
    max-width: none !important;
    text-align: center !important;
}

/* ===================================
   Zero Cost Banner
   =================================== */
.zero-cost-banner {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #1B5E20 100%);
    color: white;
}

.zero-cost-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.zero-cost-number {
    font-weight: 800 !important;
    font-size: 3rem !important;
    color: #A5D6A7 !important;
    line-height: 1.1;
}

.zero-cost-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ===================================
   Revenue Calculator Section
   =================================== */
.calculator-section {
    background: white;
}


.calculator-inputs-card {
    border-radius: 12px !important;
}

.calculator-results-card {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 60%, #121212 100%) !important;
    border-radius: 12px !important;
    position: sticky;
    top: 80px;
}

.calc-result-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-result-highlight {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 213, 79, 0.3);
}

.calc-result-highlight-annual {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   What's Included Cards
   =================================== */
.included-item-card {
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.included-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.included-free-badge {
    font-weight: 700 !important;
    letter-spacing: 1px;
}

/* ===================================
   Sports We Support Section
   =================================== */
.sport-card {
    background: white;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.sport-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Admin Dashboard Preview
   =================================== */
.dashboard-screenshot-card {
    border-radius: 12px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

.screenshot-zoom-wrapper {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
}

.screenshot-zoom-wrapper:hover .dashboard-screenshot {
    opacity: 0.9;
}

.screenshot-zoom-wrapper:hover .screenshot-zoom-hint {
    opacity: 1;
}

.screenshot-zoom-hint {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.dashboard-screenshot {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top left;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: opacity 0.2s ease;
}

/* Screenshot Lightbox Overlay */
.screenshot-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
    animation: lightbox-fade-in 0.2s ease;
}

@keyframes lightbox-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.screenshot-lightbox-img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.screenshot-lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    color: white;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.screenshot-lightbox-close:hover {
    opacity: 1;
}

/* ===================================
   CTA Footer Section
   =================================== */
.partner-cta-footer {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 60%, #121212 100%);
}

.cta-option-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px !important;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-option-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14) !important;
}

/* Calculator tooltip labels */
.calc-label-with-tip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: help;
}

/* ===================================
   Partner FAQ Section
   =================================== */
.partner-faq .mud-expansion-panel {
    margin-bottom: 8px;
}

.partner-faq .mud-expansion-panel-text {
    font-weight: 600;
}

/* ===================================
   Legal Pages (Terms, Privacy, Refund)
   =================================== */
.legal-page {
    background: white;
}

.legal-page .mud-container {
    max-width: 800px;
}

.legal-heading {
    font-weight: 700;
    color: var(--landing-dark);
}

.legal-subheading {
    font-weight: 600;
    color: var(--landing-dark);
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.legal-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.legal-list li::before {
    content: "\2022";
    position: absolute;
    left: 8px;
    color: var(--landing-primary);
    font-weight: bold;
}

/* ===================================
   Info Pages (About, FAQ, Contact)
   =================================== */
.info-page {
    background: white;
}

/* ===================================
   Contact Cards
   =================================== */
.contact-card {
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

/* ===================================
   Footer
   =================================== */
.landing-footer {
    padding: 60px 0 30px;
    background: var(--landing-dark);
    color: var(--landing-text-light);
}

.footer-logo-icon {
    color: var(--landing-accent);
}

.footer-brand {
    color: white;
}

.footer-tagline {
    color: var(--landing-text-muted);
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    color: var(--landing-text-muted) !important;
    transition: color 0.3s ease !important;
}

.social-icon:hover {
    color: white !important;
}

.footer-heading {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav .mud-nav-link {
    color: var(--landing-text-muted) !important;
    padding: 6px 0 !important;
    min-height: auto !important;
}

.footer-nav .mud-nav-link:hover {
    color: white !important;
    background: transparent !important;
}

.footer-contact {
    color: var(--landing-text-muted);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-copyright {
    color: var(--landing-text-muted);
}

.footer-legal a {
    color: var(--landing-text-muted) !important;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white !important;
}

/* ===================================
   Animations
   =================================== */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsive Adjustments
   =================================== */
@media (max-width: 599px) {
    .hero-section {
        padding: 100px 16px 80px;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .features-section,
    .how-it-works-section,
    .pricing-section,
    .venues-section,
    .coming-soon-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    .social-proof-bar {
        padding: 24px 16px;
    }

    .partner-hero {
        padding: 120px 16px 60px;
    }

    .calculator-results-card {
        position: static;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

@media (max-width: 959px) {
    .landing-appbar .d-none.d-md-flex {
        display: none !important;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.h-100 {
    height: 100%;
}

.text-center {
    text-align: center;
}
