:root {
    --primary-color: #2ca1b6;
    --secondary-color: #ffffff;
    --font-sans: 'Inter', sans-serif;
    --font-future: 'Rajdhani', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: #000;
    color: #fff;
    overflow: hidden; /* Desktop focus, no scroll */
}

.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url("https://health.surfwiser.com/2026/02/Project%20Entropia/WM_02587V01_1200_EN_HM_20251208_FP_AI%5E%E5%85%85%E8%83%BD%E6%B5%B4%E7%BC%B8%20(1).png");
    background-size: cover;
    background-position: top center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradient overlay to darken edges and make text pop, while keeping center clear */
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 0;
}

.logo-container {
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.top-left-content {
    position: absolute;
    top: 30%;
    left: 2%;
    z-index: 10;
}

.logo {
    width: 30rem;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 4px 4px 0px rgba(44, 161, 182, 0.8), -2px -2px 0px rgba(255, 255, 255, 0.3);
}

.center-bottom-container {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sub-text {
    font-family: var(--font-future);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0px 0px 8px rgba(44, 161, 182, 0.5);
    margin-bottom: 3.5rem;
}

.cta-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
    transition: transform 0.2s ease;
}

.cta-wrapper:hover {
    transform: scale(1.05);
}

.reward-badge {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 1.4rem;
    padding: 0.6rem 2.5rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 30;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    white-space: nowrap;
    margin-bottom: -1px; /* Ensures it perfectly touches the edge without subpixel gaps */
    animation: badge-color-switch 1s infinite alternate;
}

.cta-button-container {
    display: inline-block;
    animation: glow-switch 1s infinite alternate;
}

.cta-wrapper:hover .cta-button-container,
.cta-wrapper:hover .cta-button,
.cta-wrapper:hover .reward-badge {
    animation-duration: 0.5s;
}

.cta-button {
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding: 1.2rem 4rem;
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 2.2rem;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    /* Color switching animation */
    animation: color-switch 1s infinite alternate;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.cta-text {
    position: relative;
    z-index: 10;
}

@keyframes glow-switch {
    0% { filter: drop-shadow(0 0 15px rgba(44, 161, 182, 0.6)); }
    100% { filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.8)); }
}

@keyframes color-switch {
    0% { 
        background-color: #ffffff; 
        color: var(--primary-color);
    }
    100% { 
        background-color: var(--primary-color); 
        color: #ffffff;
    }
}

@keyframes badge-color-switch {
    0% { 
        background-color: var(--primary-color); 
        color: #ffffff;
    }
    100% { 
        background-color: #ffffff; 
        color: var(--primary-color);
    }
}

/* Responsive adjustments for smaller desktop screens */
@media (max-width: 1440px) {
    .main-title {
        font-size: 3.8rem;
    }
    .logo {
        width: 18rem;
    }
    .sub-text {
        font-size: 1.5rem;
    }
    .cta-button {
        font-size: 1.8rem;
        padding: 1rem 3.5rem;
    }
}

@media (max-width: 1024px) {
    .main-title {
        font-size: 3rem;
    }
    .logo {
        width: 14rem;
    }
    .sub-text {
        font-size: 1.2rem;
    }
    .cta-button {
        font-size: 1.5rem;
        padding: 0.8rem 2.5rem;
    }
}
