/* === RESET & ROOT === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red: #cc0000;
    --red-bright: #ff2200;
    --orange: #ff4400;
    --ember: #ffaa00;
    --gold: #ffd700;
    --bg: #080508;
    --bg2: #0f080d;
    --surface: #160a12;
    --surface2: #1e0d17;
    --border: #2a0a18;
    --border-glow: rgba(204,0,0,0.4);
    --text: #e8d5c4;
    --text-dim: #a08878;
    --text-muted: #6a5048;
    --glow-red: 0 0 20px rgba(204,0,0,0.5), 0 0 40px rgba(204,0,0,0.2);
    --glow-orange: 0 0 20px rgba(255,68,0,0.5), 0 0 40px rgba(255,68,0,0.2);
    --font-title: 'Cinzel Decorative', serif;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Rajdhani', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === FIRE CANVAS === */
#fire-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0;
    transition: background 0.3s, box-shadow 0.3s;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(8,5,8,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(204,0,0,0.2);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-hell {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--red-bright);
    text-shadow: 0 0 15px rgba(255,34,0,0.8), 0 0 30px rgba(255,34,0,0.4);
    letter-spacing: 4px;
}
.logo-city {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--ember);
    text-shadow: 0 0 15px rgba(255,170,0,0.7);
    letter-spacing: 4px;
    margin-left: 0.5em;
}
.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--text-dim);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 2px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 14px; right: 14px;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text);
    background: rgba(204,0,0,0.08);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-discord { color: #7289da; }
.nav-links .nav-discord:hover { color: #8ea1e1; background: rgba(114,137,218,0.1); }
.nav-links .nav-discord::after { background: #7289da; }
.nav-links .nav-discord-disabled {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    cursor: not-allowed;
}
.nav-links .nav-panel { color: var(--ember); border: 1px solid rgba(255,170,0,0.2); border-radius: 4px; }
.nav-links .nav-panel:hover { color: #fff; background: rgba(255,170,0,0.12); border-color: rgba(255,170,0,0.4); }
.nav-links .nav-panel::after { background: var(--ember); }
.nav-links .nav-logout { color: var(--text-muted) !important; padding: 8px 10px !important; }
.nav-links .nav-logout:hover { color: var(--red) !important; background: rgba(204,0,0,0.08) !important; }
.nav-links .nav-logout::after { display: none; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-dim);
    transition: all 0.3s;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(204,0,0,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 30% 80%, rgba(255,68,0,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 70% 80%, rgba(255,68,0,0.1) 0%, transparent 60%),
        linear-gradient(to bottom, var(--bg) 0%, #110208 50%, #1a0308 100%);
    z-index: 0;
}
.hero-city {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: url('/assets/img/city-silhouette.svg') bottom center / cover no-repeat;
    opacity: 0.4;
    filter: drop-shadow(0 0 20px rgba(204,0,0,0.3));
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px 40px;
    max-width: 900px;
}
.hero-badge {
    display: inline-block;
    background: rgba(204,0,0,0.15);
    border: 1px solid rgba(204,0,0,0.3);
    color: var(--orange);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 2px;
    margin-bottom: 24px;
    animation: fadeDown 0.8s ease both;
}
.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.8rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 8px;
    animation: fadeDown 0.8s ease 0.1s both;
}
.hero-title .t-hell {
    display: block;
    color: var(--red-bright);
    text-shadow: 0 0 30px rgba(255,34,0,0.9), 0 0 60px rgba(255,34,0,0.5), 0 0 100px rgba(255,34,0,0.2);
    letter-spacing: 8px;
}
.hero-title .t-city {
    display: block;
    color: var(--ember);
    text-shadow: 0 0 30px rgba(255,170,0,0.8), 0 0 60px rgba(255,170,0,0.4);
    letter-spacing: 12px;
}
.hero-title .t-reborn {
    display: block;
    font-size: 0.55em;
    color: var(--text-dim);
    text-shadow: none;
    letter-spacing: 18px;
    margin-top: 4px;
}
.hero-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 20px 0 40px;
    animation: fadeDown 0.8s ease 0.2s both;
}
.hero-subtitle span { color: var(--red); margin: 0 8px; }
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeDown 0.8s ease 0.3s both;
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    color: var(--text-muted);
    font-size: 1.4rem;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 3px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.05);
    opacity: 0;
    transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(204,0,0,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(204,0,0,0.6);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--red);
    color: var(--red);
    box-shadow: 0 4px 20px rgba(204,0,0,0.2);
    transform: translateY(-2px);
}
.btn-discord {
    background: #5865f2;
    color: #fff;
    box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}
.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88,101,242,0.6);
}
.btn-connect-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 3px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.2s;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
}
.btn-connect-small:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(204,0,0,0.4); }
.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.3);
}

/* === STATS BAR === */
.stats-bar {
    position: relative;
    z-index: 2;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.stats-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), var(--orange), var(--red), transparent);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 8px 16px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--red-bright);
    text-shadow: 0 0 15px rgba(255,34,0,0.5);
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}
.stat-live { color: #00ff88; text-shadow: 0 0 10px rgba(0,255,136,0.5); }

/* === SECTIONS === */
.section {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    background: var(--bg);
}
.section-dark { background: var(--bg2); }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.section-title span { color: var(--red-bright); }
.section-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--orange));
    margin: 0 auto;
    border-radius: 1px;
}
.section-desc {
    color: var(--text-dim);
    max-width: 600px;
    margin: 16px auto 0;
    font-size: 1rem;
}

/* === FEATURE CARDS === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 36px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--orange));
    transform: scaleX(0);
    transition: transform 0.3s;
}
.feature-card:hover {
    border-color: rgba(204,0,0,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(204,0,0,0.15);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 56px; height: 56px;
    background: rgba(204,0,0,0.1);
    border: 1px solid rgba(204,0,0,0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--red-bright);
    margin-bottom: 20px;
    transition: all 0.3s;
}
.feature-card:hover .feature-icon {
    background: rgba(204,0,0,0.2);
    box-shadow: 0 0 20px rgba(204,0,0,0.3);
    color: var(--orange);
}
.feature-card h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 12px;
}
.feature-card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }

/* === HOW TO JOIN === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    counter-reset: steps;
}
.step {
    text-align: center;
    position: relative;
    counter-increment: steps;
}
.step::before {
    content: counter(steps, decimal-leading-zero);
    display: block;
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(204,0,0,0.15);
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 0 30px rgba(204,0,0,0.1);
}
.step-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(204,0,0,0.15), rgba(255,68,0,0.1));
    border: 1px solid rgba(204,0,0,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--orange);
    margin: 0 auto 16px;
}
.step h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 8px;
}
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* === SERVER IP BOX === */
.server-ip-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 700px;
    margin: 40px auto 0;
}
.server-ip-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.server-ip-value {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    color: var(--ember);
    letter-spacing: 2px;
}

/* === RULES PAGE === */
.rules-container { max-width: 860px; margin: 0 auto; }
.rule-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 24px;
    overflow: hidden;
}
.rule-section-header {
    background: rgba(204,0,0,0.08);
    border-bottom: 1px solid var(--border);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.rule-section-header i { color: var(--red); font-size: 1.2rem; }
.rule-section-header h3 {
    font-size: 0.95rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text);
}
.rule-list { padding: 20px 28px; list-style: none; }
.rule-list li {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(42,10,24,0.5);
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}
.rule-list li:last-child { border-bottom: none; }
.rule-num {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--red);
    min-width: 28px;
    margin-top: 1px;
}

/* === INFO PAGE === */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px;
}
.info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.info-card h3 i { color: var(--red); }
.info-list { list-style: none; }
.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    color: var(--text-dim);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(42,10,24,0.4);
}
.info-list li:last-child { border-bottom: none; }
.info-list li i { color: var(--orange); margin-top: 3px; font-size: 0.85rem; min-width: 16px; }
.info-highlight {
    background: rgba(204,0,0,0.06);
    border: 1px solid rgba(204,0,0,0.2);
    border-radius: 6px;
    padding: 24px 28px;
    text-align: center;
    margin-bottom: 24px;
}
.info-highlight h3 { color: var(--ember); margin-bottom: 8px; }
.info-highlight p { color: var(--text-dim); margin-bottom: 16px; }

/* === ADMIN === */
.admin-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 40px;
    position: relative;
    z-index: 2;
}
.login-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 48px;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
}
.login-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--orange), var(--red));
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.login-skull {
    text-align: center;
    font-size: 3rem;
    color: var(--red);
    text-shadow: 0 0 20px rgba(204,0,0,0.5);
    margin-bottom: 8px;
}
.login-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.form-group input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus {
    border-color: rgba(204,0,0,0.5);
    box-shadow: 0 0 0 3px rgba(204,0,0,0.08);
}
.form-group input::placeholder { color: var(--text-muted); }
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(204,0,0,0.3);
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(204,0,0,0.5);
}
.login-error {
    background: rgba(204,0,0,0.1);
    border: 1px solid rgba(204,0,0,0.3);
    border-radius: 4px;
    padding: 12px 16px;
    color: #ff6666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === ADMIN DASHBOARD === */
.admin-page {
    padding-top: 90px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}
.admin-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    margin-bottom: 40px;
}
.admin-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.admin-title {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-title i { color: var(--red); }
.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    display: block;
}
.admin-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--red), var(--orange));
    transform: scaleY(0);
    transition: transform 0.25s;
    transform-origin: top;
}
.admin-card:hover {
    border-color: rgba(204,0,0,0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(204,0,0,0.12);
}
.admin-card:hover::before { transform: scaleY(1); }
.admin-card-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    color: var(--red);
}
.admin-card h3 {
    font-size: 0.9rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text);
}
.admin-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; }
.admin-card-pterodactyl .admin-card-icon { color: var(--ember); }
.admin-card-pterodactyl:hover { border-color: rgba(255,170,0,0.35); box-shadow: 0 10px 30px rgba(255,170,0,0.1); }
.admin-card-pterodactyl::before { background: linear-gradient(to bottom, var(--ember), var(--orange)); }

/* === FOOTER === */
.footer {
    position: relative;
    z-index: 2;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), var(--orange), var(--red), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    line-height: 1;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-social a:hover {
    border-color: var(--red);
    color: var(--red);
    box-shadow: 0 0 12px rgba(204,0,0,0.3);
}
.footer-links h4, .footer-server h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.footer-links a i { font-size: 0.7rem; color: var(--red); }
.footer-links a:hover { color: var(--text); }
.server-info-box { color: var(--text-dim); }
.server-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}
.server-info-row i { color: var(--text-muted); width: 16px; text-align: center; }
.status-dot { font-size: 0.5rem !important; }
.status-online { color: #00ff88 !important; }
.status-offline { color: var(--red) !important; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }
.footer-disclaimer { font-size: 0.72rem !important; margin-top: 4px; opacity: 0.6; }

/* === ANIMATIONS === */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(204,0,0,0.3); }
    50% { box-shadow: 0 0 25px rgba(204,0,0,0.6), 0 0 50px rgba(204,0,0,0.2); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px; left: 0; right: 0;
        background: rgba(8,5,8,0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a, .nav-links .nav-discord-disabled { width: 100%; justify-content: flex-start; padding: 12px 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item { padding: 12px 8px; }
    .stat-number { font-size: 1.4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .server-ip-box { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
    .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
    .btn { padding: 12px 24px; font-size: 0.8rem; }
    .login-box { padding: 32px 20px; }
    .admin-cards { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 36px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 20px; }
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .info-grid { grid-template-columns: 1fr; }
    .rules-container { padding: 0 4px; }
    .rule-section-header { padding: 14px 18px; }
    .rule-list { padding: 14px 18px; }
    .page-hero { padding: 100px 0 40px; }
    .footer-social a { width: 42px; height: 42px; }
    .hero-title { font-size: clamp(2.2rem, 12vw, 4rem); }
    .logo-hell, .logo-city { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 1.2rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .hero-badge { font-size: 0.65rem; letter-spacing: 2px; }
    .hero-subtitle { font-size: 0.85rem; letter-spacing: 2px; }
    .section-title { font-size: 1.5rem; }
    .nav-container { padding: 0 14px; }
    .container { padding: 0 16px; }
}

/* === DIVIDERS === */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
}
.page-hero {
    position: relative;
    z-index: 2;
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(204,0,0,0.05), transparent);
    border-bottom: 1px solid var(--border);
}
.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--text);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.page-hero-title span { color: var(--red-bright); }
.page-hero-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* === TEAM PAGE === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s;
}
.team-card:hover {
    border-color: rgba(204,0,0,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204,0,0,0.1);
}
.team-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.team-owner { background: rgba(204,0,0,0.15); border: 2px solid var(--red); color: var(--red-bright); }
.team-admin { background: rgba(255,68,0,0.12); border: 2px solid var(--orange); color: var(--orange); }
.team-mod { background: rgba(255,170,0,0.1); border: 2px solid var(--ember); color: var(--ember); }
.team-name { font-family: var(--font-heading); font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }
.team-role-owner { color: var(--red); }
.team-role-admin { color: var(--orange); }
.team-role-mod { color: var(--ember); }
.nav-links .nav-txadmin { color: #4ade80; border: 1px solid rgba(74,222,128,0.2); border-radius: 4px; }
.nav-links .nav-txadmin:hover { color: #fff; background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.4); }
.nav-links .nav-txadmin::after { background: #4ade80; }

/* === ADMIN SIDEBAR === */
.admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(3px);
}
.admin-sidebar-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.admin-sidebar {
    position: fixed;
    top: 0; right: 0;
    width: 300px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.admin-sidebar.open {
    transform: translateX(0);
}
.admin-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--orange), var(--ember));
}
.sidebar-header {
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}
.sidebar-header-title i { color: var(--red); }
.sidebar-close {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}
.sidebar-close:hover { border-color: var(--red); color: var(--red); }
.sidebar-status {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}
.sidebar-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-dim);
}
.sidebar-status-row + .sidebar-status-row { margin-top: 8px; }
.sidebar-status-label { font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }
.sidebar-section { padding: 16px 20px 8px; }
.sidebar-section-title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.2s;
    margin-bottom: 4px;
    border: 1px solid transparent;
}
.sidebar-link:hover { background: rgba(204,0,0,0.08); color: var(--text); border-color: var(--border); }
.sidebar-link i { width: 18px; text-align: center; font-size: 1rem; }
.sidebar-link-pterodactyl i { color: var(--ember); }
.sidebar-link-pterodactyl:hover { border-color: rgba(255,170,0,0.3); background: rgba(255,170,0,0.06); }
.sidebar-link-txadmin i { color: #4ade80; }
.sidebar-link-txadmin:hover { border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.06); }
.sidebar-link-red i { color: var(--red); }
.sidebar-footer {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}
.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s;
    width: 100%;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
}
.sidebar-logout:hover { color: var(--red); border-color: rgba(204,0,0,0.3); background: rgba(204,0,0,0.05); }
.nav-admin-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 4px;
    background: rgba(204,0,0,0.1);
    border: 1px solid rgba(204,0,0,0.25);
    color: var(--red) !important;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.2s;
    text-decoration: none;
}
.nav-admin-toggle:hover { background: rgba(204,0,0,0.18); border-color: rgba(204,0,0,0.5); color: #fff !important; }
.nav-admin-toggle::after { display: none !important; }
@media (max-width: 768px) {
    .admin-sidebar { width: 100%; max-width: 300px; }
}
.nav-links .nav-sep {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 6px;
    align-self: center;
}

/* === ADMIN DROPDOWN === */
.nav-dropdown-wrap {
    position: relative;
}
.nav-admin-btn {
    background: rgba(204,0,0,0.1);
    border: 1px solid rgba(204,0,0,0.3);
    border-radius: 4px;
    color: var(--red);
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}
.nav-admin-btn:hover, .nav-admin-btn.active {
    background: rgba(204,0,0,0.2);
    border-color: var(--red);
    box-shadow: 0 0 12px rgba(204,0,0,0.3);
    color: #fff;
}
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    min-width: 200px;
    padding: 6px;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--orange));
    border-radius: 6px 6px 0 0;
}
.nav-dropdown.open {
    display: block;
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.15s;
}
.nav-dropdown-item i { width: 16px; text-align: center; color: var(--red); }
.nav-dropdown-item:hover { background: rgba(204,0,0,0.08); color: var(--text); }
.nav-dropdown-item:nth-child(2) i { color: #4ade80; }
.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 6px;
}
.nav-dropdown-logout i { color: var(--text-muted) !important; }
.nav-dropdown-logout:hover { background: rgba(204,0,0,0.08); color: var(--red) !important; }
.nav-dropdown-logout:hover i { color: var(--red) !important; }

/* details/summary reset for admin dropdown */
.nav-details-wrap { position: relative; }
.nav-admin-details { position: relative; }
.nav-admin-details summary { list-style: none; }
.nav-admin-details summary::-webkit-details-marker { display: none; }
.nav-admin-details[open] .nav-dropdown { display: block; }
.nav-admin-user {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 6px;
}
.nav-admin-user i { color: var(--red); font-size: 0.9rem; }
