@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-main: #060913;
    --bg-surface: rgba(13, 20, 38, 0.6);
    --bg-card: rgba(20, 30, 58, 0.45);
    --bg-input: #0d1326;
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.35);
    --primary-hover: #4f46e5;
    
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px 0 rgba(99, 102, 241, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients/Glows */
.bg-glow-1, .bg-glow-2 {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -1;
}
.bg-glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary);
}
.bg-glow-2 {
    bottom: -150px;
    right: -100px;
    background: var(--accent-cyan);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 9, 19, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo i {
    color: var(--primary);
    -webkit-text-fill-color: initial;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-text {
    color: var(--text-primary);
    background: transparent;
    border: none;
}
.btn-text:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

/* Sections Styling */
.section {
    padding: 100px 24px 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
/* Hero Section */
.hero {
    min-height: 95vh;
    background: linear-gradient(90deg, #060913 25%, rgba(6, 9, 19, 0.75) 55%, rgba(6, 9, 19, 0.35) 75%, rgba(6, 9, 19, 0.1) 100%), url('../images/sports_hero.png') no-repeat center right;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 140px max(24px, calc((100vw - 1200px) / 2)) 80px max(24px, calc((100vw - 1200px) / 2));
    width: 100%;
    max-width: none;
    margin: 0;
}

.hero-content {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-tag .live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 540px;
}

/* League Bar Grid styling */
.league-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
}

.league-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(13, 20, 38, 0.55);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: default;
}

.league-item svg {
    transition: var(--transition);
}

.pl-brand:hover {
    border-color: #da057f;
    background: rgba(56, 0, 60, 0.45);
    box-shadow: 0 0 15px rgba(218, 5, 127, 0.3);
    color: #ffffff;
}
.pl-brand:hover svg { color: #da057f; transform: scale(1.1); }

.cl-brand:hover {
    border-color: #00bfff;
    background: rgba(0, 51, 153, 0.45);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
    color: #ffffff;
}
.cl-brand:hover svg { color: #00bfff; transform: scale(1.1); }

.wc-brand:hover {
    border-color: #ffd700;
    background: rgba(0, 100, 0, 0.45);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    color: #ffffff;
}
.wc-brand:hover svg { color: #ffd700; transform: scale(1.1); }

.ll-brand:hover {
    border-color: #ee3124;
    background: rgba(238, 49, 36, 0.25);
    box-shadow: 0 0 15px rgba(238, 49, 36, 0.3);
    color: #ffffff;
}
.ll-brand:hover svg { color: #ee3124; transform: scale(1.1); }

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

/* Glowing Get Started Button */
.btn-glow {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 14px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.45);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 200%;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.65);
}

.hero-subtext {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 4px;
    font-weight: 500;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.channel-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.stat-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Features Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-surface);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.price-card {
    background: var(--bg-surface);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.price-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(13, 20, 38, 0.6) 100%);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.price-header {
    margin-bottom: 28px;
    text-align: center;
}

.price-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 2px;
    color: var(--text-muted);
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.price-features {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.price-features i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.price-card.featured .price-features i {
    color: var(--accent-emerald);
}

.price-btn {
    width: 100%;
}

/* Modals styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #0d1222;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-main);
    transform: translateY(30px);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.form-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Client Portal / User Dashboard */
.portal-container {
    display: flex;
    min-height: 100vh;
    padding-top: 75px; /* Height of sticky header */
}

.portal-sidebar {
    width: 260px;
    background: rgba(13, 20, 38, 0.4);
    border-right: 1px solid var(--border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.profile-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
}

.profile-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}

.profile-info p {
    font-size: 0.75rem;
    color: var(--accent-emerald);
    font-weight: 600;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.sidebar-item:hover, .sidebar-item.active {
    background: rgba(99, 102, 241, 0.08);
    color: var(--text-primary);
}

.sidebar-item i {
    font-size: 1.2rem;
}

.portal-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.portal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

/* Portal Grid Layouts */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.portal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-main);
}

.portal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.portal-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portal-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.portal-card-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.portal-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Playlist / Credentials Section */
.credentials-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-main);
}

.credentials-box h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.credentials-box h3 i {
    color: var(--accent-cyan);
}

.input-copy-group {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.input-copy-group input {
    flex: 1;
    font-family: monospace;
    font-size: 0.9rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    cursor: default;
}

/* System Stats Section */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.status-card {
    background: rgba(13, 20, 38, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.status-val {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
    border-radius: 3px;
    transition: width 0.5s ease-out;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
    background: #03050b;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        background: linear-gradient(180deg, rgba(6, 9, 19, 0.88) 20%, rgba(6, 9, 19, 0.95) 100%), url('../images/sports_hero.png') no-repeat center center;
        background-size: cover;
        flex-direction: column;
        padding-top: 130px;
        padding-bottom: 60px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .hero-content {
        align-items: center;
        max-width: 100%;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .league-bar {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a production system, we'd add a burger menu. For our clean design, we can hide or make mobile adjustments. */
    }
    .portal-container {
        flex-direction: column;
    }
    .portal-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 20px;
    }
    .portal-content {
        padding: 20px;
    }
}
