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

:root {
    --primary: #FF5722;
    --primary-hover: #F4511E;
    --bg-dark: #1A237E;
    --bg-card: #283593;
    --text-white: #E8EAF6;
    --text-muted: #C5CAE9;
    --live-red: #EF4444;
    --container-width: 1200px;
    --font-heading: 'Fira Sans', sans-serif;
    --font-body: 'Fira Sans', 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;
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
    min-height: 44px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Massive Header */
.massive-header {
    background-color: var(--bg-card);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 500px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(0,0,0,0.2);
    color: var(--text-white);
    border-radius: 4px 0 0 4px;
    outline: none;
    font-family: var(--font-body);
}

.search-bar button {
    padding: 0 20px;
    background-color: var(--primary);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.massive-header nav ul {
    display: flex;
    gap: 32px;
}

.massive-header nav a {
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* Hero Masonry */
.hero-masonry {
    background: radial-gradient(circle at top, var(--bg-card) 0%, var(--bg-dark) 100%);
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    color: var(--text-white);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-image-block {
    margin-top: 40px;
}

.hero-image-block img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    align-items: start; /* Crucial for masonry effect */
}

.masonry-card {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

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

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

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

.badge-live {
    background-color: var(--live-red);
    color: #FFF;
}

.blink {
    animation: blink 2s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.badge-upcoming {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-muted);
}

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

.teams {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.event-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

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

.odd {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 14px 8px;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    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: #000;
}

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

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

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

.feature-horizontal {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-horizontal:hover {
    border-color: var(--primary);
    background-color: rgba(255,255,255,0.02);
}

.feature-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.feature-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

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

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

.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) {
    .header-flex {
        flex-wrap: wrap;
    }
    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .massive-header nav {
        display: none;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-image-block img {
        height: 250px;
    }
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    .features-2col {
        grid-template-columns: 1fr;
    }
    .feature-horizontal {
        flex-direction: column;
        text-align: center;
    }
    .rg-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
