/**
 * HytaleDock Main Stylesheet
 * Version: 2.0
 * Extracted from inline styles for better performance
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* High contrast colors - WCAG AAA compliant */
    --hytale-orange: #FFB347;
    --hytale-orange-bright: #FFCC66;
    --hytale-orange-glow: rgba(255, 179, 71, 0.4);
    --hytale-blue: #7DD3FC;
    --hytale-green: #6EE7B7;
    --hytale-red: #FCA5A5;
    --hytale-purple: #C4B5FD;
    --hytale-gold: #FDE047;
    --hytale-dark: #0a0a14;
    --hytale-darker: #050508;
    --hytale-card: #151520;
    --hytale-card-hover: #1e1e30;
    --border-color: rgba(255,255,255,0.12);
    --border-glow: rgba(255, 179, 71, 0.4);
    /* High contrast text - minimum 4.5:1 ratio */
    --text-primary: #FFFFFF;
    --text-secondary: #E8E8E8;
    --text-muted: #B8B8B8;
    --text-link: #FFB347;
    --text-link-hover: #FFCC66;
    /* Enhanced shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.5);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 40px var(--hytale-orange-glow);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--border-color);
    --glass-bg: rgba(18, 18, 31, 0.9);
    --glass-border: rgba(255,255,255,0.15);
}

/* ==========================================
   RESET & BASE
   ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--hytale-darker);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(245, 176, 65, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(93, 173, 226, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(155, 89, 182, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 { 
    font-family: 'Space Grotesk', sans-serif; 
    font-weight: 700; 
    line-height: 1.2; 
    color: var(--text-primary); 
}

a { 
    color: var(--text-link); 
    text-decoration: none; 
    transition: all 0.3s ease; 
}

a:hover { 
    color: var(--text-primary); 
    text-shadow: 0 0 10px var(--hytale-orange-glow); 
}

.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

/* ==========================================
   HEADER
   ========================================== */
.site-header { 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    background: var(--glass-bg); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
    border-bottom: 1px solid var(--glass-border); 
    box-shadow: var(--shadow-md); 
    transition: all 0.3s ease; 
}

.site-header.scrolled { 
    background: rgba(5, 5, 8, 0.95); 
    box-shadow: var(--shadow-lg), 0 1px 0 var(--border-glow); 
}

.header-inner { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 1rem 0; 
    gap: 2rem; 
}

.logo { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--text-primary); 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    transition: all 0.3s ease; 
}

.logo:hover { 
    color: var(--hytale-orange); 
    transform: scale(1.05); 
    text-shadow: var(--shadow-glow); 
}

.logo i { 
    color: var(--hytale-orange); 
    font-size: 1.75rem; 
    filter: drop-shadow(0 0 8px var(--hytale-orange-glow)); 
}

/* Navigation */
.nav-menu { 
    display: flex; 
    align-items: center; 
    gap: 0.25rem; 
    list-style: none; 
    flex-wrap: wrap; 
}

.nav-menu a { 
    display: flex; 
    align-items: center; 
    gap: 0.35rem; 
    padding: 0.6rem 0.85rem; 
    color: var(--text-secondary); 
    font-weight: 500; 
    font-size: 0.9rem; 
    border-radius: 0.5rem; 
    transition: all 0.3s ease; 
    position: relative; 
    white-space: nowrap; 
}

.nav-menu a::before { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    width: 0; 
    height: 2px; 
    background: var(--hytale-orange); 
    transition: all 0.3s ease; 
    transform: translateX(-50%); 
}

.nav-menu a:hover { 
    color: var(--text-primary); 
    background: rgba(255,255,255,0.05); 
}

.nav-menu a:hover::before { width: 60%; }
.nav-menu i { font-size: 0.95rem; }

/* ==========================================
   BUTTONS
   ========================================== */
.btn-discord { 
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%); 
    color: #fff !important; 
    padding: 0.75rem 1.5rem !important; 
    border-radius: 0.75rem; 
    font-weight: 700; 
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.5); 
    transition: all 0.3s ease; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3); 
}

.btn-discord:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.7); 
    color: #fff !important; 
}

.btn-discord::before { display: none; }

.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    padding: 0.875rem 1.75rem; 
    font-weight: 600; 
    font-size: 0.95rem; 
    border: none; 
    border-radius: 0.75rem; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    text-decoration: none; 
    position: relative; 
    overflow: hidden; 
}

.btn::after { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 0; 
    height: 0; 
    background: rgba(255,255,255,0.2); 
    border-radius: 50%; 
    transform: translate(-50%, -50%); 
    transition: width 0.6s, height 0.6s; 
}

.btn:hover::after { width: 300px; height: 300px; }

.btn-primary { 
    background: linear-gradient(135deg, var(--hytale-orange) 0%, #E67E22 100%); 
    color: #000; 
    box-shadow: 0 4px 20px var(--hytale-orange-glow); 
}

.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 30px var(--hytale-orange-glow); 
}

.btn-secondary { 
    background: var(--hytale-card); 
    color: var(--text-primary); 
    border: 1px solid var(--border-color); 
}

.btn-secondary:hover { 
    background: var(--hytale-card-hover); 
    border-color: var(--hytale-orange); 
}

.btn-success { 
    background: linear-gradient(135deg, var(--hytale-green) 0%, #27AE60 100%); 
    color: #fff; 
}

.btn-danger { 
    background: linear-gradient(135deg, var(--hytale-red) 0%, #C0392B 100%); 
    color: #fff; 
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ==========================================
   CARDS
   ========================================== */
.card { 
    background: var(--hytale-card); 
    border: 1px solid var(--border-color); 
    border-radius: 1rem; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: var(--shadow-card); 
    position: relative; 
}

.card::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 3px; 
    background: linear-gradient(90deg, var(--hytale-orange), var(--hytale-blue), var(--hytale-purple)); 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.card:hover { 
    transform: translateY(-8px); 
    border-color: var(--border-glow); 
    box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 176, 65, 0.15); 
}

.card:hover::before { opacity: 1; }

.card-image { 
    height: 160px; 
    background: linear-gradient(135deg, var(--hytale-darker) 0%, var(--hytale-card) 100%); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    overflow: hidden; 
}

.card-image::after { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, var(--hytale-card), transparent); 
}

.card-image i { 
    font-size: 3rem; 
    color: var(--hytale-orange); 
    filter: drop-shadow(0 0 20px var(--hytale-orange-glow)); 
    transition: transform 0.3s ease; 
}

.card:hover .card-image i { transform: scale(1.2) rotate(5deg); }

.card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
}

.card:hover .card-image img { transform: scale(1.1); }

.card-body { padding: 1.25rem; }

.card-title { 
    font-size: 1.1rem; 
    font-weight: 600; 
    margin-bottom: 0.5rem; 
    color: var(--text-primary); 
}

.card-desc { 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    margin-bottom: 1rem; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.card-meta { 
    display: flex; 
    gap: 1rem; 
    color: var(--text-muted); 
    font-size: 0.85rem; 
}

.card-meta span { 
    display: flex; 
    align-items: center; 
    gap: 0.35rem; 
}

.card-meta i { color: var(--hytale-orange); }

.cards-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 1.5rem; 
}

/* ==========================================
   HERO
   ========================================== */
.hero { 
    position: relative; 
    padding: 6rem 0 4rem; 
    text-align: center; 
    overflow: hidden; 
}

.hero::before { 
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: 50%; 
    width: 150%; 
    height: 150%; 
    background: radial-gradient(ellipse at center, var(--hytale-orange-glow) 0%, transparent 60%); 
    transform: translateX(-50%); 
    opacity: 0.15; 
    animation: heroGlow 8s ease-in-out infinite; 
}

@keyframes heroGlow { 
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.15; } 
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.2; } 
}

.hero h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    margin-bottom: 1rem; 
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--hytale-orange) 50%, var(--text-primary) 100%); 
    background-size: 200% auto; 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
    animation: shimmer 3s linear infinite; 
}

@keyframes shimmer { 
    0% { background-position: 200% center; } 
    100% { background-position: -200% center; } 
}

.hero p { 
    font-size: 1.25rem; 
    color: var(--text-secondary); 
    max-width: 700px; 
    margin: 0 auto 2.5rem; 
}

/* ==========================================
   SEARCH
   ========================================== */
.search-box { 
    display: flex; 
    max-width: 600px; 
    margin: 0 auto 3rem; 
    background: var(--hytale-card); 
    border-radius: 1rem; 
    overflow: hidden; 
    border: 1px solid var(--border-color); 
    box-shadow: var(--shadow-md); 
    transition: all 0.3s ease; 
}

.search-box:focus-within { 
    border-color: var(--hytale-orange); 
    box-shadow: var(--shadow-glow); 
}

.search-box input { 
    flex: 1; 
    padding: 1.25rem 1.5rem; 
    background: transparent; 
    border: none; 
    color: var(--text-primary); 
    font-size: 1rem; 
    outline: none; 
}

.search-box input::placeholder { color: var(--text-muted); }

.search-box button { 
    padding: 1.25rem 2rem; 
    background: linear-gradient(135deg, var(--hytale-orange) 0%, #E67E22 100%); 
    border: none; 
    color: #000; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-shadow: none; 
}

.search-box button:hover { filter: brightness(1.1); }

/* ==========================================
   STATS
   ========================================== */
.stats { 
    display: flex; 
    justify-content: center; 
    gap: 3rem; 
    flex-wrap: wrap; 
}

.stat { 
    text-align: center; 
    padding: 1.5rem; 
    background: var(--glass-bg); 
    border-radius: 1rem; 
    border: 1px solid var(--glass-border); 
    backdrop-filter: blur(10px); 
    min-width: 120px; 
    transition: all 0.3s ease; 
}

.stat:hover { 
    transform: translateY(-5px); 
    border-color: var(--hytale-orange); 
    box-shadow: var(--shadow-glow); 
}

.stat-value { 
    font-size: 2.5rem; 
    font-weight: 700; 
    font-family: 'Space Grotesk', sans-serif; 
    background: linear-gradient(135deg, var(--hytale-orange), var(--hytale-gold)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}

.stat-label { 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    margin-top: 0.25rem; 
}

/* ==========================================
   SECTIONS
   ========================================== */
.section { margin-bottom: 4rem; }

.section-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    margin-bottom: 2rem; 
    flex-wrap: wrap; 
    gap: 1rem; 
}

.section-title { 
    font-size: 1.75rem; 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
}

.section-title i { 
    color: var(--hytale-orange); 
    filter: drop-shadow(0 0 8px var(--hytale-orange-glow)); 
}

/* ==========================================
   TABS
   ========================================== */
.tabs { 
    display: flex; 
    gap: 0.5rem; 
    background: var(--hytale-card); 
    padding: 0.35rem; 
    border-radius: 0.75rem; 
    border: 1px solid var(--border-color); 
}

.tab { 
    padding: 0.75rem 1.25rem; 
    background: transparent; 
    border: none; 
    color: var(--text-secondary); 
    font-weight: 500; 
    cursor: pointer; 
    border-radius: 0.5rem; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}

.tab:hover { 
    color: var(--text-primary); 
    background: rgba(255,255,255,0.08); 
}

.tab.active { 
    background: var(--hytale-orange); 
    color: #000; 
    font-weight: 700; 
    box-shadow: 0 4px 15px var(--hytale-orange-glow); 
}

/* ==========================================
   CATEGORIES
   ========================================== */
.categories-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 1rem; 
}

.category-card { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    padding: 1.25rem; 
    background: var(--hytale-card); 
    border: 1px solid var(--border-color); 
    border-radius: 1rem; 
    transition: all 0.3s ease; 
    box-shadow: var(--shadow-sm); 
}

.category-card:hover { 
    transform: translateX(8px); 
    border-color: var(--hytale-orange); 
    box-shadow: var(--shadow-md); 
}

.category-icon { 
    width: 50px; 
    height: 50px; 
    background: linear-gradient(135deg, var(--hytale-orange) 0%, #E67E22 100%); 
    border-radius: 0.75rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    color: #000; 
    box-shadow: 0 4px 15px var(--hytale-orange-glow); 
}

.category-name { font-weight: 600; color: var(--text-primary); }
.category-count { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state { 
    text-align: center; 
    padding: 4rem 2rem; 
    color: var(--text-muted); 
}

.empty-state i { 
    font-size: 4rem; 
    margin-bottom: 1rem; 
    opacity: 0.5; 
}

.empty-state p { margin-bottom: 1.5rem; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer { 
    background: var(--hytale-darker); 
    border-top: 1px solid var(--border-color); 
    padding: 4rem 0 2rem; 
    margin-top: 6rem; 
    position: relative; 
}

.site-footer::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 1px; 
    background: linear-gradient(90deg, transparent, var(--hytale-orange), transparent); 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 2.5rem; 
    margin-bottom: 2.5rem; 
}

.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.footer-title { font-weight: 700; font-size: 1rem; margin-bottom: 1.25rem; color: var(--text-primary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a { 
    color: var(--text-secondary); 
    font-size: 0.95rem; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    transition: all 0.3s ease; 
    font-weight: 500; 
}

.footer-links a:hover { 
    color: var(--hytale-orange); 
    transform: translateX(5px); 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 2rem; 
    border-top: 1px solid var(--border-color); 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
}

.footer-bottom a { 
    color: var(--hytale-orange-bright); 
    text-decoration: underline; 
    text-underline-offset: 3px; 
    font-weight: 500; 
}

.footer-bottom a:hover { color: var(--text-primary); }

/* ==========================================
   ALERTS
   ========================================== */
.alert { 
    padding: 1rem 1.5rem; 
    border-radius: 0.75rem; 
    margin-bottom: 1rem; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    animation: slideIn 0.3s ease; 
    box-shadow: var(--shadow-sm); 
}

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

.alert-success { 
    background: rgba(46, 204, 113, 0.15); 
    border: 1px solid var(--hytale-green); 
    color: var(--hytale-green); 
}

.alert-error { 
    background: rgba(231, 76, 60, 0.15); 
    border: 1px solid var(--hytale-red); 
    color: var(--hytale-red); 
}

.alert-info {
    background: rgba(52, 152, 219, 0.15);
    border: 1px solid var(--hytale-blue);
    color: var(--hytale-blue);
}

.alert-close { 
    background: none; 
    border: none; 
    color: inherit; 
    cursor: pointer; 
    font-size: 1.25rem; 
    opacity: 0.7; 
    transition: opacity 0.3s; 
}

.alert-close:hover { opacity: 1; }

/* ==========================================
   HAMBURGER MENU - Mobile Only
   ========================================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: rgba(232, 160, 51, 0.1);
    border: 2px solid var(--hytale-orange);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-btn:hover { background: rgba(232, 160, 51, 0.2); }

.hamburger-line {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--hytale-orange);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 12, 16, 0.98);
    z-index: 9999;
    padding: 20px;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-overlay.active { display: flex; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.mobile-logo i { color: var(--hytale-orange); font-size: 1.5rem; }

.mobile-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--hytale-orange);
    border-radius: 8px;
    color: var(--hytale-orange);
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.mobile-close-btn:hover { background: rgba(232, 160, 51, 0.2); }

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-nav a:hover { 
    background: rgba(232, 160, 51, 0.15); 
    color: var(--hytale-orange); 
}

.mobile-nav a i { 
    font-size: 1.3rem; 
    color: var(--hytale-orange); 
    width: 28px; 
}

.mobile-menu-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: var(--hytale-orange);
    color: #000 !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.mobile-cta-btn:hover { background: #F5B041; transform: scale(1.02); }
.mobile-cta-btn.btn-discord { background: #5865F2; color: #fff !important; }
.mobile-cta-btn.btn-discord:hover { background: #7289DA; }

/* ==========================================
   ANIMATIONS
   ========================================== */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

.glow-text { 
    text-shadow: 0 0 20px var(--hytale-orange-glow), 0 0 40px var(--hytale-orange-glow); 
}

[data-ai-fact] { position: relative; }
[data-ai-anchor] { scroll-margin-top: 80px; }

/* ==========================================
   ACCESSIBILITY
   ========================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--hytale-orange);
    outline-offset: 2px;
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
    .hamburger-btn { display: flex; }
    .desktop-nav { display: none; }
    .header-inner { flex-wrap: nowrap; }
    .stats { gap: 1rem; }
    .stat { min-width: 100px; padding: 1rem; }
    .stat-value { font-size: 1.75rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 1rem; }
    .search-box { flex-direction: column; }
    .search-box button { width: 100%; }
    .cards-grid { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================
   PARTICLES (optional - for performance can be disabled)
   ========================================== */
.particles { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    pointer-events: none; 
    z-index: -1; 
    overflow: hidden; 
}

.particle { 
    position: absolute; 
    width: 4px; 
    height: 4px; 
    background: var(--hytale-orange); 
    border-radius: 50%; 
    opacity: 0.3; 
    animation: float 20s infinite; 
}

@keyframes float { 
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 
    10% { opacity: 0.3; } 
    90% { opacity: 0.3; } 
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; } 
}
