/* General Body and Page Container for better contrast */
body {
    background-color: #0d111c; /* Dark background for better video contrast */
    color: #e0e6ed; /* Light text color */
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.page-container {
    overflow: hidden; /* Ensures no content overflows due to video effects */
    position: relative;
}

/* --- Hero Section Video Enhancements --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height for the video */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff; /* Ensure text is visible over the video */
}

.hero-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover; /* Ensures the video covers the entire area */

    /* --- Key properties for clarity and brightness --- */
    filter: brightness(1.2) contrast(1.1) saturate(1.1); /* Adjust these values */
    /* brightness: Increases overall lightness */
    /* contrast: Enhances the difference between light and dark areas */
    /* saturate: Boosts color intensity */

    mix-blend-mode: screen; /* Can make the video appear brighter by blending with background */
    /* Experiment with 'lighten' or 'overlay' if 'screen' is too much */

    /* Optional: Add a slight blur for a cinematic look, but be careful not to make it unclear */
    /* filter: blur(1px) brightness(1.2) contrast(1.1) saturate(1.1); */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darker overlay for better text readability */
    z-index: 1;

    /* --- Enhance overlay for subtle brightness/contrast --- */
    /* This can act as an additional layer to boost the perceived brightness */
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%); */
    /* background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%); */
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensure content is above the video and overlay */
    padding: 20px;
    max-width: 900px;
}

/* --- Other Existing Styles (Ensure these are present or adjust as needed) --- */
.promo-marquee {
    background-color: #007bff;
    color: white;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    position: relative;
    z-index: 10; /* Ensure it's above other elements */
}

.header {
    background-color: rgba(13, 17, 28, 0.8); /* Semi-transparent header */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px); /* Frosty glass effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 50px;
    margin-right: 10px;
}

.site-title-nav {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    color: #00bcd4; /* Accent color */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00bcd4;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00bcd4;
    transform: translateY(-2px);
}

.auth-buttons .btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-left: 10px;
}

.login-btn {
    background-color: #00bcd4;
    color: #0d111c;
}

.login-btn:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

.register-btn {
    background-color: #6a00ff;
    color: #fff;
}

.register-btn:hover {
    background-color: #5200cc;
    transform: translateY(-2px);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #e0e6ed;
    margin: 4px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(13, 17, 28, 0.95);
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .auth-buttons {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

.main-logo-hero {
    max-width: 250px;
    margin-bottom: 20px;
}

.site-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4em;
    color: #00bcd4;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 188, 212, 0.7), 0 0 30px rgba(0, 188, 212, 0.5);
}

.site-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.5em;
    color: #e0e6ed;
    margin-bottom: 40px;
    text-shadow: 0 0 5px rgba(224, 230, 237, 0.5);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.download-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.download-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.download-card .icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.download-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #00bcd4;
}

.download-card p {
    font-size: 1em;
    color: #e0e6ed;
}

.section {
    padding: 80px 20px;
    text-align: center;
}

.content-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    color: #e0e6ed;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.highlight-text {
    color: #00bcd4;
}

.highlight-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: #1a202c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid #00bcd4;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.4);
}

.highlight-card .feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.highlight-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    color: #e0e6ed;
    margin-bottom: 10px;
}

.highlight-card p {
    color: #a0aec0;
}

.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 188, 212, 0), rgba(0, 188, 212, 0.75), rgba(0, 188, 212, 0));
    margin: 60px auto;
    width: 80%;
}

.promo-section {
    background-color: #111520;
    padding: 80px 20px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.promo-card {
    background-color: #1a202c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(0, 188, 212, 0.3);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.3);
}

.promo-card.featured-promo {
    border: 2px solid #6a00ff;
    box-shadow: 0 0 30px rgba(106, 0, 255, 0.4), 0 0 60px rgba(106, 0, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.promo-card.featured-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #00bcd4, #6a00ff);
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ffc107;
    color: #333;
    padding: 8px 15px;
    border-bottom-left-radius: 10px;
    font-weight: bold;
    font-size: 0.9em;
    transform: rotate(5deg);
    transform-origin: top right;
}


.promo-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    color: #e0e6ed;
    margin-bottom: 15px;
}

.promo-details {
    font-size: 1.1em;
    color: #a0aec0;
    margin-bottom: 10px;
}

.fg-amount {
    color: #00bcd4;
    font-weight: bold;
}

.fg-bonus {
    color: #6a00ff;
    font-weight: bold;
}

.promo-bonus {
    font-size: 0.95em;
    color: #ffc107;
    margin-bottom: 10px;
}

.promo-validity {
    font-size: 0.85em;
    color: #718096;
    margin-bottom: 20px;
}

.promo-contact {
    font-size: 1em;
    color: #e0e6ed;
    margin-bottom: 15px;
}

.owner-name {
    color: #00bcd4;
    font-weight: bold;
}

.btn.promo-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #00bcd4;
    color: #0d111c;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto; /* Pushes button to the bottom */
}

.btn.promo-btn:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

.btn.promo-btn.contact-btn {
    background-color: #6a00ff;
    color: #fff;
}

.btn.promo-btn.contact-btn:hover {
    background-color: #5200cc;
}

.promo-note {
    margin-top: 40px;
    font-size: 1.1em;
    color: #e0e6ed;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a202c;
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.1);
}

.promo-note .note-icon {
    font-size: 1.5em;
    margin-right: 10px;
    color: #ffc107;
}

.features-section {
    background-color: #0d111c;
    padding: 80px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #1a202c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid #6a00ff;
    box-shadow: 0 0 15px rgba(106, 0, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(106, 0, 255, 0.4);
}

.feature-item .feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    color: #e0e6ed;
    margin-bottom: 10px;
}

.feature-item p {
    color: #a0aec0;
}

.footer {
    background-color: #111520;
    color: #718096;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: #718096;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00bcd4;
}