:root {
    /* HyperScape Color Palette */
    --color-bg-dark: #0a0c10;
    --color-bg-darker: #050608;
    --color-accent-primary: #ff8c00;
    /* Vibrant Orange */
    --color-accent-secondary: #ffb300;
    /* Yellow-Orange */
    --color-accent-blue: #00d2ff;
    /* Cyan/Blue for tech accents */
    --color-text-main: #f0f4f8;
    --color-text-muted: #8b9bb4;

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Layout styling */
    --panel-border: rgba(255, 140, 0, 0.3);
    --panel-border-hover: rgba(255, 140, 0, 0.8);
    --glass-bg: rgba(10, 12, 16, 0.75);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg-darker);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 140, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.05) 0%, transparent 50%);
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--color-accent-primary);
    box-shadow: 0 5px 25px rgba(255, 140, 0, 0.15);
}

.starfield-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    animation: fadeIn 1s ease-out forwards;
}

.main-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--color-text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
        3px 3px 0 var(--color-accent-primary),
        -2px -2px 0 rgba(0, 210, 255, 0.5);
    margin-bottom: 1rem;
    line-height: 1;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-accent-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent-primary), transparent);
    margin: 2rem auto 0;
}

/* Main Content area */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    /* Slightly sharp corners */
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 140, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent-primary);
}

.glass-panel:hover {
    border-color: var(--panel-border-hover);
    box-shadow: 0 10px 40px rgba(255, 140, 0, 0.1), inset 0 0 20px rgba(255, 140, 0, 0.1);
    transform: translateY(-2px);
}

.section-title {
    color: var(--color-accent-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent-primary), transparent);
    opacity: 0.5;
}

.info-section p {
    margin-bottom: 1.5rem;
}

.info-section p:last-child {
    margin-bottom: 0;
}

/* Video Carousel styling */
.video-carousel {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 65%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    z-index: 1;
    transform: translateX(0) scale(0.6) translateZ(-200px);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    background: #000;
}

.carousel-item-title {
    position: absolute;
    top: -2.5rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--color-text-main);
    font-size: 1.25rem;
    letter-spacing: 2px;
    font-family: var(--font-heading);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(10px);
    pointer-events: none;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.8), 2px 2px 0 rgba(0, 0, 0, 0.8);
}

.carousel-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
    pointer-events: none;
    /* Disabled for non-active items */
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.5);
    transition: background 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

.carousel-item:hover .item-overlay {
    background: rgba(10, 12, 16, 0.3);
    box-shadow: inset 0 0 20px rgba(255, 140, 0, 0.2);
}

/* Active item */
.carousel-item.active {
    opacity: 1;
    z-index: 5;
    transform: translateX(0) scale(1) translateZ(0);
    border-color: var(--color-accent-primary);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
}

.carousel-item.active .carousel-item-title {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item.active iframe {
    pointer-events: auto;
    /* Enable interaction only on active video */
}

.carousel-item.active .item-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Prev item */
.carousel-item.prev {
    opacity: 0.8;
    z-index: 4;
    transform: translateX(-40%) scale(0.8) translateZ(-100px);
    border-color: rgba(255, 140, 0, 0.4);
}

/* Next item */
.carousel-item.next {
    opacity: 0.8;
    z-index: 4;
    transform: translateX(40%) scale(0.8) translateZ(-100px);
    border-color: rgba(255, 140, 0, 0.4);
}

/* Left hidden items */
.carousel-item.hidden-left {
    opacity: 0;
    z-index: 1;
    transform: translateX(-80%) scale(0.6) translateZ(-200px);
}

/* Right hidden items */
.carousel-item.hidden-right {
    opacity: 0;
    z-index: 1;
    transform: translateX(80%) scale(0.6) translateZ(-200px);
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 12, 16, 0.8);
    border: 1px solid var(--color-accent-primary);
    color: var(--color-text-main);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(255, 140, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 768px) {
    .video-carousel {
        height: 300px;
    }

    .carousel-item {
        width: 80%;
    }

    .carousel-item.prev {
        transform: translateX(-25%) scale(0.8) translateZ(-100px);
    }

    .carousel-item.next {
        transform: translateX(25%) scale(0.8) translateZ(-100px);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 3rem 1rem;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    background: var(--color-bg-dark);
    position: relative;
}

.site-footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-accents {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.accent-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-primary);
    transform: rotate(45deg);
    opacity: 0.5;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glass-panel {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* First Look Button & Video Container */
.first-look-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-main);
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid var(--color-accent-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.first-look-btn:hover {
    background: rgba(255, 140, 0, 0.25);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
    transform: translateY(-2px);
}

.play-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-accent-primary);
    transition: all 0.3s ease;
}

.first-look-btn:hover .play-icon {
    filter: drop-shadow(0 0 5px var(--color-accent-primary));
}

.main-wrapper {
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.8s ease;
    width: 100%;
    min-height: 100vh;
}

.main-wrapper.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    filter: blur(10px);
}

.first-look-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.first-look-video-container.active {
    opacity: 1;
    pointer-events: auto;
}

.close-video-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 4rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
    z-index: 1001;
    padding: 10px;
}

.close-video-btn:hover {
    color: var(--color-accent-primary);
    transform: scale(1.1) rotate(90deg);
}

.video-wrapper {
    width: 80%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    border: 2px solid var(--color-accent-primary);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 140, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.first-look-video-container.active .video-wrapper {
    transform: scale(1);
}

@media (max-width: 768px) {
    .video-wrapper {
        width: 95%;
    }

    .close-video-btn {
        top: 15px;
        right: 15px;
        font-size: 3rem;
    }
}



/* Join Section */
.join-section {
    margin-top: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.join-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.discord-placeholder {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.discord-placeholder:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.2);
}

.discord-icon {
    background: #5865F2;
    /* Discord brand color */
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.5);
}

.discord-placeholder h3 {
    font-size: 1.5rem;
    color: var(--color-text-main);
    letter-spacing: 1px;
}

.discord-placeholder p {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.discord-btn {
    background: #5865F2;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    max-width: 250px;
}

.discord-btn:hover {
    background: #4752C4;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}

/* Made By Tag */
.made-by {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
}

.made-by a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.made-by a:hover {
    color: var(--color-accent-secondary);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}