.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
    color: var(--color-bg-light);
    overflow: hidden;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero::before {
    background: linear-gradient(-45deg, var(--color-base-deep), var(--color-accent-surreal), var(--color-highlight-fun), var(--color-base-deep));
    background-size: 400% 400%;
    animation: gradient-flow 15s ease infinite;
    z-index: -2;
}

.hero::after {
    background-image: url('/background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 1rem;
}

h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 0 0 15px rgba(239, 55, 44, 0.7);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center buttons horizontally */
    gap: 1rem;
}

.btn {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 500;
    text-decoration: none;
    color: var(--color-bg-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: url('/white_glove_cursor.png'), auto;
    transition: all 0.3s ease;
    min-width: 250px;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent-danger);
    box-shadow: 0 0 10px rgba(239, 55, 44, 0);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(239, 55, 44, 0.8);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-accent-surreal);
    box-shadow: 0 0 10px rgba(88, 96, 195, 0);
}

.btn-secondary:hover {
    background-color: rgba(88, 96, 195, 0.2);
    box-shadow: 0 0 25px rgba(88, 96, 195, 0.8);
    transform: scale(1.05);
}

#confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--color-highlight-fun);
    opacity: 0;
    animation: fall 3s ease-out forwards;
}

.confetti.star::before,
.confetti.star::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: inherit;
    top: 0;
    left: 0;
}

.confetti.star::before { transform: rotate(30deg); }
.confetti.star::after { transform: rotate(60deg); }

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(150px) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 400px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

