@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;
    --accent-blue: #06b6d4;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --surface: rgba(30, 58, 138, 0.15);
    --surface-light: rgba(59, 130, 246, 0.08);
    --border-light: rgba(14, 165, 233, 0.2);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --success: #10b981;
    --warning: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'VT323', monospace;
    background: linear-gradient(135deg, var(--bg-darker) 0%, #0a1e3a 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    animation: pixelPulse 2s ease-in-out infinite;
    image-rendering: pixelated;
}

@keyframes pixelPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px var(--primary-blue));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 20px var(--primary-blue));
    }
}

.preloader-dots {
    display: flex;
    gap: 12px;
}

.preloader-dots span {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    animation: pixelBounce 1.4s ease-in-out infinite;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.preloader-dots span:nth-child(1) { animation-delay: 0s; }
.preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pixelBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-24px); }
}

/* ===== PARTICLES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    opacity: 0.4;
    animation: floatPixel 15s infinite linear;
    box-shadow: 0 0 4px var(--primary-blue);
}

@keyframes floatPixel {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 30px;
    background: transparent;
    backdrop-filter: blur(0);
    z-index: 1000;
    transition: all 0.3s ease;
    font-family: 'VT323', monospace;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid var(--primary-light);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
    padding: 10px 30px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 var(--primary-dark);
}

.nav-logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--primary-blue));
    image-rendering: pixelated;
}

.nav-logo span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 0 var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    position: relative;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
    background: rgba(14, 165, 233, 0.15);
    border: 2px solid var(--primary-light);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.nav-toggle span {
    width: 25px;
    height: 4px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    box-shadow: 0 0 4px var(--primary-blue);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(3px);
    image-rendering: pixelated;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.6) 0%, rgba(2, 6, 23, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 40px 20px;
    max-width: 800px;
    animation: pixelSlideUp 0.8s ease;
    font-family: 'VT323', monospace;
}

@keyframes pixelSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-container {
    margin-bottom: 30px;
}

.hero-logo {
    max-width: 140px;
    height: auto;
    animation: floatPixelLogo 3s ease-in-out infinite;
    filter: drop-shadow(0 0 12px var(--primary-blue));
    image-rendering: pixelated;
}

@keyframes floatPixelLogo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 3px 3px 0 var(--primary-dark);
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    font-family: 'VT323', monospace;
}

/* ===== SERVER INFO ===== */
.server-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ip-box {
    background: var(--surface);
    border: 3px solid var(--border-light);
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'VT323', monospace;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2), 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.ip-box:hover {
    border-color: var(--primary-light);
    background: rgba(14, 165, 233, 0.2);
    transform: translate(-3px, -3px);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2), 8px 8px 0 rgba(14, 165, 233, 0.4);
}

.ip-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 700;
    font-family: 'VT323', monospace;
}

.ip-address {
    font-size: 1.4rem;
    color: var(--primary-light);
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
}

.ip-hint {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 8px;
    opacity: 0.8;
    font-family: 'VT323', monospace;
}

.status-box {
    background: var(--surface);
    border: 3px solid var(--border-light);
    padding: 20px 25px;
    text-align: center;
    font-family: 'VT323', monospace;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2), 4px 4px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.status-box:hover {
    border-color: var(--success);
    transform: translate(-3px, -3px);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2), 8px 8px 0 rgba(16, 185, 129, 0.3);
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.status-dot {
    width: 16px;
    height: 16px;
    background: var(--success);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6), inset 0 0 0 2px rgba(0, 0, 0, 0.3);
    animation: pixelPulse 2s ease-in-out infinite;
}

.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6), inset 0 0 0 2px rgba(0, 0, 0, 0.3);
    animation: none;
}

.status-text {
    font-size: 1rem;
    color: var(--success);
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'VT323', monospace;
}

.player-count {
    font-size: 1.8rem;
    color: var(--primary-light);
    font-weight: 700;
    font-family: 'VT323', monospace;
}

.player-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-family: 'VT323', monospace;
}

/* ===== GAMEMODES ===== */
.gamemodes-bar {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gamemode-item {
    background: var(--surface-light);
    border: 3px solid var(--border-light);
    padding: 12px 24px;
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    font-family: 'VT323', monospace;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.gamemode-item:hover {
    transform: translate(-2px, -2px);
    color: var(--text-primary);
}

.gamemode-item:nth-child(1):hover {
    border-color: var(--primary-light);
    background: rgba(14, 165, 233, 0.3);
    box-shadow: 6px 6px 0 rgba(14, 165, 233, 0.3);
}

.gamemode-item:nth-child(2):hover {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.3);
    box-shadow: 6px 6px 0 rgba(6, 182, 212, 0.3);
}

.gamemode-item:nth-child(3):hover {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.3);
    box-shadow: 6px 6px 0 rgba(14, 165, 233, 0.3);
}

.gamemode-item:nth-child(4):hover {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.3);
    box-shadow: 6px 6px 0 rgba(56, 189, 248, 0.3);
}

.gamemode-item i {
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.gamemode-item:nth-child(1) i { color: var(--primary-light); }
.gamemode-item:nth-child(2) i { color: #06b6d4; }
.gamemode-item:nth-child(3) i { color: #0ea5e9; }
.gamemode-item:nth-child(4) i { color: #38bdf8; }

/* ===== BUTTONS ===== */
.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.mc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 3px solid;
    font-weight: 700;
    position: relative;
    overflow: visible;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.mc-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.4);
}

.mc-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.mc-btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    border-color: var(--primary-dark);
    color: white;
    text-shadow: 1px 1px 0 var(--primary-dark);
}

.mc-btn-primary:hover {
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.4);
    border-color: white;
}

.mc-btn-secondary {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--border-light);
    color: var(--primary-light);
}

.mc-btn-secondary:hover {
    background: rgba(14, 165, 233, 0.3);
    border-color: var(--primary-light);
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.3);
}

/* ===== PAGES CONTENT ===== */
.page-content {
    padding: 100px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 60px);
    font-family: 'VT323', monospace;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'VT323', monospace;
    font-weight: 700;
    letter-spacing: 2px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-family: 'VT323', monospace;
}

/* ===== STAFF GRID ===== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.staff-card {
    background: var(--surface);
    border: 3px solid var(--border-light);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    font-family: 'VT323', monospace;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
}

.staff-card:hover {
    border-color: var(--primary-light);
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.3);
    background: rgba(30, 58, 138, 0.3);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-light);
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    padding: 2px;
    box-shadow: 0 0 8px var(--primary-blue), inset 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
    image-rendering: pixelated;
}

.staff-card:hover .staff-avatar img {
    transform: scale(1.1);
}

.staff-name {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'VT323', monospace;
}

.staff-role {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    font-family: 'VT323', monospace;
}

.staff-role.owner {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-color: var(--primary-dark);
}

.staff-role.executive {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-color: #6d28d9;
}

.staff-role.manager {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-color: #d97706;
}

.staff-role.admin {
    background: linear-gradient(135deg, #ef4444, #f87171);
    border-color: #dc2626;
}

.staff-role.mod {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    border-color: var(--primary-dark);
}

.staff-role.helper {
    background: linear-gradient(135deg, #10b981, #34d399);
    border-color: #047857;
}

/* ===== ANNOUNCEMENTS ===== */
.announcements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.announcement-card {
    background: var(--surface);
    border: 3px solid var(--border-light);
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
    font-family: 'VT323', monospace;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-blue));
}

.announcement-card:hover {
    border-color: var(--primary-light);
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.3);
}

.announcement-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
    image-rendering: pixelated;
}

.announcement-card:hover .announcement-banner {
    transform: scale(1.05);
}

.announcement-body {
    padding: 25px;
}

.announcement-title {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-family: 'VT323', monospace;
}

.announcement-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-author img {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-light);
    box-shadow: 0 0 4px var(--primary-blue);
    image-rendering: pixelated;
}

.announcement-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    font-family: 'VT323', monospace;
}

/* ===== SECTIONS ===== */
.about-section {
    padding: 80px 40px;
    background: var(--surface);
    border-top: 3px solid var(--border-light);
    border-bottom: 3px solid var(--border-light);
    font-family: 'VT323', monospace;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
}

.section-title i {
    font-size: 2.8rem;
    color: var(--primary-light);
}

.about-content {
    background: rgba(14, 165, 233, 0.08);
    border: 3px solid var(--border-light);
    padding: 40px;
    max-width: 900px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2), 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    font-family: 'VT323', monospace;
}

.latest-news-section {
    padding: 80px 40px;
    background: transparent;
    font-family: 'VT323', monospace;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.view-all-btn {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 24px;
    border: 2px solid var(--border-light);
    transition: all 0.2s ease;
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.view-all-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary-light);
    background: rgba(14, 165, 233, 0.15);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(14, 165, 233, 0.3);
}

/* ===== LATEST NEWS ===== */
.latest-news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.latest-news-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 3px solid var(--border-light);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    font-family: 'VT323', monospace;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.latest-news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
}

.latest-news-card:hover {
    border-color: var(--primary-light);
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.3);
}

.latest-news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.latest-news-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
    image-rendering: pixelated;
}

.latest-news-card:hover .latest-news-banner {
    transform: scale(1.08);
}

.latest-news-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.latest-news-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 700;
    transition: color 0.2s ease;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
}

.latest-news-card:hover .latest-news-title {
    color: var(--primary-light);
}

.latest-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'VT323', monospace;
}

.latest-news-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.latest-news-author img {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-light);
    box-shadow: 0 0 4px var(--primary-blue);
    image-rendering: pixelated;
}

.latest-news-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'VT323', monospace;
}

/* ===== APPLY SECTION ===== */
.apply-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(6, 182, 212, 0.12));
    border-top: 3px solid var(--border-light);
    text-align: center;
    font-family: 'VT323', monospace;
}

.apply-container {
    max-width: 600px;
    margin: 0 auto;
}

.apply-icon {
    font-size: 3.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.apply-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
}

.apply-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.8;
    font-family: 'VT323', monospace;
}

.mc-btn-apply {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border: 3px solid var(--primary-dark);
    color: white;
    font-size: 1.1rem;
    padding: 16px 44px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.mc-btn-apply:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.4);
}

.mc-btn-apply:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--bg-darker), #0a1e3a);
    color: var(--text-primary);
    padding: 60px 40px 40px;
    border-top: 3px solid var(--border-light);
    font-family: 'VT323', monospace;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social-download {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-social-block,
.footer-download-block {
    flex: 1;
    min-width: 250px;
}

.footer-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.15);
    border: 2px solid var(--border-light);
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.3rem;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.social-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-color: var(--primary-light);
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 rgba(14, 165, 233, 0.3);
    color: white;
}

.footer-download-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-img {
    height: 50px;
    width: auto;
    transition: all 0.2s ease;
    filter: brightness(1.1);
    image-rendering: pixelated;
}

.download-img:hover {
    transform: translate(-2px, -2px);
}

.footer-ip-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 165, 233, 0.15);
    border: 2px solid var(--border-light);
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: all;
    margin: 20px auto 0;
    width: fit-content;
    font-family: 'VT323', monospace;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.footer-ip-box:hover {
    background: rgba(14, 165, 233, 0.25);
    border-color: var(--primary-light);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(14, 165, 233, 0.3);
}

.footer-ip-label {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'VT323', monospace;
}

.footer-ip-address {
    color: var(--primary-light);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: 'VT323', monospace;
}

.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
    padding: 14px 28px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.2s ease;
    font-weight: 700;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
    font-family: 'VT323', monospace;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.no-news-message {
    text-align: center;
    color: var(--text-secondary);
    padding: 50px;
    background: var(--surface);
    border: 3px solid var(--border-light);
    font-family: 'VT323', monospace;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.2s ease;
        border-left: 3px solid var(--border-light);
        z-index: 999;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .page-content {
        padding: 80px 20px 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .staff-card {
        padding: 20px 15px;
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    }

    .staff-avatar {
        width: 80px;
        height: 80px;
    }

    .announcements-container,
    .latest-news-container {
        grid-template-columns: 1fr;
    }

    .footer-social-download {
        flex-direction: column;
        gap: 30px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .latest-news-section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo img {
        height: 35px;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .server-info-box {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gamemodes-bar {
        flex-direction: column;
        gap: 12px;
    }

    .gamemode-item {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .mc-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
    }

    .page-content {
        padding: 60px 15px 30px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .staff-card {
        padding: 15px 10px;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    }

    .staff-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .staff-name {
        font-size: 1rem;
    }

    .staff-role {
        font-size: 0.7rem;
        padding: 4px 12px;
        box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
    }

    .apply-section {
        padding: 50px 20px;
    }

    .apply-title {
        font-size: 1.6rem;
    }

    .footer {
        padding: 40px 15px 30px;
    }

    .footer-label {
        font-size: 1rem;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    }

    .announcement-card,
    .latest-news-card {
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    }
}
/* ===== ENHANCED NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 30px;
    background: transparent;
    backdrop-filter: blur(0);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'VT323', monospace;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 30, 58, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--primary-light);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4),
                0 0 20px rgba(14, 165, 233, 0.2);
    padding: 10px 30px;
    animation: navbarPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes navbarPop {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 var(--primary-dark);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    text-shadow: 2px 2px 0 var(--primary-dark), 0 0 12px rgba(14, 165, 233, 0.6);
}

.nav-logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--primary-blue));
    image-rendering: pixelated;
    transition: all 0.3s ease;
}

.nav-logo:hover img {
    filter: drop-shadow(0 0 16px var(--primary-blue)),
            drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
    background: rgba(14, 165, 233, 0.15);
    border: 2px solid var(--primary-light);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2), 0 0 12px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 4px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    box-shadow: 0 0 4px var(--primary-blue);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Navbar IP Box */
.navbar-ip-box {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(14, 165, 233, 0.2);
    border: 2px solid var(--border-light);
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'VT323', monospace;
    border-radius: 4px;
    white-space: nowrap;
}

.navbar.scrolled .navbar-ip-box {
    display: flex;
}

.navbar-ip-box:hover {
    background: rgba(14, 165, 233, 0.4);
    border-color: var(--primary-light);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}

.navbar-ip-label {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.85rem;
}

.navbar-ip-address {
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-copy-icon {
    color: var(--primary-light);
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.navbar-ip-box:hover .navbar-copy-icon {
    transform: scale(1.2);
}

/* ===== GAMEMODES INFO SECTION ===== */
.gamemodes-info-section {
    padding: 100px 40px;
    background: transparent;
    font-family: 'VT323', monospace;
}

.gamemodes-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gamemodes-header {
    text-align: center;
    margin-bottom: 60px;
}

.gamemodes-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'VT323', monospace;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: slideDown 0.6s ease;
}

.gamemodes-title i {
    font-size: 3.5rem;
    color: var(--primary-light);
}

.gamemodes-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    animation: slideDown 0.6s ease 0.1s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gamemodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Gamemode Cards */
.gamemode-card {
    background: var(--surface);
    border: 3px solid var(--border-light);
    padding: 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    font-family: 'VT323', monospace;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3),
                inset 0 0 0 0 rgba(14, 165, 233, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.gamemode-card.visible {
    opacity: 1;
    animation: cardFloat 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gamemode-card:nth-child(1).visible {
    animation-delay: 0s;
}

.gamemode-card:nth-child(2).visible {
    animation-delay: 0.15s;
}

.gamemode-card:nth-child(3).visible {
    animation-delay: 0.3s;
}

@keyframes cardFloat {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gamemode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.5), transparent);
}

.gamemode-card:hover {
    border-color: var(--primary-light);
    transform: translate(-6px, -6px);
    box-shadow: 12px 12px 0 rgba(14, 165, 233, 0.2),
                inset 0 0 0 2px var(--primary-light);
    background: rgba(30, 58, 138, 0.25);
}

.gamemode-card-header {
    font-size: 4rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.gamemode-card:hover .gamemode-card-header {
    transform: scale(1.2) rotateZ(10deg);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.ffa-card .gamemode-card-header {
    color: #ef4444;
}

.lifesteal-card .gamemode-card-header {
    color: #ec4899;
}

.boxpvp-card .gamemode-card-header {
    color: #06b6d4;
}

.gamemode-card-content {
    margin-bottom: 25px;
}

.gamemode-card-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.gamemode-card:hover .gamemode-card-title {
    color: var(--primary-light);
    text-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

.gamemode-card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'VT323', monospace;
}

.gamemode-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(14, 165, 233, 0.2);
    border: 2px solid var(--border-light);
    padding: 6px 12px;
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    font-family: 'VT323', monospace;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gamemode-card:hover .feature-tag {
    background: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
    transform: scale(1.05);
}

.gamemode-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border: 3px solid var(--primary-dark);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.gamemode-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.gamemode-btn:hover::before {
    width: 300px;
    height: 300px;
}

.gamemode-btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.5),
                0 0 20px rgba(14, 165, 233, 0.4);
}

.gamemode-btn:active {
    transform: translate(0px, 0px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.gamemode-btn i {
    transition: all 0.3s ease;
}

.gamemode-btn:hover i {
    transform: translateX(4px);
}

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        border-left: 3px solid var(--border-light);
        z-index: 999;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
        justify-content: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin-bottom: 10px;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        border-radius: 4px;
    }

    .nav-toggle {
        display: flex;
    }

    .navbar-ip-box {
        display: none !important;
    }

    .gamemodes-info-section {
        padding: 60px 20px;
    }

    .gamemodes-title {
        font-size: 2rem;
    }

    .gamemode-card {
        padding: 25px;
    }

    .gamemodes-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .nav-logo span {
        display: none;
    }

    .nav-menu {
        width: 100%;
        max-width: 100%;
    }

    .gamemodes-title {
        font-size: 1.5rem;
    }

    .gamemodes-subtitle {
        font-size: 1rem;
    }

    .gamemode-card-header {
        font-size: 3rem;
    }

    .gamemode-card-title {
        font-size: 1.3rem;
    }

    .gamemode-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
    }
}
/* ===== RULES PAGE HERO ===== */
.rules-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 60px;
    overflow: hidden;
}

.rules-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.rules-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(2, 6, 23, 0.8) 100%);
    z-index: 1;
}

.rules-hero-content {
    text-align: center;
    z-index: 10;
    animation: slideDown 0.6s ease;
}

.rules-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'VT323', monospace;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rules-title i {
    font-size: 4rem;
    color: var(--primary-light);
}

.rules-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* ===== RULES TABS ===== */
.rules-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.rules-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(14, 165, 233, 0.1);
    border: 3px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.rules-tab-btn:hover {
    transform: translate(-2px, -2px);
    border-color: var(--primary-light);
    box-shadow: 6px 6px 0 rgba(14, 165, 233, 0.3);
}

.rules-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-color: var(--primary-dark);
    color: white;
    text-shadow: 1px 1px 0 var(--primary-dark);
    box-shadow: 6px 6px 0 rgba(14, 165, 233, 0.4);
}

/* ===== RULES CONTAINER ===== */
.rules-container {
    max-width: 1000px;
    margin: 0 auto;
}

.rules-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.rules-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rules-category {
    margin-bottom: 60px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.category-title i {
    font-size: 2.8rem;
    color: var(--primary-light);
}

.category-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
}

/* ===== RULES LIST ===== */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rule-item {
    background: var(--surface);
    border: 3px solid var(--border-light);
    border-bottom: none;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: stretch;
    animation: ruleSlideIn 0.5s ease forwards;
    opacity: 0;
}

.rule-item:last-child {
    border-bottom: 3px solid var(--border-light);
    border-radius: 0 0 8px 8px;
}

.rule-item:first-child {
    border-radius: 8px 8px 0 0;
}

.rule-item:nth-child(1) { animation-delay: 0s; }
.rule-item:nth-child(2) { animation-delay: 0.1s; }
.rule-item:nth-child(3) { animation-delay: 0.2s; }
.rule-item:nth-child(4) { animation-delay: 0.3s; }
.rule-item:nth-child(5) { animation-delay: 0.4s; }
.rule-item:nth-child(6) { animation-delay: 0.5s; }

@keyframes ruleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rule-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-blue));
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(30, 58, 138, 0.25);
}

.rule-item.open .rule-header {
    background: rgba(14, 165, 233, 0.15);
    border-bottom: 2px solid var(--border-light);
}

.rule-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    padding: 25px 20px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'VT323', monospace;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.rule-header {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.rule-header:hover {
    background: rgba(14, 165, 233, 0.1);
}

.rule-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    text-align: left;
}

.rule-title-section i {
    font-size: 1.8rem;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.rule-item:hover .rule-title-section i {
    transform: scale(1.15);
}

.rule-title-section h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    margin: 0;
}

.rule-item:hover .rule-title-section h3 {
    color: var(--primary-light);
}

.toggle-icon {
    color: var(--primary-light);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rule-item.open .toggle-icon {
    transform: rotateZ(-180deg);
}

/* ===== RULE BADGE ===== */
.rule-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'VT323', monospace;
    white-space: nowrap;
}

.rule-badge i {
    font-size: 1rem;
}

.rule-badge.approved {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.rule-badge.warning {
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.rule-badge.danger {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.rule-badge.info {
    background: rgba(14, 165, 233, 0.2);
    border: 2px solid rgba(14, 165, 233, 0.4);
    color: var(--primary-light);
}

/* ===== RULE CONTENT ===== */
.rule-content {
    display: none;
    padding: 0 30px 0 100px;
    background: linear-gradient(90deg, transparent 0%, rgba(14, 165, 233, 0.05) 100%);
    border-top: 2px solid var(--border-light);
    animation: expandDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rule-item.open .rule-content {
    display: block;
    padding: 25px 30px 25px 100px;
}

@keyframes expandDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rule-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'VT323', monospace;
}

.rule-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    background: rgba(14, 165, 233, 0.1);
    border-left: 4px solid var(--primary-light);
    padding: 15px 20px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: 'VT323', monospace;
    line-height: 1.6;
}

.detail-item strong {
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-weight: 700;
}

.detail-item i {
    font-size: 1rem;
}

.rule-content:not(:empty) {
    padding-bottom: 25px;
}

/* ===== SUPPORT ITEM ===== */
.support-item .rule-header {
    cursor: default;
}

.support-item .toggle-icon {
    display: none;
}

.support-content {
    display: block !important;
    padding: 25px 30px 25px 100px !important;
}

.rule-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border: 3px solid var(--primary-dark);
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    margin-top: 15px;
}

.rule-action-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.4);
}

.rule-action-btn:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .rules-hero {
        padding: 80px 20px 50px;
    }

    .rules-title {
        font-size: 2.2rem;
    }

    .rules-title i {
        font-size: 2.5rem;
    }

    .rules-subtitle {
        font-size: 1.1rem;
    }

    .rules-tabs {
        gap: 10px;
    }

    .rules-tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .rule-header {
        flex-wrap: wrap;
        gap: 12px;
        padding: 20px 15px;
    }

    .rule-number {
        padding: 20px 15px;
        min-width: 60px;
        font-size: 1.5rem;
    }

    .rule-title-section {
        width: 100%;
    }

    .rule-content {
        padding-left: 70px;
    }

    .rule-item.open .rule-content {
        padding-left: 70px;
    }

    .rule-badge {
        font-size: 0.8rem;
    }

    .category-title {
        font-size: 1.8rem;
    }

    .category-title i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .rules-hero {
        padding: 60px 15px 40px;
    }

    .rules-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 8px;
    }

    .rules-title i {
        font-size: 2rem;
    }

    .rules-subtitle {
        font-size: 0.95rem;
    }

    .rules-tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    }

    .page-content {
        padding: 40px 15px;
    }

    .rule-item {
        flex-direction: column;
    }

    .rule-number {
        padding: 15px;
        min-width: 100%;
        border-bottom: 2px solid var(--border-light);
    }

    .rule-header {
        padding: 15px;
        flex-direction: column;
    }

    .rule-title-section {
        width: 100%;
    }

    .rule-title-section h3 {
        font-size: 1.1rem;
    }

    .rule-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .rule-content {
        padding: 15px;
    }

    .rule-item.open .rule-content {
        padding: 20px 15px;
    }

    .detail-item {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .category-title i {
        font-size: 1.5rem;
    }

    .rule-action-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
    }
}
/* ===== NEW SERVER INFO BOX DESIGN ===== */
.server-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.info-panel {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.05));
    border: 3px solid var(--border-light);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
}

.info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-panel:hover::before {
    opacity: 1;
}

.info-panel:hover {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(6, 182, 212, 0.1));
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.2),
                0 12px 32px rgba(14, 165, 233, 0.15);
}

.panel-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 8px;
    aspect-ratio: 1;
    transition: all 0.3s ease;
}

.info-panel:hover .panel-icon {
    transform: scale(1.15) rotateZ(10deg);
    background: rgba(14, 165, 233, 0.25);
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.4);
}

.panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.panel-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 700;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.panel-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.info-panel:hover .panel-value {
    text-shadow: 0 0 12px rgba(14, 165, 233, 0.6),
                 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.panel-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'VT323', monospace;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px currentColor;
}

.status-indicator.online {
    background: #10b981;
    color: #10b981;
}

.status-indicator.offline {
    background: #ef4444;
    color: #ef4444;
    animation: none;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.panel-action {
    font-size: 0.85rem;
    color: var(--primary-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'VT323', monospace;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.panel-action:hover {
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.panel-action i {
    transition: all 0.2s ease;
}

.panel-action:hover i {
    transform: scale(1.2);
}

/* ===== SERVER PANEL SPECIFIC ===== */
.server-panel {
    border-color: rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(59, 130, 246, 0.05));
}

.server-panel:hover {
    border-color: #3b82f6;
}

.server-panel .panel-icon {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
}

.server-panel:hover .panel-icon {
    background: rgba(59, 130, 246, 0.25);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
}

.server-panel .panel-value {
    color: #3b82f6;
}

.server-panel:hover .panel-value {
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.6),
                 1px 1px 0 rgba(0, 0, 0, 0.3);
}

/* ===== STATUS PANEL SPECIFIC ===== */
.status-panel {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(34, 197, 94, 0.05));
}

.status-panel:hover {
    border-color: #10b981;
}

.status-panel .panel-icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.status-panel:hover .panel-icon {
    background: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.status-panel .panel-value {
    color: #10b981;
}

.status-panel:hover .panel-value {
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.6),
                 1px 1px 0 rgba(0, 0, 0, 0.3);
}

/* ===== DISCORD PANEL SPECIFIC ===== */
.discord-panel {
    border-color: rgba(114, 137, 218, 0.4);
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.12), rgba(99, 102, 241, 0.05));
}

.discord-panel:hover {
    border-color: #7289da;
}

.discord-panel .panel-icon {
    color: #7289da;
    background: rgba(114, 137, 218, 0.15);
}

.discord-panel:hover .panel-icon {
    background: rgba(114, 137, 218, 0.25);
    box-shadow: 0 0 16px rgba(114, 137, 218, 0.4);
}

.discord-panel .panel-value {
    color: #7289da;
}

.discord-panel:hover .panel-value {
    text-shadow: 0 0 12px rgba(114, 137, 218, 0.6),
                 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.discord-panel .panel-action {
    color: #7289da;
}

.discord-panel .panel-action:hover {
    text-shadow: 0 0 8px rgba(114, 137, 218, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .server-info-box {
        gap: 15px;
        grid-template-columns: 1fr;
    }

    .info-panel {
        padding: 20px;
        gap: 15px;
    }

    .panel-icon {
        font-size: 2rem;
        min-width: 50px;
    }

    .panel-value {
        font-size: 1.2rem;
    }

    .panel-label {
        font-size: 0.75rem;
    }

    .panel-action {
        font-size: 0.8rem;
    }

    .info-panel:hover {
        transform: translate(-2px, -2px);
        box-shadow: 4px 4px 0 rgba(14, 165, 233, 0.2);
    }
}

@media (max-width: 480px) {
    .server-info-box {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .info-panel {
        padding: 18px;
        gap: 12px;
        border: 2px solid var(--border-light);
    }

    .panel-icon {
        font-size: 1.8rem;
        min-width: 45px;
    }

    .panel-value {
        font-size: 1.1rem;
    }

    .panel-label {
        font-size: 0.7rem;
    }

    .panel-action {
        font-size: 0.75rem;
    }

    .info-panel:hover {
        transform: translate(-1px, -1px);
        box-shadow: 2px 2px 0 rgba(14, 165, 233, 0.15);
    }
}
