:root {
    --primary: #2ecc71;
    --primary-glow: rgba(46, 204, 113, 0.6);
    --bg-dark: #020504;
    --text-white: #f0fdf4;
    --text-muted: #88a094;
    --interface-glass: rgba(0, 0, 0, 0.7);
    --tech-font: 'Share Tech Mono', monospace;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@font-face {
    font-family: 'Hytale';
    src: url('https://fonts.cdnfonts.com/s/14873/Minecraftia-Regular.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow: hidden;
    height: 100vh;
    height: -webkit-fill-available;
    touch-action: manipulation;
}

html {
    height: -webkit-fill-available;
}

/* --- ADVANCED HUD OVERLAYS --- */
.hud-scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.3;
}

.hud-glitch {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 2px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 2px);
    background-size: 40px 40px;
    z-index: 8000;
    pointer-events: none;
    opacity: 0.1;
}

.vignette {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.9) 130%);
    z-index: 7000;
    pointer-events: none;
}

/* --- HUD COORDINATES --- */
.hud-coords {
    position: fixed;
    font-family: var(--tech-font);
    font-size: 0.65rem;
    color: var(--primary);
    opacity: 0.4;
    z-index: 10000;
    letter-spacing: 2px;
}

.top-left { top: 30px; left: 30px; }
.top-right { top: 30px; right: 30px; }
.bottom-left { bottom: 30px; left: 30px; }
.bottom-right { bottom: 30px; right: 30px; }

/* --- MAIN INTERFACE --- */
.main-interface {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.interface-content {
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

/* --- BRANDING --- */
.branding-header {
    position: relative;
    margin-bottom: 20px;
}

.glitch-logo {
    max-width: 450px;
    width: 100%;
    filter: drop-shadow(0 0 30px var(--primary-glow));
}

.aura-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70%; height: 70%;
    background: var(--primary-glow);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
}

.hytale-alo-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.hytale-text, .alo-text {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 8px;
    color: var(--text-white);
    opacity: 0.5;
}

.cross-icon {
    width: 15px;
    height: 15px;
    background: var(--primary);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--primary);
}

/* --- SIMPLE VR FRAME --- */
.vr-frame {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.title-main {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 4px;
}

.tagline {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- ACTION FOOTER --- */
.action-footer {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.tech-social {
    color: var(--primary);
    text-decoration: none;
    font-family: var(--tech-font);
    font-size: 0.8rem;
    letter-spacing: 3px;
    transition: var(--transition);
}

.tech-social:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-glow);
}

.tech-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.1);
}

/* --- REVEAL --- */
.reveal-ready {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-active {
    opacity: 1;
    transform: scale(1);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .title-main { font-size: 1.8rem; letter-spacing: 3px; }
    .vr-frame { padding: 30px 15px; max-width: 90%; }
    .hytale-alo-lockup { flex-direction: column; gap: 10px; margin-bottom: 30px; }
    .hytale-text, .alo-text { font-size: 0.6rem; letter-spacing: 4px; }
    .hud-coords { display: none; }
    .action-footer { flex-direction: column; gap: 15px; margin-top: 40px; }
    .tech-social { font-size: 0.7rem; }
    .tech-divider { display: none; }
    .glitch-logo { max-width: 80%; }
}
