:root {
    /* Paleta Estricta */
    --bg-black: #0b0b0f;
    /* 80% */
    --primary-purple: #7b3fe4;
    /* 15% - Andromeda Accent */
    --accent-red: #8b0000;
    /* 5% - DarkZone Base (Limited) */
    --accent-pink: #ff6ec7;
    /* 5% - Secondary Accent */

    --text-main: #eaeaea;
    --text-white: #ffffff;

    /* Glass Vars */
    --glass-bg: rgba(11, 11, 15, 0.7);
    --glass-border: rgba(123, 63, 228, 0.3);
    /* Subtle purple border */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    /* Modern Sans-Serif for body */
    background-color: var(--bg-black);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;

    /* Galactic Grid Background */
    background-image:
        linear-gradient(rgba(123, 63, 228, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 63, 228, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Background Canvas (Stars) */
#starsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    /* Subtle stars */
}

/* Layout */
.main-container {
    padding: 20px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Liquid Glass Card */
.liquid-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    /* Reduced padding */
    text-align: center;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--glass-shadow);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Logo Section */
.logo-container {
    margin-bottom: 0.5rem;
    /* Reduced margin */
    display: flex;
    justify-content: center;
}

.glass-bg-logo {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid rgba(123, 63, 228, 0.2);
    box-shadow: 0 0 20px rgba(123, 63, 228, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 100px;
    /* Reduced minimum */
}

.hero-image {
    max-width: 100%;
    height: auto;
    width: 380px;
    /* Increased default width */
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(123, 63, 228, 0.4));
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.08);
}

/* Typography */
.pre-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    /* Smaller */
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
    color: var(--text-gray);
    text-transform: uppercase;
    opacity: 0.9;
}

.pixel-title {
    font-family: 'VT323', monospace;
    font-size: clamp(2rem, 5vw, 3rem);
    /* Reduced max size */
    line-height: 0.9;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.6);
}

.subtitle {
    font-family: 'VT323', monospace;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    /* Reduced */
    color: var(--accent-pink);
    margin-bottom: 0.5rem;
    /* Tight margin */
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
}

.divider {
    height: 3px;
    width: 40px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    margin: 1rem auto;
    /* Compact */
    opacity: 0.8;
}

.description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    /* Smaller body */
    color: var(--text-main);
    margin-bottom: 1.5rem;
    /* Tight margin to button */
    line-height: 1.4;
    font-weight: 500;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Minecraft Modern Button */
.minecraft-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    /* Responsive font size */
    color: var(--text-white);
    padding: 16px 48px;
    /* Larger click area */
    background: var(--primary-purple);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-bottom: 6px solid rgba(0, 0, 0, 0.4);
    /* Stronger 3D effect */
    border-radius: 8px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy hover */
    width: auto;
}

.btn-text {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.minecraft-btn:hover {
    transform: translateY(-3px);
    background: #8a4af3;
    box-shadow: 0 10px 20px -5px rgba(123, 63, 228, 0.6);
    border-bottom: 6px solid rgba(0, 0, 0, 0.4);
}

.minecraft-btn:active {
    transform: translateY(3px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.4);
    box-shadow: none;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Optimization */
@media (max-width: 480px) {
    .main-container {
        padding: 15px;
        /* Optimize safe area */
    }

    .liquid-glass-card {
        padding: 2.5rem 1.2rem;
        /* Comfortable padding */
        border-radius: 20px;
        backdrop-filter: blur(16px);
        /* Stronger blur for mobile readability */
    }

    .glass-bg-logo {
        padding: 15px;
        min-height: auto;
    }

    .hero-image {
        max-width: 80%;
        /* Prevent logo looking too huge on small screens */
    }

    .minecraft-btn {
        width: 100%;
        /* Full width button on mobile for easy tapping */
        padding: 18px 20px;
    }

    .description {
        margin-bottom: 2.5rem;
    }
}