:root {
    --hytale-gold: #ffcc33;
    --hytale-cyan: #48f7f7;
    --bg-dark: #0d140f;
    --text-light: #f5e6d3;
    --discord-blurple: #5865F2;
    --stone-base: #7a7366; 
    --texture: url('https://www.transparenttextures.com/patterns/base.png');
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #1a2e23 0%, #0a0f0c 100%);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.container {
    text-align: center;
    z-index: 10;
}

/* TÍTULO PÍXEL PROFESIONAL */
.pixel-title {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    line-height: 1.5;
    margin: 0;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.5), 0 0 20px rgba(72, 247, 247, 0.2);
    animation: fadeIn 1s ease-out;
}

.pixel-title span { color: var(--hytale-gold); }

/* ESTADO Y TEXTOS */
.status-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--hytale-cyan);
    color: var(--hytale-cyan);
    font-size: 0.8rem;
    letter-spacing: 4px;
    margin: 25px 0;
    background: rgba(72, 247, 247, 0.1);
}

h2 {
    font-family: 'Cinzel', serif;
    color: var(--hytale-gold);
    letter-spacing: 2px;
    font-size: 1.2rem;
}

p {
    opacity: 0.8;
    max-width: 500px;
    margin: 10px auto;
}

/* --- BOTÓN DISCORD ANIMADO --- */
.social-section {
    margin-top: 35px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--discord-blurple);
    color: white;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    padding: 12px 35px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 0px #3c45a5;
    animation: pulseDiscord 2s infinite;
}

.discord-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background-color: #4752c4;
    box-shadow: 0 9px 0px #3c45a5, 0 0 25px rgba(88, 101, 242, 0.5);
}

/* --- DECORACIONES HYTALE (PICO/HACHA) --- */
.item {
    position: absolute;
    font-size: 3.5rem;
    opacity: 0.25;
    z-index: 1;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.6));
    user-select: none;
}

.decoration-pickaxe {
    top: 15%;
    left: 8%;
    animation: floatItems 7s infinite ease-in-out;
}

.decoration-axe {
    bottom: 15%;
    right: 8%;
    animation: floatItems 6s infinite ease-in-out reverse;
}

/* --- CUBO 3D ANIMADO --- */
.scene { width: 120px; height: 120px; margin: 50px auto; perspective: 1000px; position: relative; }
.cube { width: 80px; height: 80px; position: absolute; left: 20px; transform-style: preserve-3d; animation: spin 10s infinite linear, float 3s ease-in-out infinite; }
.face { position: absolute; width: 80px; height: 80px; background-color: var(--stone-base); background-image: var(--texture); border: 2px solid rgba(0,0,0,0.2); box-sizing: border-box; }

.front  { transform: translateZ(40px); filter: brightness(1); }
.back   { transform: rotateY(180deg) translateZ(40px); filter: brightness(0.6); }
.left   { transform: rotateY(-90deg) translateZ(40px); filter: brightness(0.8); }
.right  { transform: rotateY(90deg) translateZ(40px); filter: brightness(0.9); }
.top    { transform: rotateX(90deg) translateZ(40px); filter: brightness(1.2); }
.bottom { transform: rotateX(-90deg) translateZ(40px); filter: brightness(0.4); }

.shadow { width: 60px; height: 15px; background: rgba(0,0,0,0.4); border-radius: 50%; position: absolute; bottom: -30px; left: 30px; filter: blur(8px); animation: shadowScale 3s ease-in-out infinite; }

/* --- KEYFRAMES --- */
@keyframes spin { 0% { transform: rotateX(-20deg) rotateY(0deg); } 100% { transform: rotateX(-20deg) rotateY(360deg); } }
@keyframes float { 0%, 100% { top: 0px; } 50% { top: -30px; } }
@keyframes shadowScale { 0%, 100% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(0.6); opacity: 0.15; } }

@keyframes floatItems {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(20deg); }
}

@keyframes pulseDiscord {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer { margin-top: 50px; opacity: 0.4; font-size: 0.8rem; letter-spacing: 1px; }