/* EarthLegacy.eu - Modern High-End Gaming & RP Portal Style */
/* Fonts loaded via <link> in HTML - no duplicate @import needed */

:root {
    --bg-dark: #07080b;
    --bg-card: rgba(14, 16, 23, 0.85);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(52, 211, 153, 0.4);
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --accent-discord: #5865f2;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

html, body {
    background-color: var(--bg-dark);
    color: #e2e8f0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: env(safe-area-inset-bottom);
}

.font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.025em;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Glass Bento Cards */
.bento-card {
    background: linear-gradient(180deg, rgba(18, 20, 31, 0.75) 0%, rgba(11, 13, 20, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
    .bento-card {
        border-radius: 24px;
    }
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

/* Subtle Glow Backdrop */
.hero-glow {
    position: absolute;
    width: min(100vw, 600px);
    height: min(100vw, 600px);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* Mobile Drawer Animation */
.mobile-drawer {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Prevent auto-zoom on mobile inputs */
@media screen and (max-width: 767px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #07080b;
}
::-webkit-scrollbar-thumb {
    background: #1e2230;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d3348;
}
