@font-face {
    font-family: 'Han Zi';
    src: url('font/HanZi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-deep: #06060c;
    --surface-glass: rgba(12, 12, 24, 0.7);
    --surface-border: rgba(255, 255, 255, 0.06);
    --neon-cyan: #00e5ff;
    --neon-purple: #b347ea;
    --neon-pink: #ff4081;
    --neon-gold: #ffd740;
    --text-primary: #f5f5ff;
    --text-secondary: #b0b0cc;
    --font-display: 'Han Zi', 'Montserrat', sans-serif;
    --font-body: 'Han Zi', 'Inter', system-ui, sans-serif;
    --transition-smooth: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    --card-radius: 16px;
}

body {
    background: var(--bg-deep);
    background-image: radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.03) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(179, 71, 234, 0.03) 0%, transparent 60%), radial-gradient(ellipse at 50% 80%, rgba(255, 64, 129, 0.02) 0%, transparent 60%);
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 14px;
    cursor: url('../images/cursor.png'), auto;
}

a:hover,
button:hover,
.btn:hover,
.nav-link:hover,
.glass-card:hover,
.server-card:hover,
select:hover,
.forum-category-card:hover,
.lang-switch select:hover,
.news-card:hover,
.forum-thread-card:hover {
    cursor: url('../images/cursor2.png'), pointer;
}

.sakura-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }

.petal {
    position: absolute; top: -12%;
    background: radial-gradient(circle at 25% 30%, rgba(255, 200, 220, 0.7), rgba(255, 130, 170, 0.4));
    width: 16px; height: 16px; border-radius: 80% 0 75% 0; transform: rotate(35deg); opacity: 0.6;
    animation: fall linear infinite, wobble ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.45)); will-change: transform;
}

.petal:nth-child(even) { background: radial-gradient(circle at 30% 25%, rgba(255, 240, 250, 0.75), rgba(255, 160, 200, 0.5)); border-radius: 0 82% 0 72%; }
.petal:nth-child(3n) { background: radial-gradient(circle at 20% 35%, rgba(255, 180, 210, 0.65), rgba(255, 110, 160, 0.45)); border-radius: 70% 0 80% 0; }

@keyframes fall { 0% { transform: translateY(-5vh) rotate(0deg) scale(0.9); opacity: 0.75; } 100% { transform: translateY(112vh) rotate(720deg) scale(1.05); opacity: 0.12; } }
@keyframes wobble { 0%, 100% { margin-left: 0px; } 25% { margin-left: 20px; } 50% { margin-left: -16px; } 75% { margin-left: 14px; } }

#app { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 100vh; backdrop-filter: blur(1px); }

.navbar {
    display: flex; align-items: center; justify-content: center; padding: 0.6rem 2rem;
    background: rgba(8, 8, 16, 0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15); position: sticky; top: 0; z-index: 100; flex-wrap: wrap; gap: 1rem;
}

.logo {
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 1px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.35));
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-links {
    display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: var(--text-secondary); text-decoration: none; font-family: var(--font-display);
    font-weight: 600; font-size: 0.85rem; letter-spacing: 0.8px; transition: all var(--transition-smooth);
    padding: 0.35rem 0.6rem; border-radius: 8px; position: relative;
}

.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80%; height: 2px; background: var(--neon-cyan);
    box-shadow: 0 0 4px var(--neon-cyan);
    animation: linkPulse 2s ease-in-out infinite;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

@keyframes linkPulse {
    0%, 100% { box-shadow: 0 0 4px var(--neon-cyan); }
    50% { box-shadow: 0 0 8px var(--neon-cyan); }
}

.nav-link:hover { color: #ffffff; text-shadow: 0 0 10px var(--neon-cyan); background: rgba(0, 229, 255, 0.06); }
.nav-link:hover::after { opacity: 1; }
.nav-link.active { color: #ffffff; text-shadow: 0 0 10px var(--neon-cyan); background: rgba(0, 229, 255, 0.06); }
.nav-link.active::after { opacity: 1; }

.admin-link { color: var(--neon-gold) !important; border: 1px solid rgba(255, 215, 64, 0.3); }
.admin-link:hover { box-shadow: 0 0 15px rgba(255, 215, 64, 0.3); }

.user-controls { display: flex; align-items: center; gap: 0.8rem; }

.user-profile {
    display: flex; align-items: center; gap: 0.8rem;
    background: var(--surface-glass); padding: 0.4rem 1.2rem; border-radius: 30px;
    border: 1px solid var(--surface-border);
}

.user-avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--neon-purple); object-fit: cover; }
.user-details { display: flex; flex-direction: column; }
.user-name { color: var(--neon-cyan); font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; }
.user-auth-status { color: #4cff4c; font-size: 0.65rem; font-family: var(--font-display); }

.steam-login-btn { display: flex; align-items: center; }
.steam-login-btn img { height: 34px; border-radius: 4px; transition: transform 0.3s; }
.steam-login-btn:hover img { transform: scale(1.05); }

.lang-switch select {
    background: rgba(18, 18, 30, 0.9); border: 1px solid rgba(255, 255, 255, 0.18); color: white;
    padding: 0.4rem 1.8rem 0.4rem 0.8rem; border-radius: 20px; font-weight: 600; font-size: 0.8rem;
    backdrop-filter: blur(10px); transition: all var(--transition-smooth); cursor: pointer; font-family: var(--font-display);
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='white'/></svg>");
    background-repeat: no-repeat; background-position: right 0.5rem center; background-size: 10px;
}
.lang-switch select:hover { border-color: var(--neon-purple); box-shadow: 0 0 14px rgba(179, 71, 234, 0.4); }
.lang-switch select option { background: rgba(18, 18, 30, 0.95); color: white; }

.page { display: none; padding: 1.8rem 2.5rem; flex: 1; animation: fadeUpBlur 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.page.active { display: block; }

@keyframes fadeUpBlur { 0% { opacity: 0; filter: blur(8px); transform: translateY(25px); } 100% { opacity: 1; filter: blur(0); transform: translateY(0); } }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }

.glass-card {
    background: var(--surface-glass); backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border); border-radius: var(--card-radius); padding: 1.5rem;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1); position: relative; overflow: hidden;
}

.glass-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%); opacity: 0; transition: opacity 0.4s; }
.glass-card:hover::before { opacity: 1; }
.glass-card:hover { transform: translateY(-3px); border-color: rgba(0, 229, 255, 0.3); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 229, 255, 0.15); }
.glass-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--neon-cyan); }
.glass-card p { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-secondary); }

.btn {
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.9), rgba(30, 30, 50, 0.9));
    border: 1px solid rgba(0, 229, 255, 0.25); color: white; padding: 0.55rem 1.3rem;
    border-radius: 25px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.8px;
    font-family: var(--font-display); cursor: pointer; transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px); display: inline-flex; align-items: center; gap: 0.4rem;
    text-transform: uppercase; position: relative; overflow: hidden; text-decoration: none;
}

.btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent); transition: left 0.5s; }
.btn:hover::after { left: 100%; }
.btn:hover { transform: scale(1.05); border-color: var(--neon-pink); box-shadow: 0 0 20px rgba(255, 64, 129, 0.55), 0 6px 18px rgba(0, 0, 0, 0.4); background: linear-gradient(135deg, rgba(30, 30, 55, 0.95), rgba(40, 20, 50, 0.95)); }
.btn-small { padding: 0.35rem 0.8rem; font-size: 0.75rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(179, 71, 234, 0.3)); border-color: var(--neon-cyan); }
.btn-secondary { background: rgba(30, 30, 50, 0.7); border-color: rgba(255, 255, 255, 0.2); }
.btn-submit { width: 100%; justify-content: center; padding: 0.8rem; font-size: 1rem; background: linear-gradient(135deg, rgba(0, 229, 255, 0.4), rgba(179, 71, 234, 0.4)); }
.btn-connect { width: 100%; justify-content: center; margin-top: 0.5rem; background: linear-gradient(135deg, rgba(76, 255, 76, 0.3), rgba(0, 229, 255, 0.3)); border-color: rgba(76, 255, 76, 0.5); }

.hero { text-align: center; padding: 2.5rem 1.5rem; position: relative; }
.hero h1 {
    font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; letter-spacing: 3px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate, gradientShift 4s ease infinite;
    margin-bottom: 0.8rem;
}
@keyframes titleGlow { 0% { filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.5)); } 100% { filter: drop-shadow(0 0 30px rgba(179, 71, 234, 0.7)); } }
.hero .subtitle { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-secondary); letter-spacing: 2px; margin-bottom: 1.5rem; }

.section-title { font-family: var(--font-display); font-size: 1.5rem; margin: 2rem 0 1rem; letter-spacing: 1px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.title-icon { font-size: 1.3rem; }

.server-card { background: var(--surface-glass); backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--surface-border); border-radius: var(--card-radius); overflow: hidden; transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1); opacity: 0; animation: cardPop 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards; cursor: pointer; }
.server-card:hover { transform: translateY(-5px); border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.25); }
@keyframes cardPop { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }
.server-card-img-wrapper { position: relative; }
.server-card-img { width: 100%; height: 140px; object-fit: cover; }
.server-status-badge { position: absolute; top: 10px; right: 10px; padding: 0.3rem 0.8rem; border-radius: 20px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; }
.status-active { background: rgba(26, 95, 26, 0.7); border: 1px solid rgba(46, 139, 46, 0.7); color: #3a8c3a; }
.status-frozen { background: rgba(26, 26, 95, 0.7); border: 1px solid rgba(46, 46, 139, 0.7); color: #3a3a8c; }
.status-offline { background: rgba(95, 26, 26, 0.7); border: 1px solid rgba(139, 46, 46, 0.7); color: #8c3a3a; }
.server-card-body { padding: 1.2rem; text-align: center; }
.server-card-body h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--neon-cyan); }
.server-online { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-size: 0.9rem; color: var(--neon-gold); margin-bottom: 0.3rem; }
.online-dot { width: 8px; height: 8px; background: #4cff4c; border-radius: 50%; box-shadow: 0 0 8px #4cff4c; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } }
.server-ip { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.5rem; font-family: var(--font-body); }
.server-frozen-message { padding: 1rem; color: var(--text-secondary); font-family: var(--font-display); text-align: center; }
.frozen-sub { font-size: 0.75rem; opacity: 0.7; margin-top: 0.3rem; }

.news-card-link { text-decoration: none; color: inherit; }
.news-card { cursor: pointer; height: 100%; }
.news-badge { display: inline-block; padding: 0.2rem 0.6rem; background: rgba(0, 229, 255, 0.2); border-radius: 12px; font-size: 0.7rem; font-family: var(--font-display); color: var(--neon-cyan); margin-bottom: 0.5rem; }
.news-date { font-size: 0.75rem; color: var(--text-secondary); margin: 0.3rem 0; font-family: var(--font-body); }
.news-excerpt { font-family: var(--font-body); margin: 0.5rem 0; }
.news-readmore { color: var(--neon-cyan); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; }
.news-list-item { transition: all 0.3s; }
.news-list-item:hover { transform: translateX(5px); border-color: var(--neon-cyan); }

.news-detail-card {
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-top: 1rem;
}
.news-detail-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--surface-border);
    text-align: center;
}
.news-detail-header h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 0.8rem 0 0.3rem 0;
}
.news-detail-body {
    padding: 2rem;
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-primary);
}
.news-full-content {
    padding: 0 2rem 2rem 2rem;
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-secondary);
    border-top: 1px solid var(--surface-border);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.dev-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.dev-avatar { width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--neon-purple); box-shadow: 0 0 20px rgba(179, 71, 234, 0.4); object-fit: cover; }
.dev-info h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.2rem; }
.dev-role { color: var(--neon-gold); font-family: var(--font-display); font-size: 0.85rem; margin-bottom: 0.5rem; }
.btn-steam { background: rgba(30, 30, 50, 0.8); border-color: rgba(255, 255, 255, 0.3); }

.dev-card-clickable {
    text-decoration: none;
    cursor: pointer;
}
.dev-card-clickable:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 229, 255, 0.15);
}

.team-subtitle {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--neon-gold);
    text-align: center;
    margin: 1.5rem 0 1rem 0;
    letter-spacing: 1px;
}

.rules-wrapper {
    max-width: none;
    margin: 0;
}

.rules-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.rules-sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
    position: sticky;
    top: 80px;
    z-index: 50;
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(140%);
    padding: 0.8rem 1rem;
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

.rules-sidebar-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 0.8rem;
    margin-right: 0.5rem;
    border-right: 1px solid rgba(0, 229, 255, 0.15);
    display: flex;
    align-items: center;
}

.rules-sidebar-btn {
    text-align: center;
    padding: 0.5rem 1rem;
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
}

.rules-sidebar-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
    transform: translateY(-2px);
}

.rules-sidebar-btn.active {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.rules-content {
    width: 100%;
}

.rules-section {
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    display: none;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.rules-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.rules-section:hover::before {
    opacity: 1;
}

.rules-section:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 229, 255, 0.15);
    transform: translateY(-3px);
}

.rules-section.active {
    display: block;
    animation: fadeUpBlur 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.rules-section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(0, 229, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rule-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border-left: 3px solid var(--neon-purple);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--neon-cyan);
    transform: translateX(3px);
}

.rule-number {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--neon-gold);
    min-width: 25px;
}

.rule-text {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
}

.forum-wrapper { max-width: 1400px; margin: 0 auto; }

.forum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.forum-category-card {
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.forum-category-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 20px rgba(0,229,255,0.15);
}

.forum-category-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.forum-category-body {
    padding: 1.5rem;
}

.forum-category-body h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--neon-cyan);
    margin-bottom: 0.4rem;
}

.forum-category-body p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.forum-category-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,229,255,0.04);
}

.forum-category-icon img {
    width: 64px;
    height: 64px;
    opacity: 0.6;
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forum-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
}

.forum-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.forum-breadcrumb span {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.forum-breadcrumb .separator {
    color: var(--neon-cyan);
}

.forum-breadcrumb .current {
    color: var(--neon-cyan);
}

.forum-thread-card {
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.6rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.forum-thread-card:hover {
    border-color: var(--neon-cyan);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(0,229,255,0.1);
}

.thread-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,229,255,0.06);
    border-radius: 10px;
    flex-shrink: 0;
}

.thread-info { flex: 1; min-width: 0; }

.thread-info h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thread-preview {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.3rem;
}

.thread-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.thread-badges {
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
}

.thread-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-family: var(--font-display);
    font-weight: 600;
}

.badge-pinned { background: rgba(255,215,64,0.15); color: var(--neon-gold); border: 1px solid rgba(255,215,64,0.3); }
.badge-closed { background: rgba(255,64,129,0.15); color: var(--neon-pink); border: 1px solid rgba(255,64,129,0.3); }

.forum-post-card {
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.6rem;
    transition: all 0.3s;
}

.forum-post-card:hover {
    border-color: rgba(0,229,255,0.2);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--surface-border);
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--neon-purple);
    object-fit: cover;
}

.post-author {
    font-weight: 600;
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.post-date {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-left: auto;
}

.post-content {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-primary);
    font-size: 0.9rem;
    white-space: pre-line;
}

.forum-reply-form {
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.forum-reply-form h4 {
    font-family: var(--font-display);
    color: var(--neon-cyan);
    margin-bottom: 0.8rem;
}

.complaints-wrapper { max-width: 700px; margin: 0 auto; }
.complaints-info { text-align: center; padding: 1rem; margin-bottom: 1.5rem; }
.complaints-info p { font-family: var(--font-body); font-size: 0.9rem; }
.complaint-form { padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-family: var(--font-display); font-size: 0.85rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.form-input { width: 100%; padding: 0.7rem 1rem; background: rgba(20, 20, 30, 0.9); border: 1px solid var(--surface-border); border-radius: 10px; color: white; font-family: var(--font-body); font-size: 0.9rem; transition: all 0.3s; }
.form-input:focus { outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }
.form-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.login-required-card {
    text-align: center;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    backdrop-filter: blur(18px) saturate(140%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.login-required-card .lock-icon {
    font-size: 3rem;
    margin-bottom: 0.3rem;
}
.login-required-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--neon-cyan);
}
.login-required-card p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
}

.loading-state {
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 300px;
}
.loading-state-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--neon-cyan);
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    animation: loadingPulse 1.5s ease-in-out infinite;
}
@keyframes loadingPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.oferta-content { max-width: 800px; margin: 0 auto; font-family: var(--font-body); line-height: 1.8; }
.oferta-section {
    padding: 2rem;
    line-height: 1.8;
    border-left: 3px solid var(--neon-purple);
    margin-bottom: 1rem;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    transition: all 0.3s;
}
.oferta-section:hover { border-left-color: var(--neon-cyan); border-color: rgba(0, 229, 255, 0.3); transform: translateX(3px); }
.oferta-section-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    letter-spacing: 1px;
}
.oferta-image {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.2rem 0;
    display: block;
}

.empty-state-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    backdrop-filter: blur(18px) saturate(140%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.empty-state-icon {
    margin-bottom: 0.3rem;
}
.empty-state-icon img {
    width: 64px;
    height: 64px;
    opacity: 0.8;
}
.empty-state-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.server-info-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.server-info-body {
    padding: 2rem;
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
}
.server-info-body h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 0.3rem;
}
.server-info-anime {
    font-family: var(--font-display);
    color: var(--neon-gold);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.server-info-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.server-info-universe {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    padding: 1.2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border-left: 3px solid var(--neon-purple);
}
.server-info-section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin: 1.5rem 0 0.8rem 0;
}
.server-info-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.server-info-feature {
    padding: 0.6rem 1rem;
    background: rgba(0,229,255,0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.server-info-characters {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.server-info-how {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-primary);
    padding: 1.2rem;
    background: rgba(0,229,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(0,229,255,0.15);
}

.server-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.server-modal-close:hover {
    background: rgba(255, 64, 129, 0.6);
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.5);
    transform: scale(1.1);
}

footer { margin-top: auto; padding: 1.5rem; text-align: center; background: rgba(4, 4, 12, 0.65); backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, 0.04); font-family: var(--font-display); letter-spacing: 1.5px; color: var(--text-secondary); font-size: 0.8rem; }
.footer-small { font-size: 0.7rem; opacity: 0.5; margin-top: 0.3rem; }

@media (max-width: 1100px) {
    .navbar {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-container {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links {
        position: static;
        transform: none;
        gap: 0.4rem;
        justify-content: center;
        margin: 0.3rem 0;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .user-controls {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
        width: 100%;
        gap: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page {
        padding: 1.2rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .server-card-img {
        height: 120px;
    }
    
    .server-info-features {
        grid-template-columns: 1fr;
    }
    
    .server-info-banner {
        height: 200px;
    }

    .rules-sidebar {
        position: sticky;
        top: 80px;
        gap: 0.3rem;
    }

    .rules-sidebar-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .rules-sidebar-title {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 229, 255, 0.15);
        margin-right: 0;
        margin-bottom: 0.3rem;
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-link {
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero .subtitle {
        font-size: 0.9rem;
    }
    
    .page {
        padding: 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .server-card-img {
        height: 100px;
    }
    
    .server-info-banner {
        height: 180px;
    }
    
    .user-profile {
        padding: 0.3rem 0.8rem;
    }
    
    .steam-login-btn img {
        height: 28px;
    }
    
    .lang-switch select {
        font-size: 0.7rem;
        padding: 0.3rem 1.5rem 0.3rem 0.6rem;
    }

    .rules-sidebar {
        position: sticky;
        top: 70px;
    }
}

.logo-container { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { width: 48px; height: 48px; object-fit: contain; }
.font-roboto { font-family: 'Roboto', 'Segoe UI', 'Arial', sans-serif; }