* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0e27;
    color: #fff;
}

/* ===== REVEAL PAGE STYLES ===== */

.reveal-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Hero Container */
.hero-container {
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f0f2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.logo-wrapper {
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

/* Dual Logo Display */
.dual-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(102, 126, 234, 0.3));
    transition: transform 0.3s ease;
}

.faze-logo {
    animation: logoFloat 3s ease-in-out infinite;
}

.biomeforge-logo {
    animation: logoFloat 3.5s ease-in-out infinite 0.5s;
}

.logo-divider {
    font-size: 3rem;
    color: #667eea;
    font-weight: 300;
    opacity: 0.6;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
    letter-spacing: 3px;
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #b4c7e7;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #667eea;
    animation: fadeIn 1.2s ease-out 0.6s both;
}

.scroll-arrow {
    font-size: 28px;
    animation: bounce 2s infinite;
}

/* Image Reveal Section */
.image-reveal-section {
    padding: 100px 50px;
    background: #0a0e27;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reveal-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1400px;
    width: 100%;
}

.reveal-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-image:hover {
    transform: scale(1.05) translateY(0);
}

.reveal-image.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reveal-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.reveal-image:hover .image-overlay {
    transform: translateY(0);
}

/* Video Section */
.video-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.video-section.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    padding: 0;
    margin: 0;
    z-index: 9999;
    background: #000;
    border-radius: 0;
}

.video-section.fullscreen-mode .video-title {
    display: none;
}

.video-section.fullscreen-mode .video-message {
    display: none;
}

.video-container {
    max-width: 1000px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    transition: all 0.5s ease;
    aspect-ratio: 16/9;
}

.video-container.fullscreen-mode {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    aspect-ratio: auto;
}

.video-container iframe {
    display: block;
    border-radius: 15px;
    width: 100%;
    height: 100%;
}

.video-message {
    text-align: center;
    color: #8b95b8;
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

/* Map Transition Section */
.map-transition {
    padding: 100px 50px;
    background: linear-gradient(135deg, #0f1229 0%, #1a2847 100%);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.transition-text {
    font-size: 1.3rem;
    color: #b4c7e7;
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.enter-map-btn {
    padding: 18px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.enter-map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.enter-map-btn:active {
    transform: translateY(-1px);
}

/* Map Section */
.map-section {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes cutoutWiggle {
    0%, 100% {
        transform: rotate(0deg) translateX(0);
    }
    25% {
        transform: rotate(2deg) translateX(5px);
    }
    75% {
        transform: rotate(-2deg) translateX(-5px);
    }
}

@keyframes cutoutDance {
    0% {
        transform: scaleX(1) scale(0.25);
    }
    25% {
        transform: scaleX(-1) scale(0.8);
    }
    50% {
        transform: scaleX(1) scale(1.5);
    }
    75% {
        transform: scaleX(-1) scale(2);
    }
    100% {
        transform: scaleX(1) scale(0.25);
    }
}

@keyframes cutoutBounce {
    0%, 100% {
        transform: translateY(0) scaleX(1) scale(1) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-50px) scaleX(-1) scale(1.1) rotateX(-10deg) rotateY(15deg);
    }
    50% {
        transform: translateY(-100px) scaleX(1) scale(1.2) rotateX(5deg) rotateY(-15deg);
    }
    75% {
        transform: translateY(-30px) scaleX(-1) scale(1) rotateX(-5deg) rotateY(10deg);
    }
}

@keyframes cutoutSpin {
    0% {
        transform: rotate(0deg) scale(0.5) scaleX(1) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: rotate(90deg) scale(1) scaleX(-1) rotateX(20deg) rotateY(20deg);
    }
    50% {
        transform: rotate(180deg) scale(1.3) scaleX(1) rotateX(-20deg) rotateY(-20deg);
    }
    75% {
        transform: rotate(270deg) scale(1) scaleX(-1) rotateX(20deg) rotateY(-20deg);
    }
    100% {
        transform: rotate(360deg) scale(0.5) scaleX(1) rotateX(0deg) rotateY(0deg);
    }
}

@keyframes cutoutFountain {
    0% {
        transform: translateY(0) translateX(0) scale(1) scaleX(1) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-60px) translateX(40px) scale(1.2) scaleX(-1) rotateX(-15deg) rotateY(20deg);
    }
    50% {
        transform: translateY(-100px) translateX(0) scale(1.4) scaleX(1) rotateX(10deg) rotateY(-20deg);
    }
    75% {
        transform: translateY(-60px) translateX(-40px) scale(1.2) scaleX(-1) rotateX(-10deg) rotateY(15deg);
    }
    100% {
        transform: translateY(0) translateX(0) scale(1) scaleX(1) rotateX(0deg) rotateY(0deg);
    }
}

@keyframes cutoutWiggleCrazy {
    0% {
        transform: rotate(0deg) translateX(0) scale(0.8) scaleX(1) rotateX(0deg) rotateY(0deg);
    }
    10% {
        transform: rotate(-10deg) translateX(-20px) scale(1.1) scaleX(-1) rotateX(15deg) rotateY(-15deg);
    }
    20% {
        transform: rotate(10deg) translateX(20px) scale(0.9) scaleX(1) rotateX(-15deg) rotateY(15deg);
    }
    30% {
        transform: rotate(-15deg) translateX(-15px) scale(1.2) scaleX(-1) rotateX(20deg) rotateY(-20deg);
    }
    40% {
        transform: rotate(15deg) translateX(25px) scale(1) scaleX(1) rotateX(-20deg) rotateY(20deg);
    }
    50% {
        transform: rotate(-20deg) translateX(-25px) scale(1.3) scaleX(-1) rotateX(25deg) rotateY(-25deg);
    }
    60% {
        transform: rotate(20deg) translateX(10px) scale(0.95) scaleX(1) rotateX(-15deg) rotateY(10deg);
    }
    70% {
        transform: rotate(-12deg) translateX(-12px) scale(1.15) scaleX(-1) rotateX(10deg) rotateY(-15deg);
    }
    80% {
        transform: rotate(12deg) translateX(18px) scale(1.05) scaleX(1) rotateX(-10deg) rotateY(12deg);
    }
    90% {
        transform: rotate(-8deg) translateX(-10px) scale(1.1) scaleX(-1) rotateX(12deg) rotateY(-10deg);
    }
    100% {
        transform: rotate(0deg) translateX(0) scale(0.8) scaleX(1) rotateX(0deg) rotateY(0deg);
    }
}

@keyframes cutoutShake {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1) scaleX(1) rotateX(0deg) rotateY(0deg);
    }
    10% {
        transform: translateX(-15px) translateY(-15px) scale(1.1) scaleX(-1) rotateX(8deg) rotateY(-8deg);
    }
    20% {
        transform: translateX(15px) translateY(15px) scale(1.2) scaleX(1) rotateX(-8deg) rotateY(8deg);
    }
    30% {
        transform: translateX(-15px) translateY(15px) scale(1.05) scaleX(-1) rotateX(10deg) rotateY(-10deg);
    }
    40% {
        transform: translateX(15px) translateY(-15px) scale(1.15) scaleX(1) rotateX(-10deg) rotateY(10deg);
    }
    50% {
        transform: translateX(-20px) translateY(0) scale(1.25) scaleX(-1) rotateX(12deg) rotateY(-12deg);
    }
    60% {
        transform: translateX(20px) translateY(0) scale(1.1) scaleX(1) rotateX(-12deg) rotateY(12deg);
    }
    70% {
        transform: translateX(-10px) translateY(-10px) scale(1.2) scaleX(-1) rotateX(8deg) rotateY(-8deg);
    }
    80% {
        transform: translateX(10px) translateY(10px) scale(1.05) scaleX(1) rotateX(-8deg) rotateY(8deg);
    }
    90% {
        transform: translateX(-5px) translateY(-5px) scale(1.15) scaleX(-1) rotateX(5deg) rotateY(-5deg);
    }
}

@keyframes cutoutFlip {
    0% {
        transform: rotateY(0deg) rotateX(0deg) scale(1) scaleX(1);
    }
    25% {
        transform: rotateY(180deg) rotateX(45deg) scale(1.2) scaleX(-1);
    }
    50% {
        transform: rotateY(360deg) rotateX(90deg) scale(1.3) scaleX(1);
    }
    75% {
        transform: rotateY(540deg) rotateX(45deg) scale(1.2) scaleX(-1);
    }
    100% {
        transform: rotateY(720deg) rotateX(0deg) scale(1) scaleX(1);
    }
}

.cutout-wiggle {
    animation: cutoutWiggle 0.3s ease-in-out !important;
}

.cutout-dance {
    animation: cutoutDance 10s ease-in-out !important;
}

.cutout-bounce {
    animation: cutoutBounce 10s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

.cutout-spin {
    animation: cutoutSpin 10s linear forwards !important;
}

.cutout-fountain {
    animation: cutoutFountain 10s ease-in-out forwards !important;
}

.cutout-wiggle-crazy {
    animation: cutoutWiggleCrazy 10s ease-in-out forwards !important;
}

.cutout-shake {
    animation: cutoutShake 10s ease-in-out forwards !important;
}

.cutout-flip {
    animation: cutoutFlip 10s ease-in-out forwards !important;
}

.particle-gravity-bounce {
    animation: particleGravityBounce 8s ease-out forwards !important;
}

@keyframes particleGravityBounce {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.5) rotate(360deg);
    }
}

@keyframes jumpscareFade {
    0% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .reveal-title {
        font-size: 2rem;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .image-reveal-section,
    .video-section,
    .map-transition {
        padding: 50px 20px;
    }

    .dual-logo-container {
        gap: 20px;
        margin-bottom: 30px;
    }

    .brand-logo {
        max-width: 200px;
    }

    .logo-divider {
        font-size: 2rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 200px 40px 80px;
    background: linear-gradient(135deg, #0f1b2e 0%, #1a2332 100%);
    text-align: center;
    margin-top: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1400px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightboxImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.15) rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10001;
    align-items: center;
}

.lightbox-prev,
.lightbox-next {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.1));
    border: 2px solid rgba(102, 126, 234, 0.6);
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(102, 126, 234, 0.3));
    border-color: rgba(102, 126, 234, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.lightbox-zoom {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.1));
    border: 2px solid rgba(102, 126, 234, 0.6);
    color: white;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-zoom:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(102, 126, 234, 0.3));
    border-color: rgba(102, 126, 234, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.lightbox-zoom.zoomed {
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.4), rgba(255, 100, 100, 0.2));
    border-color: rgba(255, 100, 100, 0.8);
    box-shadow: 0 0 20px rgba(255, 100, 100, 0.3);
}

#lightboxImage {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

#lightboxImage.zoomed-in {
    cursor: zoom-out;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .reveal-title {
        font-size: 1.5rem;
    }

    .dual-logo-container {
        flex-direction: column;
        gap: 20px;
    }

    .logo-divider {
        transform: rotate(90deg);
        margin: 0;
    }

    .brand-logo {
        max-width: 150px;
    }

    .video-container {
        height: 300px;
    }

    .video-container iframe {
        height: 300px;
    }
}
