: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: 100%; margin: 50px 0 0; position: relative; padding: 20px 0; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.team-carousel-wrapper { display: flex; gap: 30px; width: max-content; animation: team-scroll 30s linear infinite; }
.team-carousel-container:hover .team-carousel-wrapper { animation-play-state: paused; }
@keyframes team-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.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; mask-image: none; -webkit-mask-image: none; overflow: visible; }
    .team-carousel-wrapper { animation: none !important; display: flex; flex-direction: column; gap: 20px; width: 100%; transform: none !important; }
    .team-card { flex: none; width: 100%; }
    .team-card-clone { display: none; }

    .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;
}
