@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800&display=swap');

:root {
    --primary: #40C4FF;
    --primary-hover: #00B0FF;
    --bg-dark: #0D47A1;
    --bg-card: #0A367A;
    --text-white: #E3F2FD;
    --text-muted: #90CAF9;
    --live-red: #EF4444;
    --container-width: 1200px;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, .logo {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

/* App Header */
.app-header {
    padding: 20px 0;
    background-color: rgba(0,0,0,0.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.05em;
    text-align: center;
    flex: 2;
}

.side-nav {
    flex: 1;
}

.side-nav.right {
    text-align: right;
}

.side-nav a {
    font-weight: 600;
    color: var(--text-white);
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

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

/* Hero App */
.hero-app {
    min-height: 60vh;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, var(--bg-dark) 100%), url('hero-image.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 100px; /* Space for overlapping card */
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Asymmetrical Grid */
.asym-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: -120px; /* Overlap hero */
    position: relative;
    z-index: 10;
}

.event-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.featured-card {
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,0,0,0.8) 100%);
}

.featured-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.featured-label {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 8px 20px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom-right-radius: 20px;
}

.featured-card .event-header {
    margin-top: 20px;
}

.featured-card .teams {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.featured-card .odd {
    padding: 20px;
    font-size: 1.2rem;
}

.small-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.small-card {
    padding: 24px;
}

.small-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

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

.badge {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-live {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--live-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-upcoming {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sport {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.teams {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    min-height: 2.8em;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.odds {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.odd {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 14px 8px;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.odd:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.odd span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
}

.odd:hover span {
    color: rgba(0, 0, 0, 0.6);
}

/* Features 2x2 */
.features-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-card-app {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.feature-card-app:hover {
    border-color: var(--primary);
}

.feature-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 12rem;
    opacity: 0.05;
    line-height: 1;
    transition: all 0.5s ease;
}

.feature-card-app:hover .feature-bg-icon {
    transform: scale(1.1) rotate(-10deg);
    opacity: 0.1;
    color: var(--primary);
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-white);
}

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

/* Footer & RG */
.footer {
    background-color: #050C16;
    margin-top: 60px;
}

.responsible-gambling {
    background-color: #111827;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rg-content {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.rg-icon {
    font-size: 2.5rem;
}

.rg-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.rg-text p {
    color: #9CA3AF;
    font-size: 14px;
    max-width: 800px;
    opacity: 0.9;
}

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

.footer-bottom {
    padding: 40px 0;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .asym-grid {
        grid-template-columns: 1fr;
        margin-top: -60px;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .featured-card .teams {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .side-nav {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .features-2x2 {
        grid-template-columns: 1fr;
    }
    .rg-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .featured-card {
        padding: 24px;
    }
}
