:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary-color: #ffffff;
    --primary-hover: #f1f5f9;
    --secondary-color: #e91e63;
    --secondary-hover: #d81b60;
    --accent-gold: #ffd700;
    --accent-green: #00e676;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --container-width: 1200px;
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
* { font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(233, 30, 99, 0.08) 0%, transparent 20%);
}

/* Scroll Animation */
.scroll-fade-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-fade-up.revealed { opacity: 1; transform: translate3d(0, 0, 0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes rainbow-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
    height: var(--nav-height);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 204, 244, 0.1);
    transition: var(--transition);
}
.nav-container { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.logo-svg { color: var(--primary-color); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); flex-shrink: 0; }
.logo-img { height: 40px; width: auto; max-width: 200px; object-fit: contain; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); transition: var(--transition); position: relative; padding: 5px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; box-shadow: 0 0 5px var(--primary-color); }
.nav-links a:hover { color: var(--primary-color); }
.nav-links a:hover::after { width: 100%; }
.nav-register-btn { background: linear-gradient(135deg, #22c55e, #16a34a) !important; color: #fff !important; padding: 6px 18px !important; border-radius: 20px; font-size: 0.88rem !important; font-weight: 600; letter-spacing: 0.5px; box-shadow: 0 2px 10px rgba(34, 197, 94, 0.35); transition: all 0.25s ease !important; cursor: pointer; }
.nav-register-btn:hover { background: linear-gradient(135deg, #16a34a, #15803d) !important; box-shadow: 0 4px 16px rgba(34, 197, 94, 0.5); transform: translateY(-1px); }
.nav-register-btn::after { display: none !important; }

/* Hero Section */
.hero {
    position: relative; height: 100vh; width: 100%;
    background: url('./png/c6d2dd6a664242e2e5faa640d28c340b.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; overflow: hidden;
}
.hero-container { width: 100%; display: flex; padding-top: var(--nav-height); position: relative; z-index: 2; }
.hero-content { max-width: 650px; }

.server-status {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--bg-card); backdrop-filter: blur(12px);
    border: var(--glass-border); padding: 8px 16px; border-radius: 50px;
    margin-bottom: 20px; font-size: 0.9rem; color: #fff;
}
.status-dot { width: 10px; height: 10px; background-color: var(--accent-green); border-radius: 50%; box-shadow: 0 0 10px var(--accent-green); animation: pulse-glow 2s infinite; }
.highlight-green { background: linear-gradient(90deg, #00ff00, #32cd32, #00fa9a, #98fb98); background-size: 300% 300%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; animation: rainbow-flow 4s ease infinite; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)); border-left: 3px solid var(--primary-color); padding: 6px 16px; font-size: 0.85rem; color: var(--primary-color); margin-bottom: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.hero h1 { font-size: 4rem; line-height: 1.1; font-weight: 900; margin-bottom: 20px; letter-spacing: -1.5px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); color: #ffffff; }
.hero h1 .highlight { background: linear-gradient(90deg, #00ff00, #32cd32, #00fa9a, #98fb98, #00ff7f, #adff2f, #7cfc00); background-size: 400% 400%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; animation: rainbow-flow 5s ease infinite; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 40px; max-width: 520px; border-left: 2px solid rgba(255, 255, 255, 0.5); padding-left: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

.hero-features { display: flex; gap: 24px; margin-bottom: 40px; }
.h-feature { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 0.95rem; font-weight: 600; background: rgba(255, 255, 255, 0.05); padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); transition: var(--transition); }
.h-feature:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.3); }
.h-feature svg { color: var(--accent-green); filter: drop-shadow(0 0 5px var(--accent-green)); }

/* Buttons */
.hero-buttons { display: flex; gap: 24px; margin-bottom: 56px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 36px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: var(--transition); border: none; text-transform: uppercase; letter-spacing: 0.5px; position: relative; overflow: hidden; }
.btn-primary { background: var(--primary-color); color: var(--bg-dark); box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-4px) scale(1.02); box-shadow: 0 0 40px rgba(255, 255, 255, 0.4); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--primary-color); transform: translateY(-4px); box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); }

/* Minecraft Button */
.boton-minecraft { display: flex; align-items: center; gap: 10px; padding: 12px 24px; font-size: 18px; font-weight: bold; color: white; background-color: #228b22; border: none; border-radius: 8px; cursor: pointer; transition: background 0.3s, transform 0.1s, color 0.3s; position: relative; overflow: hidden; height: 56px; box-shadow: 0 4px 15px rgba(34, 139, 34, 0.4); }
.boton-minecraft:hover { background-color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); }
.boton-minecraft:active { transform: scale(0.98); }
.boton-minecraft svg { width: 28px; height: 28px; transition: transform 0.3s; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.boton-minecraft:hover svg { transform: scale(1.1) rotate(5deg); }

.texto-boton { position: relative; display: flex; justify-content: center; align-items: center; width: 140px; height: 24px; overflow: hidden; }
.texto-boton span { position: absolute; transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; white-space: nowrap; }
.texto-boton span:first-child { opacity: 1; transform: translateY(0); }
.texto-boton span:nth-child(2), .texto-boton span:nth-child(3) { opacity: 0; transform: translateY(10px); }
.boton-minecraft:hover .texto-boton span:first-child { opacity: 0; transform: translateY(-10px); }
.boton-minecraft:hover .texto-boton span:nth-child(2) { opacity: 1; transform: translateY(0); }

#toggle { display: none; }
#toggle:checked + .boton-minecraft { background-color: #f0f0f0; color: #1a1a1a; box-shadow: inset 0 2px 5px rgba(0,0,0,0.1); }
#toggle:checked + .boton-minecraft svg path { fill: #228b22; }
#toggle:checked + .boton-minecraft .texto-boton span:first-child,
#toggle:checked + .boton-minecraft .texto-boton span:nth-child(2) { opacity: 0; transform: translateY(-10px); }
#toggle:checked + .boton-minecraft .texto-boton span:nth-child(3) { opacity: 1; transform: translateY(0); }

/* Section shared overlay pattern */
.specs-section, .features-section, .gallery-section, .team-section, .help-section {
    position: relative; background-color: var(--bg-dark); background-attachment: fixed; background-size: cover; background-position: center; overflow: hidden;
}
.specs-section::before, .features-section::before, .gallery-section::before, .team-section::before, .help-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.specs-section .container, .features-section .container, .gallery-section .container, .team-section .container, .help-section .container { position: relative; z-index: 2; }

/* Specs Section */
.specs-section { padding: 60px 0; display: flex; align-items: center; content-visibility: auto; contain-intrinsic-size: auto 600px; }
.specs-section::before { background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(3px); }
.specs-section .container { text-align: center; }

.section-header { margin-bottom: 40px; opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 0.6s ease, transform 0.6s ease; text-align: center; }
.section-header.revealed { opacity: 1; transform: translate3d(0, 0, 0); }
.section-title { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 12px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.section-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto; }

.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }

.spec-card {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px; padding: 24px 20px; text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; transform: translate3d(0, 50px, 0); box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    contain: layout style;
}
.spec-card.revealed { opacity: 1; transform: translate3d(0, 0, 0); }
.spec-card:nth-child(1) { transition-delay: 0.1s; }
.spec-card:nth-child(2) { transition-delay: 0.2s; }
.spec-card:nth-child(3) { transition-delay: 0.3s; }
.spec-card:nth-child(4) { transition-delay: 0.4s; }
.spec-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-8px) scale(1.02); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 20px rgba(255, 255, 255, 0.1); }

.spec-icon-wrapper { width: 80px; height: 80px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.spec-card:hover .spec-icon-wrapper { transform: scale(1.1) rotate(5deg); }
.spec-icon-wrapper img { width: 72px; height: 72px; object-fit: contain; transition: var(--transition); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.spec-card:hover .spec-icon-wrapper img { transform: scale(1.1); filter: drop-shadow(0 8px 15px rgba(0,0,0,0.4)); }
.spec-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.spec-desc { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 16px; line-height: 1.4; }
.spec-value { font-size: 1rem; font-weight: 800; color: var(--accent-green); padding: 6px 12px; background: rgba(0, 230, 118, 0.1); border-radius: 6px; display: inline-block; border: 1px solid rgba(0, 230, 118, 0.3); }

/* Features Section */
.features-section { padding: 100px 0; content-visibility: auto; contain-intrinsic-size: auto 700px; }
.features-section::before { background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(5px); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.feature-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 30px; transition: var(--transition); display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; contain: layout style; }
.feature-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.feature-icon-wrapper { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; transition: var(--transition); }
.feature-card:hover .feature-icon-wrapper { transform: rotate(5deg) scale(1.1); }
.feature-icon { width: 100%; height: 100%; object-fit: contain; transition: var(--transition); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.feature-card:hover .feature-icon { filter: drop-shadow(0 8px 16px rgba(0, 188, 212, 0.4)); }

/* Gallery Section */
.gallery-section { padding: 100px 0; content-visibility: auto; contain-intrinsic-size: auto 800px; }
.gallery-section::before { background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(5px); }
.gallery-carousel-container { max-width: 1000px; margin: 50px auto 0; position: relative; }
.gallery-carousel-wrapper { width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,0.5); position: relative; border: 1px solid rgba(255,255,255,0.1); }
.gallery-active-image { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease-in-out; opacity: 1; }
.gallery-active-image.fade-out { opacity: 0; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding: 0 10px; }
.gallery-text-content { color: rgba(255, 255, 255, 0.9); font-size: 1rem; max-width: 70%; line-height: 1.6; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.gallery-nav-buttons { display: flex; gap: 15px; }
.nav-btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.nav-btn:hover { background: var(--primary-color); color: var(--bg-dark); transform: scale(1.1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }
.nav-btn:active { transform: scale(0.95); }

/* Team Section */
.team-section { padding: 100px 0; content-visibility: auto; contain-intrinsic-size: auto 600px; }
.team-section::before { background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(5px); }
.team-carousel-container { max-width: 800px; margin: 50px auto 0; position: relative; padding: 20px 0; }
.team-carousel-wrapper { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.team-card { flex: 0 0 280px; width: 280px; min-width: 0; background: transparent; border: none; border-radius: 20px; padding: 40px 30px; text-align: center; transition: var(--transition); display: flex; flex-direction: column; align-items: center; }
.team-card:hover { transform: translateY(-10px); }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; margin-bottom: 20px; overflow: hidden; border: 3px solid rgba(255, 255, 255, 0.2); box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: var(--transition); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-avatar { border-color: #4ade80; transform: scale(1.05); }
.team-name { font-size: 1.5rem; color: #fff; margin-bottom: 5px; }
.team-role { font-size: 0.9rem; color: #4ade80; letter-spacing: 1px; margin-bottom: 15px; font-weight: 600; }
.team-desc { font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

@keyframes fadeInUpBtn { to { opacity: 1; transform: translateY(0); } }
.team-contact-btn { display: inline-block; margin-top: 20px; padding: 10px 24px; background: #ffffff; color: #0f172a; font-weight: 700; text-decoration: none; border-radius: 30px; transition: all 0.3s ease; opacity: 0; transform: translateY(20px); animation: fadeInUpBtn 0.8s forwards 0.5s; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.team-contact-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3); background: #f8fafc; }
/* Help Section */
.help-section { padding: 100px 0; content-visibility: auto; contain-intrinsic-size: auto 700px; }
.help-section::before { background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(5px); }
.help-section .container { text-align: center; }
.steps-container { display: flex; justify-content: center; align-items: flex-start; gap: 20px; margin-top: 50px; flex-wrap: wrap; }
.step-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 30px; text-align: center; flex: 1; min-width: 280px; max-width: 350px; transition: var(--transition); position: relative; overflow: hidden; }
.step-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.step-number { position: absolute; top: -10px; right: -10px; font-size: 5rem; font-weight: 900; color: rgba(255, 255, 255, 0.05); line-height: 1; z-index: 0; pointer-events: none; }
.step-icon { width: 70px; height: 70px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--accent-green); position: relative; z-index: 1; border: 1px solid rgba(255, 255, 255, 0.1); transition: var(--transition); }
.step-card:hover .step-icon { background: var(--accent-green); color: var(--bg-dark); transform: scale(1.1) rotate(10deg); box-shadow: 0 0 20px rgba(0, 230, 118, 0.4); }
.step-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 15px; position: relative; z-index: 1; }
.step-desc { font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 25px; line-height: 1.6; position: relative; z-index: 1; min-height: 48px; }
.btn-step { display: inline-block; padding: 10px 24px; background: var(--primary-color); color: var(--bg-dark); border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: var(--transition); border: none; cursor: pointer; text-decoration: none; position: relative; z-index: 1; }
.btn-step:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2); }
.server-address-box { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
#help-ip { font-family: 'Consolas', monospace; color: var(--accent-green); font-weight: 700; letter-spacing: 0.5px; }
.copy-btn { background: rgba(255, 255, 255, 0.1); border: none; color: #fff; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.copy-btn:hover { background: var(--primary-color); color: var(--bg-dark); }
.highlight-text { display: block; font-weight: 700; color: var(--accent-gold); margin-top: 15px; font-size: 1.1rem; position: relative; z-index: 1; }
.step-arrow { display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.3); padding-top: 100px; }

/* Community Section */
.community-section { padding: 100px 0; position: relative; background-color: var(--bg-dark); background-attachment: fixed; background-size: cover; background-position: center; z-index: 1; content-visibility: auto; contain-intrinsic-size: auto 600px; }
.community-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: -1; }
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 900px; margin: 0 auto; }
.community-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); text-align: center; transition: var(--transition); display: flex; flex-direction: column; align-items: center; contain: layout style; }
.community-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); background: rgba(255, 255, 255, 0.08); }
.community-icon-wrapper { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.community-icon-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)); transition: var(--transition); }
.community-card:hover .community-icon-img { transform: scale(1.1); }
.community-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.community-card p { color: #d1d5db; margin-bottom: 25px; line-height: 1.6; }
.qr-placeholder { width: 180px; height: 180px; background: rgba(0, 0, 0, 0.2); border: 2px dashed rgba(255, 255, 255, 0.2); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 25px; color: #9ca3af; font-size: 0.9rem; gap: 10px; position: relative; overflow: hidden; }
.qr-code { width: 100%; height: 100%; position: absolute; top: 0; left: 0; background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent); background-size: 20px 20px; opacity: 0.5; }
.community-btn { padding: 12px 30px; border-radius: 30px; font-weight: 600; text-decoration: none; transition: var(--transition); display: inline-block; }
.qq-btn { background: #3b82f6; color: #fff; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.qq-btn:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5); }
.wechat-btn { background: #10b981; color: #fff; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
.wechat-btn:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5); }

/* Contact Section */
.contact-section { padding: 100px 0; position: relative; background-color: var(--bg-dark); background-attachment: fixed; background-size: cover; background-position: center; z-index: 1; content-visibility: auto; contain-intrinsic-size: auto 700px; }
.contact-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: -1; }
.contact-container { max-width: 1000px; margin: 0 auto; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

/* Contact Rules */
.contact-rules { text-align: left; padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, 0.1); height: 100%; }
.rules-title { font-size: 1.5rem; margin-bottom: 25px; color: #fff; display: flex; align-items: center; gap: 10px; }
.rules-title svg { color: #10b981; }
.rules-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.rules-list li { display: flex; gap: 15px; align-items: flex-start; color: #d1d5db; font-size: 0.95rem; line-height: 1.6; }
.rule-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: rgba(16, 185, 129, 0.2); color: #10b981; border-radius: 50%; font-size: 0.8rem; font-weight: bold; flex-shrink: 0; margin-top: 2px; }
.rule-text strong { color: #fff; font-weight: 600; }
.contact-note { margin-top: 30px; padding: 15px; background: rgba(239, 68, 68, 0.1); border-left: 3px solid #ef4444; border-radius: 4px; }
.contact-note p { margin: 0; color: #fca5a5; font-size: 0.85rem; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.form-group label { color: #a0aec0; font-size: 0.9rem; font-weight: 500; margin-left: 4px; }
.form-group input, .form-group select, .form-group textarea { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 12px 16px; color: #fff; font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #10b981; background: rgba(0, 0, 0, 0.5); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.form-group select option { background: #1a1a2e; color: #fff; }
.submit-btn { margin-top: 10px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }
.submit-btn:active { transform: translateY(0); }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding-top: 80px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 60px; }
.footer-brand { flex: 1; min-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 20px; }
.footer-logo-svg { color: #10b981; flex-shrink: 0; }
.footer-logo-img { height: 32px; width: auto; max-width: 180px; object-fit: contain; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2)); }
.footer-desc { line-height: 1.8; max-width: 400px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 50px; }
.footer-column h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: #10b981; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { color: #94a3b8; text-decoration: none; transition: var(--transition); }
.footer-column ul li a:hover { color: #10b981; padding-left: 5px; }
.footer-bottom { background: #020617; padding: 20px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.disclaimer { color: #64748b; font-size: 0.8rem; margin-top: 5px; text-transform: uppercase; }

/* Hidden elements */
#server-ip { display: none; }
#attachment { display: none; }

/* Hamburger */
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: white; }

/* Responsive */
@media (max-width: 992px) {
    .step-arrow { display: none; }
    .steps-container { flex-direction: column; align-items: center; }
    .step-card { width: 100%; max-width: 500px; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links { position: fixed; left: -100%; top: var(--nav-height); gap: 0; flex-direction: column; background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(15px); width: 100%; height: calc(100vh - var(--nav-height)); text-align: center; transition: 0.3s ease-in-out; padding-top: 2rem; z-index: 998; border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 20px 0; width: 100%; }
    .nav-links a { font-size: 1.2rem; display: block; padding: 10px 0; }

    .hero h1 { font-size: 2.2rem; line-height: 1.3; }
    .hero-subtitle { font-size: 1rem; max-width: 100%; margin-bottom: 30px; }
    .hero-features { flex-wrap: wrap; gap: 10px; }
    .h-feature { font-size: 0.85rem; padding: 6px 12px; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 15px; margin-bottom: 40px; }
    .btn, .boton-minecraft { width: 100%; padding: 14px 20px; justify-content: center; }

    .specs-grid, .features-grid { grid-template-columns: 1fr; gap: 20px; }

    .team-carousel-container { padding: 0; }
    .team-carousel-wrapper { display: flex; flex-direction: column; gap: 20px; width: 100%; }
    .team-card { flex: none; width: 100%; }

    .contact-container { padding: 20px; margin: 0 15px; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-rules { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-right: 0; padding-bottom: 30px; }

    .footer-container { flex-direction: column; gap: 40px; }
    .footer-links { width: 100%; flex-direction: column; gap: 30px; }

    /* Mobile Performance */
    .specs-section, .features-section, .gallery-section, .team-section, .help-section, .community-section, .contact-section { background-attachment: scroll !important; }
    .specs-section::before, .features-section::before, .gallery-section::before, .team-section::before, .help-section::before { backdrop-filter: blur(2px); }
    .spec-card, .feature-card, .step-card, .community-card, .contact-container { backdrop-filter: blur(6px); }
    .navbar { backdrop-filter: blur(8px); }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .scroll-fade-up, .spec-card, .section-header { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* Message Editor (textarea + image upload combo) */
.msg-editor {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}
.msg-editor:focus-within {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.msg-editor textarea {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 16px;
    width: 100%;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}
.msg-editor textarea:focus {
    outline: none;
    box-shadow: none;
}
.msg-editor .upload-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 12px;
    margin: 0;
}
.msg-editor-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}
.attach-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}
.attach-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}
.upload-preview-item {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.upload-preview-item .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth Modal */
.auth-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.auth-overlay.active { display: flex; }

.auth-modal {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 420px;
    max-width: 90vw;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.1);
    animation: authSlideIn 0.3s ease-out;
}
@keyframes authSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none; border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.auth-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
}
.auth-tab.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.auth-tab:not(.active):hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form-group { display: flex; flex-direction: column; gap: 6px; }
.auth-form-group label {
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 500;
    margin-left: 4px;
}
.auth-form-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}
.auth-form-group input:focus {
    border-color: #10b981;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.auth-form-group input::placeholder { color: rgba(255, 255, 255, 0.25); }

.auth-email-row { display: flex; gap: 10px; }
.auth-email-row input { flex: 1; min-width: 0; }
.auth-send-code {
    white-space: nowrap;
    padding: 12px 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}
.auth-send-code:hover { box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); transform: translateY(-1px); }
.auth-send-code:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.auth-verify-section {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-top: 4px;
}
.auth-verify-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #93c5fd;
    font-size: 0.85rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}
.auth-verify-icon { font-size: 1rem; }

.auth-message {
    font-size: 0.88rem;
    min-height: 20px;
    text-align: center;
    transition: all 0.3s;
}
.auth-message.error { color: #f87171; }
.auth-message.success { color: #4ade80; }

.auth-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 6px;
}
.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}
.auth-submit:active { transform: translateY(0); }
.auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.logout-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    margin-top: 20px;
}
.logout-btn:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* User Info Modal */
.user-info-modal { text-align: center; }
.user-info-header { margin-bottom: 24px; }
.user-info-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    border: 3px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}
.user-info-header h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
}
.user-info-email {
    color: #94a3b8;
    font-size: 0.9rem;
}
.user-info-body {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
}
.user-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.user-info-item + .user-info-item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.user-info-label { color: #94a3b8; font-size: 0.9rem; }
.user-info-value { color: #e2e8f0; font-size: 0.9rem; font-family: 'Consolas', monospace; }

/* Nav button logged-in state */
.nav-register-btn.logged-in {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.nav-user-avatar {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

/* ========== Admin Panel ========== */
.admin-overlay {
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    justify-content: center; align-items: flex-start;
    padding-top: 40px; overflow-y: auto;
}
.admin-overlay.active { display: flex; }
.admin-panel {
    width: 95%; max-width: 1100px; max-height: 90vh;
    background: #0f172a; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
    position: relative;
}
.admin-close {
    position: absolute; top: 12px; right: 14px; z-index: 10;
    width: 36px; height: 36px; border: none; background: rgba(255,255,255,0.06);
    color: #94a3b8; font-size: 22px; cursor: pointer; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.admin-close:hover { background: rgba(239,68,68,0.2); color: #ef4444; }
.admin-header {
    padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.admin-logo { font-size: 1.15rem; font-weight: 700; color: #f8fafc; white-space: nowrap; }
.admin-nav { display: flex; gap: 4px; }
.admin-nav-btn {
    padding: 8px 18px; border: none; background: transparent;
    color: #94a3b8; font-size: 0.9rem; cursor: pointer; border-radius: 8px;
    transition: all 0.2s; font-weight: 500;
}
.admin-nav-btn:hover { background: rgba(255,255,255,0.06); color: #e2e8f0; }
.admin-nav-btn.active { background: rgba(16,185,129,0.15); color: #4ade80; }

.admin-page { display: none; padding: 20px 24px; }
.admin-page.active { display: block; }

/* Toolbar */
.admin-toolbar { display: flex; gap: 10px; margin-bottom: 16px; align-items: center; }
.admin-search {
    flex: 1; max-width: 320px; padding: 9px 14px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; color: #e2e8f0; font-size: 0.88rem; outline: none; transition: border 0.2s;
}
.admin-search:focus { border-color: #4ade80; }
.admin-search::placeholder { color: #64748b; }
.admin-toolbar-btn {
    padding: 9px 18px; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05); color: #cbd5e1; font-size: 0.85rem;
    border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.admin-toolbar-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Table */
.admin-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th {
    padding: 12px 14px; text-align: left; background: rgba(255,255,255,0.03);
    color: #94a3b8; font-weight: 600; font-size: 0.82rem; text-transform: uppercase;
    letter-spacing: 0.5px; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-table td {
    padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #e2e8f0; vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-empty { text-align: center; padding: 50px 0; color: #64748b; font-size: 0.95rem; }

/* Status badge */
.admin-badge-normal { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; background: rgba(16,185,129,0.12); color: #4ade80; }
.admin-badge-banned { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; background: rgba(239,68,68,0.12); color: #ef4444; }

/* Action buttons in table */
.admin-row-btn {
    padding: 5px 12px; border: none; border-radius: 6px; font-size: 0.8rem;
    cursor: pointer; transition: all 0.2s; margin-right: 4px;
}
.admin-row-btn-view { background: rgba(59,130,246,0.15); color: #60a5fa; }
.admin-row-btn-view:hover { background: rgba(59,130,246,0.3); }
.admin-row-btn-del { background: rgba(239,68,68,0.12); color: #f87171; }
.admin-row-btn-del:hover { background: rgba(239,68,68,0.25); }

/* Detail Modal */
.admin-detail-overlay {
    display: none; position: fixed; inset: 0; z-index: 10001;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    justify-content: center; align-items: center; padding: 20px;
}
.admin-detail-overlay.active { display: flex; }
.admin-detail-modal {
    width: 100%; max-width: 640px; max-height: 85vh; overflow-y: auto;
    background: #1e293b; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; position: relative;
}
.admin-detail-close {
    position: absolute; top: 10px; right: 12px; z-index: 5;
    width: 32px; height: 32px; border: none; background: rgba(255,255,255,0.06);
    color: #94a3b8; font-size: 20px; cursor: pointer; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
}
.admin-detail-close:hover { background: rgba(239,68,68,0.2); color: #ef4444; }
.admin-detail-header {
    display: flex; align-items: center; gap: 14px; padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-detail-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.admin-detail-header h3 { font-size: 1.15rem; color: #f8fafc; }
.admin-detail-id { font-size: 0.82rem; color: #64748b; font-family: 'Consolas', monospace; }
.admin-status-badge {
    margin-left: auto; padding: 4px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 600;
    background: rgba(16,185,129,0.12); color: #4ade80; white-space: nowrap;
}
.admin-status-badge.banned { background: rgba(239,68,68,0.12); color: #ef4444; }
.admin-detail-body { padding: 20px 24px; }
.admin-detail-section { margin-bottom: 22px; }
.admin-detail-section h4 { font-size: 0.92rem; color: #94a3b8; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.admin-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-info-item label { display: block; font-size: 0.78rem; color: #64748b; margin-bottom: 2px; }
.admin-info-item span { font-size: 0.88rem; color: #e2e8f0; word-break: break-all; }

/* Edit form */
.admin-edit-form { display: flex; flex-direction: column; gap: 10px; }
.admin-form-group label { display: block; font-size: 0.82rem; color: #94a3b8; margin-bottom: 4px; }
.admin-form-group input {
    width: 100%; padding: 9px 12px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
    color: #e2e8f0; font-size: 0.88rem; outline: none; transition: border 0.2s;
}
.admin-form-group input:focus { border-color: #4ade80; }
.admin-form-group input::placeholder { color: #475569; }

/* Action buttons */
.admin-action-btn {
    padding: 9px 20px; border: none; border-radius: 8px; font-size: 0.88rem;
    cursor: pointer; font-weight: 600; transition: all 0.2s;
}
.admin-btn-save { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }
.admin-btn-save:hover { opacity: 0.9; transform: translateY(-1px); }
.admin-btn-warn { background: rgba(245,158,11,0.15); color: #fbbf24; margin-top: 8px; }
.admin-btn-warn:hover { background: rgba(245,158,11,0.28); }
.admin-btn-ban { background: rgba(245,158,11,0.15); color: #fbbf24; }
.admin-btn-ban:hover { background: rgba(245,158,11,0.28); }
.admin-btn-kick { background: rgba(239,68,68,0.12); color: #f87171; }
.admin-btn-kick:hover { background: rgba(239,68,68,0.25); }
.admin-btn-del { background: rgba(239,68,68,0.15); color: #ef4444; }
.admin-btn-del:hover { background: rgba(239,68,68,0.3); }
.admin-danger-zone { border: 1px solid rgba(239,68,68,0.15); border-radius: 10px; padding: 16px; background: rgba(239,68,68,0.03); }
.admin-danger-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* Devices list */
.admin-devices-list { margin-bottom: 10px; }
.admin-device-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 12px; background: rgba(255,255,255,0.03); border-radius: 6px;
    margin-bottom: 6px; font-size: 0.83rem;
}
.admin-device-item .dev-ip { color: #60a5fa; font-family: 'Consolas', monospace; }
.admin-device-item .dev-time { color: #64748b; font-size: 0.78rem; }
.admin-no-data { color: #64748b; font-size: 0.88rem; text-align: center; padding: 16px 0; }

/* System stats page */
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-stat-card {
    padding: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.admin-stat-card .stat-label { font-size: 0.8rem; color: #64748b; margin-bottom: 4px; }
.admin-stat-card .stat-value { font-size: 1.35rem; font-weight: 700; color: #f8fafc; font-family: 'Consolas', monospace; }
.admin-sys-info { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 10px; padding: 18px; font-size: 0.85rem; line-height: 1.9; color: #cbd5e1; }
.admin-sys-info .sys-line { display: flex; justify-content: space-between; padding: 2px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.admin-sys-info .sys-key { color: #94a3b8; }
.admin-sys-info .sys-val { color: #e2e8f0; font-family: 'Consolas', monospace; }

@media (max-width: 768px) {
    .admin-panel { width: 98%; max-height: 95vh; border-radius: 12px; }
    .admin-header { flex-direction: column; align-items: flex-start; }
    .admin-nav { width: 100%; overflow-x: auto; }
    .admin-info-grid { grid-template-columns: 1fr; }
    .admin-danger-actions { flex-direction: column; }
    .admin-detail-modal { max-height: 90vh; }
}
