* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: #1a1a1a;
    color: #fff;
    height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Background */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #1a1a1a;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

/* Logo and Title */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.studio-name {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ff6b35;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700, #f7931e, #ff6b35);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    animation: gradientShift 8s ease-in-out infinite;
    -webkit-animation: gradientShift 8s ease-in-out infinite;
    will-change: background-position;
    backface-visibility: hidden;
}

.tagline {
    font-size: 1.2rem;
    color: #efefef;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Coming Soon Section */
.coming-soon {
    text-align: center;
    margin-bottom: 30px;
}

.coming-soon h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.7),
                 0 0 40px rgba(255, 107, 53, 0.5);
    letter-spacing: 6px;
}

.subtitle {
    font-size: 1.1rem;
    color: #d0d0d0;
    font-style: italic;
}

/* Embers */
.embers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ff6b35 0%, #f7931e 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: emberRise 8s ease-in infinite;
    box-shadow: 0 0 8px #ff6b35, 0 0 12px #f7931e;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

@keyframes emberRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(1);
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
        transform: translate3d(var(--drift), -50vh, 0) scale(1.2);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--drift), -110vh, 0) scale(0.5);
    }
}

/* Smoke */
.smoke-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    border: none;
    outline: none;
    background: transparent;
}

.smoke {
    position: absolute;
    bottom: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(200, 200, 200, 0.1) 20%,
        rgba(150, 150, 150, 0.08) 35%,
        rgba(100, 100, 100, 0.05) 50%,
        rgba(80, 80, 80, 0.03) 65%,
        rgba(60, 60, 60, 0.02) 80%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: smokeRise 20s ease-in-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.smoke-1 {
    left: -10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.smoke-2 {
    left: 20%;
    animation-delay: 5s;
    animation-duration: 20s;
}

.smoke-3 {
    left: 50%;
    animation-delay: 10s;
    animation-duration: 20s;
}

.smoke-4 {
    right: -10%;
    animation-delay: 15s;
    animation-duration: 20s;
}

@keyframes smokeRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(1);
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
        transform: translate3d(80px, calc(-50vh - 50px), 0) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: translate3d(120px, calc(-100vh - 100px), 0) scale(2);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .studio-name {
        font-size: 3rem;
        letter-spacing: 6px;
    }
    
    .coming-soon h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .studio-name {
        font-size: 2.8rem;
        letter-spacing: 4px;
        white-space: normal;
        word-spacing: 9999px;
        line-height: 1.2;
        max-width: 100%;
        overflow: visible;
        text-decoration: none;
        border: none;
    }
    
    .tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .coming-soon h2 {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo-container {
        margin-bottom: 20px;
    }
    
    .studio-name {
        font-size: 2.2rem;
        letter-spacing: 3px;
        white-space: normal;
        word-spacing: 9999px;
        line-height: 1.2;
        max-width: 100%;
        overflow: visible;
        text-decoration: none;
        border: none;
    }
    
    .tagline {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .coming-soon {
        margin-bottom: 20px;
    }
    
    .coming-soon h2 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 0.75rem;
    }
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
