/* General Body and Container Styling */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f0f2f5; /* Fallback background color */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Main Page Background (fixed, covers entire viewport) */
.main-page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1; /* Ensures it's behind all content */
}

.main-page-background .background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Slightly darker for better text contrast */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1; /* Above image, below content (when content z-index is higher) */
}

/* Header Styling - ONLY Sign Up Button */
.main-header {
    background-color: rgba(60, 10, 80, 0.95); /* Deep Purple inspired by your image */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Header's z-index */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center; /* Center the button */
    align-items: center;
}

.main-header .container {
    display: flex;
    justify-content: center; /* Center the button within container */
    align-items: center;
    padding: 0 20px;
}

/* Hide logo and main navigation from header */
.logo, .main-nav {
    display: none;
}

.auth-buttons {
    flex-shrink: 0;
    /* No margin-left needed as it's the only item */
}

/* Buttons Styling - General */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #92e0ff;
    color: #0a1432;
}

.btn-primary:hover {
    background-color: #63c9f2;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: #ff6f61;
    color: #fff;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #e05e52;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* FOCUS: Larger Sign Up Button (for header) */
.btn-signup-large {
    background-color: #FFD700;
    color: #0a1432;
    font-size: 22px;
    padding: 18px 40px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-signup-large:hover {
    background-color: #e0a800;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-stream {
    background-color: #dc3545;
    color: #fff;
    margin: 5px;
}

.btn-stream:hover {
    background-color: #c82333;
}

.btn-ticket {
    background-color: #ffc107;
    color: #333;
    margin: 5px;
}

.btn-ticket:hover {
    background-color: #e0a800;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 25px;
    background-color: #007bff;
    color: #fff;
}
.btn-sm:hover {
    background-color: #0056b3;
}

.btn-outline {
    background: transparent;
    color: #92e0ff;
    border: 2px solid #92e0ff;
    box-shadow: none;
}
.btn-outline:hover {
    background-color: #92e0ff;
    color: #0a1432;
}

/* Hero Section Styling - FOCUS: Larger text */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
    padding-top: 100px; /* Adjusted padding-top for fixed header */
    box-sizing: border-box;
}

.hero-section h1 {
    font-size: 72px;
    margin-bottom: 25px;
    font-weight: 900;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 30px;
    margin-bottom: 45px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

.hero-buttons {
    margin-top: 30px;
}

/* UEFA Banner with LIVE icon */
.euro-banner-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px auto;
    z-index: 5;
}

.euro-banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.live-icon-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: auto;
    z-index: 999; /* Lower than header (1000) but above banner (5) */
    display: block;
}

.live-icon {
    width: 100%;
    height: auto;
    display: block;
    animation: pulse 1.5s infinite ease-in-out;
}

/* LIVE Icon Animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}


/* Main Content Section Styling */
main {
    background-color: #f8f9fa; /* Light background for content sections */
    padding-top: 80px;
}

.section-content {
    padding: 60px 0;
    text-align: center;
    background-color: #fff; /* White background for sections */
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.section-content.bg-light {
    background-color: #e9ecef; /* Slightly darker for alternating sections */
}

h2 {
    font-size: 45px;
    margin-bottom: 25px;
    color: #0a1432;
    font-weight: 900;
}

.section-content p {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 35px auto;
    color: #555;
    line-height: 1.5;
}

.button-group {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Match Schedule Section Specific Styles */
.match-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.match-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease;
}
.match-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.match-item h3 {
    margin-top: 0;
    color: #0a1432;
    font-size: 26px;
    margin-bottom: 10px;
}
.match-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    max-width: 100%;
}
.match-item .btn {
    float: right;
    margin-top: -10px;
}


/* Footer Styling */
.main-footer {
    background-color: #0a1432;
    color: #fff;
    padding: 40px 0 20px 0;
    text-align: center;
    font-size: 15px;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 20px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
    margin: 20px;
}

.footer-col h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #FFD700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.social-links {
    margin-top: 15px;
}
.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    margin-right: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.social-links a:hover {
    background-color: #FFD700;
    color: #0a1432;
    border-color: #FFD700;
}

/* Specific styling for the very last copyright text */
.full-width-footer-text {
    width: 100%;
    text-align: center;
    color: #bbb;
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}
.full-width-footer-text p {
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Design - Media Queries */
@media (max-width: 992px) {
    .main-header .container {
        flex-direction: column; /* Stack vertically on smaller screens */
    }
    .auth-buttons.header-only-signup {
        margin: 0 auto; /* Center button */
    }

    .hero-section h1 {
        font-size: 58px;
    }
    .hero-section p {
        font-size: 24px;
    }

    .btn-signup-large {
        font-size: 20px;
        padding: 15px 30px;
    }
    .btn-large {
        font-size: 17px;
        padding: 14px 28px;
    }

    .footer-col {
        min-width: 45%; /* Two columns on medium screens */
        text-align: center;
    }
    .footer-col ul {
        text-align: center; /* Center footer links */
    }
    .social-links {
        justify-content: center; /* Center social icons */
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 48px;
    }
    .hero-section p {
        font-size: 20px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .section-content h2 {
        font-size: 38px;
    }
    .euro-banner-container {
        max-width: 90%;
        margin-bottom: 30px;
    }
    .live-icon-link {
        width: 120px;
    }
    .match-list {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
    .match-item {
        text-align: center;
    }
    .match-item .btn {
        float: none;
        margin-top: 15px;
    }
    .footer-col {
        min-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 32px;
    }
    .hero-section p {
        font-size: 16px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .btn-signup-large {
        font-size: 18px;
        padding: 12px 25px;
    }
    .live-icon-link {
        width: 90px;
    }
    .section-content h2 {
        font-size: 30px;
    }
}