/* Landing Page Styles */
.landing-page {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

.landing-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Blurred background image */
.carousel-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: blur(20px) brightness(0.6);
    transform: scale(1.1);
}

.carousel-image-bg.active {
    opacity: 1;
}

.carousel-image-bg.fade-out {
    opacity: 0;
}

/* Centered card image */
.carousel-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    border-radius: 15px;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-image.fade-out {
    opacity: 0;
}

/* Overlay gradient for better text readability */
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.landing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
}

.landing-title {
    font-size: 4rem;
    font-weight: 500;
    margin: 0 0 20px 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.landing-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin: 0 0 40px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.enter-button {
    display: inline-block;
    padding: 15px 45px;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: rgba(138, 43, 226, 0.8);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.enter-button:hover {
    background: rgba(138, 43, 226, 1);
    border-color: white;
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(138, 43, 226, 0.5);
}

.enter-button:active {
    transform: scale(0.98);
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-title {
        font-size: 2.5rem;
    }

    .landing-subtitle {
        font-size: 1.5rem;
    }

    .enter-button {
        padding: 12px 35px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 2rem;
    }

    .landing-subtitle {
        font-size: 1.2rem;
    }

    .enter-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}
