/* ========================================
   STAR CITIZEN PAGE STYLES
======================================== */

/* Hero Star Citizen */
.hero-starcitizen {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35)),
        url("../../src/StarCitizen/picture/perseus1.png") no-repeat center 60% / cover;
    border-bottom: 2px solid rgba(86, 176, 255, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeZoom 1.2s ease-out both;
}

.hero-content h1 {
    font-size: clamp(30px, 5vw, 50px);
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(86, 176, 255, 0.8), 0 0 22px rgba(86, 176, 255, 0.4);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(15px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Carousel */
.cinematic-carousel {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(86, 176, 255, 0.15);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 520px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 2.5s ease, filter 1.5s ease;
}

.slide.active img {
    transform: scale(1.03);
    filter: brightness(1);
}

.caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 25, 45, 0.75);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #dcefff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 12px rgba(86, 176, 255, 0.25);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.slide.active .caption {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 25, 45, 0.6);
    border: none;
    color: #56b0ff;
    font-size: 32px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(86, 176, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* Events / Glow Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
}

.event-card {
    background: rgba(14, 36, 53, 0.5);
    border: 1px solid rgba(86, 176, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(86, 176, 255, 0.15);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(86, 176, 255, 0.35);
    border-color: rgba(86, 176, 255, 0.5);
}

/* Fleet 3D Canvas */
#fleet-canvas {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(86, 176, 255, 0.2);
}