:root {
    --primary-blue: #4285B4;
    --dark-blue: #0a0a0a;
    --darker-blue: #050505;
    --light-blue: #6B9BD1;
    --accent-blue: #5A8FCF;
    --electric-blue: #7FB3E6;
    --neon-blue: #4A9EFF;
    --cyber-blue: #3B82F6;
    --minecraft-green: #7CB342;
    --minecraft-blue: #42A5F5;
    --text-light: #ffffff;
    --text-glow: #B8D4F0;
    --minecraft-gold: #FFD700;
    --copper: #B87333;
    --copper-light: #CD7F32;
    --copper-dark: #8B4513;
    --bg-gradient: radial-gradient(ellipse at center, #0a0a0a 0%, #0f1419 30%, #1a252f 70%, #0a0a0a 100%);
    --bg-overlay: linear-gradient(135deg, rgba(66, 133, 180, 0.08) 0%, rgba(107, 155, 209, 0.12) 25%, rgba(74, 159, 255, 0.08) 50%, rgba(66, 133, 180, 0.08) 75%, rgba(59, 130, 246, 0.05) 100%);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(74, 159, 255, 0.25);
    --shadow: 0 25px 80px rgba(66, 133, 180, 0.2);
    --shadow-glow: 0 0 60px rgba(107, 155, 209, 0.15);
    --glow: 0 0 30px rgba(74, 159, 255, 0.4);
    --minecraft-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

body {
    font-family: 'Minecraft', 'JetBrains Mono', monospace;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.4;
}









nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(74, 159, 255, 0.3);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@keyframes navGlow {
    0% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(74, 159, 255, 0.1); }
    100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 80px rgba(74, 159, 255, 0.3); }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 12px;
    overflow: hidden;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 159, 255, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(74, 159, 255, 0.1);
    transform: scale(1.05);
}

.toggle-line {
    width: 25px;
    height: 3px;
    background: var(--electric-blue);
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-right: 2px solid rgba(74, 159, 255, 0.4);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: left 0.4s ease-in-out;
    overflow-y: auto;
    padding-top: 90px;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(74, 159, 255, 0.2);
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1) 0%, rgba(107, 155, 209, 0.05) 100%);
}

.mobile-sidebar-header h3 {
    color: var(--electric-blue);
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(127, 179, 230, 0.5);
}

.mobile-nav {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, text-shadow 0.3s ease, border-left-color 0.3s ease, transform 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    width: 90%;
    max-width: 280px;
    text-align: center;
    border-radius: 15px;
    margin: 0.2rem auto;
}

.mobile-nav-item:hover {
    background: rgba(74, 159, 255, 0.1);
    color: var(--electric-blue);
    text-shadow: 0 0 15px rgba(74, 159, 255, 0.8);
    border-left-color: var(--neon-blue);
    transform: translateX(10px);
}

.mobile-nav-item.active {
    background: rgba(74, 159, 255, 0.15);
    color: var(--neon-blue);
    border-left-color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(74, 159, 255, 1);
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.3) 0%, rgba(107, 155, 209, 0.2) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.mobile-nav-item:hover::before,
.mobile-nav-item.active::before {
    width: 100%;
}

.mobile-nav-icon {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.mobile-nav-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}



.mobile-menu-toggle:hover {
    background: rgba(74, 159, 255, 0.1);
    transform: scale(1.05);
}

.toggle-line {
    width: 25px;
    height: 3px;
    background: var(--electric-blue);
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-right: 2px solid rgba(74, 159, 255, 0.4);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: left 0.4s ease-in-out;
    overflow-y: auto;
    padding-top: 90px;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(74, 159, 255, 0.2);
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1) 0%, rgba(107, 155, 209, 0.05) 100%);
}

.mobile-sidebar-header h3 {
    color: var(--electric-blue);
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(127, 179, 230, 0.5);
}

.mobile-nav {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, text-shadow 0.3s ease, border-left-color 0.3s ease, transform 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    width: 90%;
    max-width: 280px;
    text-align: center;
    border-radius: 15px;
    margin: 0.2rem auto;
}

.mobile-nav-item:hover {
    background: rgba(74, 159, 255, 0.1);
    color: var(--electric-blue);
    text-shadow: 0 0 15px rgba(74, 159, 255, 0.8);
    border-left-color: var(--neon-blue);
    transform: translateX(10px);
}

.mobile-nav-item.active {
    background: rgba(74, 159, 255, 0.15);
    color: var(--neon-blue);
    border-left-color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(74, 159, 255, 1);
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.3) 0%, rgba(107, 155, 209, 0.2) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.mobile-nav-item:hover::before,
.mobile-nav-item.active::before {
    width: 100%;
}

.mobile-nav-icon {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.mobile-nav-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}



.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
    position: relative;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.2) 0%, rgba(107, 155, 209, 0.3) 100%);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: -1;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links a:hover {
    color: var(--electric-blue);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(74, 159, 255, 0.8);
}

.nav-links a.active {
    color: var(--neon-blue);
    text-shadow: 0 0 25px rgba(74, 159, 255, 1);
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4A9EFF, #6B9BD1, #4285B4);
    border-radius: 1px;
    transition: width 0.4s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(74, 159, 255, 0.6);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.create-link {
    color: var(--copper-light) !important;
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.1) 0%, rgba(205, 127, 50, 0.15) 50%, rgba(184, 115, 51, 0.1) 100%);
    border: 1px solid var(--copper);
    text-shadow: 0 0 10px rgba(184, 115, 51, 0.8);
    box-shadow: 0 0 20px rgba(184, 115, 51, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.create-link::before {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.3) 0%, rgba(205, 127, 50, 0.4) 50%, rgba(184, 115, 51, 0.3) 100%);
}

.create-link:hover {
    color: var(--copper) !important;
    text-shadow: 0 0 20px rgba(184, 115, 51, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.create-link::after {
    background: linear-gradient(90deg, var(--copper), var(--copper-light), var(--copper));
    box-shadow: 0 0 10px rgba(184, 115, 51, 0.6);
}

.create-hero {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.1) 0%, rgba(139, 69, 19, 0.15) 50%, rgba(184, 115, 51, 0.1) 100%);
    position: relative;
}

.create-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(184, 115, 51, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(205, 127, 50, 0.04) 0%, transparent 50%);
    z-index: -1;
}

.create-title {
    background: linear-gradient(45deg, #B87333 0%, #CD7F32 25%, #8B4513 50%, #B87333 75%, #CD7F32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    text-shadow: 0 0 40px rgba(184, 115, 51, 0.6), 0 0 80px rgba(184, 115, 51, 0.4), 0 0 120px rgba(184, 115, 51, 0.2);
    animation: copperGlow 3s ease-in-out infinite alternate, copperShift 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(184, 115, 51, 0.5));
}

@keyframes copperGlow {
    0% {
        text-shadow: 0 0 20px rgba(184, 115, 51, 0.4), 0 0 40px rgba(184, 115, 51, 0.3), 0 0 60px rgba(184, 115, 51, 0.2);
        filter: drop-shadow(0 0 10px rgba(184, 115, 51, 0.3));
    }
    100% {
        text-shadow: 0 0 40px rgba(184, 115, 51, 0.8), 0 0 80px rgba(184, 115, 51, 0.6), 0 0 120px rgba(184, 115, 51, 0.4);
        filter: drop-shadow(0 0 30px rgba(184, 115, 51, 0.7));
    }
}

@keyframes copperShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.create-desc {
    color: var(--copper-light);
    text-shadow: 0 2px 10px rgba(205, 127, 50, 0.5);
}

.create-ip span {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.05) 0%, rgba(205, 127, 50, 0.1) 100%);
    border: 2px solid var(--copper);
    box-shadow: 0 8px 32px rgba(184, 115, 51, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.create-ip span::before {
    background: linear-gradient(90deg, transparent, var(--copper-light), transparent);
    animation: copperShine 3s ease-in-out infinite;
}

@keyframes copperShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.create-bg {
    background: radial-gradient(circle at 50% 50%, rgba(184, 115, 51, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.create-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(184, 115, 51, 0.02) 0%, rgba(139, 69, 19, 0.05) 100%);
}

.create-title-text {
    color: var(--copper-light);
    text-shadow: 0 2px 10px rgba(205, 127, 50, 0.5);
}

.create-content {
    max-width: 800px;
    margin: 0 auto;
}

.create-notice {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, rgba(184, 115, 51, 0.15) 100%);
    border: 2px solid var(--copper);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(184, 115, 51, 0.2);
    text-align: center;
}

.create-notice strong {
    color: var(--copper);
    font-size: 1.3rem;
    text-shadow: 0 2px 10px rgba(184, 115, 51, 0.8);
}

.create-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.create-feature {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.02) 0%, rgba(205, 127, 50, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--copper);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.create-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.1), transparent);
    transition: left 0.5s ease;
}

.create-feature:hover::before {
    left: 100%;
}

.create-feature:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(184, 115, 51, 0.4);
    border-color: var(--copper-light);
}

.create-feature h3 {
    color: var(--copper-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.create-feature p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

main {
    padding-top: 80px;
    min-height: calc(100vh - 160px);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    gap: 4rem;
    z-index: 2;
    padding: 2rem;
}

.hero-content {
    flex: 1;
    text-align: left; /* # 1 Положение надписи TeaMine (влево-вправо) */
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 600px;
    max-height: 600px;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img {
    animation: subtleFloat 6s ease-in-out infinite;
}

.hero-image img:hover {
    transform: scale(1.02);
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(0.5deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(2px) rotate(-0.5deg);
    }
}

.server-title {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ffffff 0%, #B8D4F0 25%, #4A9EFF 50%, #6B9BD1 75%, #4285B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(74, 159, 255, 0.6), 0 0 80px rgba(74, 159, 255, 0.4), 0 0 120px rgba(74, 159, 255, 0.2);
    animation: glow 3s ease-in-out infinite alternate, rainbow 6s ease-in-out infinite;
    letter-spacing: 3px;
    filter: drop-shadow(0 0 20px rgba(66, 133, 180, 0.5));
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px rgba(74, 159, 255, 0.4), 0 0 40px rgba(74, 159, 255, 0.3), 0 0 60px rgba(74, 159, 255, 0.2);
        filter: drop-shadow(0 0 10px rgba(66, 133, 180, 0.3));
    }
    100% {
        text-shadow: 0 0 40px rgba(74, 159, 255, 0.8), 0 0 80px rgba(74, 159, 255, 0.6), 0 0 120px rgba(74, 159, 255, 0.4);
        filter: drop-shadow(0 0 30px rgba(66, 133, 180, 0.7));
    }
}

@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.server-desc {
    font-size: 1.8rem;
    color: var(--electric-blue);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(127, 179, 230, 0.5);
    letter-spacing: 1px;
    margin-left: 30px;
}

.server-ip { /* # 3 Присоединиться */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    margin-left: -215px;
}

.server-ip span { /* # 2 Айпи */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(74, 159, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(74, 159, 255, 0.4);
    border-radius: 60px;
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(66, 133, 180, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.server-ip span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 159, 255, 0.2), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.5rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 15px rgba(66, 133, 180, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    border: 2px solid transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

.btn.primary:hover {
    transform: translateY(-5px) scale(1.08) rotateX(10deg);
    box-shadow: 0 20px 40px rgba(66, 133, 180, 0.5), 0 10px 20px rgba(74, 159, 255, 0.3);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 2px solid var(--neon-blue);
    backdrop-filter: blur(10px);
}

.btn.secondary:hover {
    background: var(--neon-blue);
    transform: translateY(-5px) scale(1.08) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(74, 159, 255, 0.5), 0 10px 20px rgba(66, 133, 180, 0.3);
    border-color: var(--electric-blue);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(66, 133, 180, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.rules-page, .wiki-page, .team-page, .copyright-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem 2rem;
}

.rules-page h1, .wiki-page h1, .team-page h1, .copyright-page h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ffffff, #6B9BD1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rules-header {
    text-align: center;
    margin-bottom: 4rem;
}

.rules-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff 0%, #B8D4F0 25%, #4A9EFF 50%, #6B9BD1 75%, #4285B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    text-shadow: 0 0 40px rgba(74, 159, 255, 0.6);
    animation: glow 3s ease-in-out infinite alternate;
}

.rules-intro {
    font-size: 1.3rem;
    color: var(--electric-blue);
    margin: 0;
    font-weight: 400;
}

.important-notice {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.15) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.notice-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.notice-content h2 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.notice-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.notice-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.notice-content li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.highlight {
    color: #FFD700 !important;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.rules-grid {
    display: grid;
    gap: 3rem;
}

.rule-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(107, 155, 209, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(66, 133, 180, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rule-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(66, 133, 180, 0.4);
}

.section-header {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.2) 0%, rgba(107, 155, 209, 0.15) 100%);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(74, 159, 255, 0.3);
}

.section-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(74, 159, 255, 0.5));
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(107, 155, 209, 0.3);
    margin: 0;
}

.rules-list {
    padding: 2rem;
    display: grid;
    gap: 2rem;
}

.rule-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(74, 159, 255, 0.05) 100%);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(66, 133, 180, 0.3);
    border-color: rgba(74, 159, 255, 0.4);
}

.rule-card.special {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.15) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

.rule-card.severe {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(176, 42, 55, 0.15) 100%);
    border-color: rgba(220, 53, 69, 0.4);
}

.rule-card.major {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 140, 0, 0.15) 100%);
    border-color: rgba(255, 193, 7, 0.4);
}

.rule-card.info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(32, 201, 151, 0.15) 100%);
    border-color: rgba(23, 162, 184, 0.4);
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rule-number {
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(66, 133, 180, 0.4);
}

.rule-header h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.rule-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.warning-list {
    margin: 1rem 0;
}

.warning-item {
    color: #FFC107;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.recommendation {
    color: #28A745;
    font-weight: 500;
    margin: 1rem 0;
}

.forbidden-list {
    margin: 1rem 0;
}

.forbidden-item {
    color: #DC3545;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.punishment {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 4px solid #6B9BD1;
}

.punishment.severe {
    border-left-color: #DC3545;
    background: rgba(220, 53, 69, 0.1);
}

.punishment-item {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.punishment-item:last-child {
    margin-bottom: 0;
}

.grief-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.grief-type {
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid;
}

.grief-type.minor {
    background: rgba(255, 193, 7, 0.1);
    border-color: #FFC107;
}

.grief-type.major {
    background: rgba(220, 53, 69, 0.1);
    border-color: #DC3545;
}

.grief-type h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.grief-type ul {
    margin: 0;
    padding-left: 1.2rem;
}

.grief-type li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.additional-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(74, 159, 255, 0.3);
}

.additional-info h4 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.additional-info ul {
    margin: 0;
    padding-left: 1.2rem;
}

.additional-info li { 
    font-size: 1.3rem;
}

.general-list ul {
    margin: 0;
    padding-left: 1.2rem;
}

.general-list li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.admin-rights,
.rule-updates {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(74, 159, 255, 0.3);
}

.admin-rights p,
.rule-updates p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.glossary-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glossary-item:hover {
    background: rgba(74, 159, 255, 0.05);
    transform: translateY(-2px);
}

.glossary-item strong {
    color: var(--electric-blue);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.glossary-item span {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.rules-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem 2rem;
    display: flex;
    gap: 2rem;
}

.rules-content {
    flex: 1;
    min-width: 0;
    order: 1;
    margin-left: 300px;
    transition: margin-left 0.3s ease;
}

.rules-sidebar {
    position: fixed;
    top: 140px;
    left: 2rem;
    width: 280px;
    height: calc(100vh - 180px);
    max-height: calc(100vh - 180px);
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 80px rgba(74, 159, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.3s ease;
}

.sidebar-header {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.3) 0%, rgba(107, 155, 209, 0.2) 100%);
    padding: 1.8rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(74, 159, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 159, 255, 0.1), transparent);
    animation: headerShine 4s ease-in-out infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.sidebar-header h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(74, 159, 255, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.sidebar-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(74, 159, 255, 0.3);
}

.sidebar-toggle {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toggle-line {
    width: 20px;
    height: 2px;
    background: var(--electric-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1px;
}

.sidebar-toggle:hover .toggle-line {
    background: var(--neon-blue);
}

.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 1.5rem;
}

.search-btn {
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    border: none;
    color: var(--text-light);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(66, 133, 180, 0.3);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(66, 133, 180, 0.5);
}

.nav-category {
    margin: 0.5rem 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1) 0%, rgba(107, 155, 209, 0.05) 100%);
    border-bottom: 1px solid rgba(74, 159, 255, 0.2);
}

.category-header:hover {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.2) 0%, rgba(107, 155, 209, 0.1) 100%);
}

.category-icon {
    font-size: 1.2rem;
    min-width: 1.5rem;
    text-align: center;
}

.category-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    text-shadow: 0 1px 5px rgba(74, 159, 255, 0.3);
    letter-spacing: 0.5px;
}

.category-links {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.category-links.collapsed {
    max-height: 0;
}

.sidebar-footer {
    margin-top: auto;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(74, 159, 255, 0.2);
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.05) 0%, rgba(107, 155, 209, 0.03) 100%);
}

.sidebar-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--electric-blue);
    text-shadow: 0 1px 5px rgba(74, 159, 255, 0.3);
}

.rules-sidebar.collapsed {
    width: 60px;
    transition: width 0.3s ease;
}

.rules-sidebar.collapsed .sidebar-header h3,
.rules-sidebar.collapsed .category-title,
.rules-sidebar.collapsed .sidebar-text,
.rules-sidebar.collapsed .search-container input,
.rules-sidebar.collapsed .sidebar-stats {
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rules-sidebar.collapsed .sidebar-logo {
    justify-content: center;
}

.rules-sidebar.collapsed .sidebar-logo h3 {
    display: none;
}

.rules-sidebar.collapsed .sidebar-nav {
    padding: 1rem 0;
}

.rules-sidebar.collapsed .nav-category {
    margin: 0.5rem 0;
}

.rules-sidebar.collapsed .category-header {
    padding: 0.5rem;
    justify-content: center;
}

.rules-sidebar.collapsed .category-icon {
    font-size: 1.5rem;
}

.rules-sidebar.collapsed .sidebar-link {
    padding: 1rem 0.5rem;
    justify-content: center;
}

.rules-sidebar.collapsed .sidebar-link .sidebar-text {
    display: none;
}

.rules-sidebar.collapsed .sidebar-link .sidebar-icon {
    font-size: 1.2rem;
    margin: 0;
}

.rules-sidebar.collapsed .search-container {
    padding: 0.5rem;
}

.rules-sidebar.collapsed .search-container input {
    width: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.rules-sidebar.collapsed .search-btn {
    position: absolute;
    right: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.rules-sidebar.collapsed .sidebar-footer {
    padding: 0.5rem;
}

.rules-sidebar.collapsed .sidebar-stats {
    flex-direction: column;
    gap: 0.5rem;
}

.rules-sidebar.collapsed .stat-item {
    display: none;
}

.search-container {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(74, 159, 255, 0.3);
}

#rule-search {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#rule-search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#rule-search:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(74, 159, 255, 0.3);
}

.sidebar-nav {
    padding: 1.5rem 0;
    flex: 1;
    height: calc(100vh - 300px);
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 159, 255, 0.3) transparent;
    overflow-x: hidden;
    display: block;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(74, 159, 255, 0.3);
    border-radius: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease, border-left-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    border-left: 4px solid transparent;
    margin: 0.2rem 0.5rem;
    border-radius: 0 25px 25px 0;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.15) 0%, rgba(107, 155, 209, 0.1) 100%);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: -1;
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    opacity: 1;
    transform: scaleX(1);
}

.sidebar-link:hover {
    color: var(--electric-blue);
    transform: translateX(8px) scale(1.02);
    text-shadow: 0 0 15px rgba(74, 159, 255, 0.8);
    border-left-color: var(--neon-blue);
    box-shadow: 0 5px 15px rgba(74, 159, 255, 0.2);
}

.sidebar-link.active {
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(74, 159, 255, 1);
    border-left-color: var(--neon-blue);
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1) 0%, rgba(107, 155, 209, 0.08) 100%);
    box-shadow: inset 0 0 20px rgba(74, 159, 255, 0.1), 0 0 30px rgba(74, 159, 255, 0.3);
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% { box-shadow: inset 0 0 20px rgba(74, 159, 255, 0.1), 0 0 30px rgba(74, 159, 255, 0.3); }
    50% { box-shadow: inset 0 0 30px rgba(74, 159, 255, 0.2), 0 0 40px rgba(74, 159, 255, 0.5); }
}

.sidebar-icon {
    font-size: 1.4rem;
    min-width: 1.8rem;
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.sidebar-link:hover .sidebar-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 8px rgba(74, 159, 255, 0.6));
}

.sidebar-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rules-content {
    flex: 1;
    min-width: 0;
    order: 1;
}

.sidebar-header {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.3) 0%, rgba(107, 155, 209, 0.2) 100%);
    padding: 1.8rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(74, 159, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 159, 255, 0.1), transparent);
    animation: headerShine 4s ease-in-out infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.sidebar-header h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(74, 159, 255, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.sidebar-nav {
    padding: 1.5rem 0;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 159, 255, 0.3) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(74, 159, 255, 0.3);
    border-radius: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease, border-left-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    border-left: 4px solid transparent;
    margin: 0.2rem 0.5rem;
    border-radius: 0 25px 25px 0;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.15) 0%, rgba(107, 155, 209, 0.1) 100%);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: -1;
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    opacity: 1;
    transform: scaleX(1);
}

.sidebar-link:hover {
    color: var(--electric-blue);
    transform: translateX(8px) scale(1.02);
    text-shadow: 0 0 15px rgba(74, 159, 255, 0.8);
    border-left-color: var(--neon-blue);
    box-shadow: 0 5px 15px rgba(74, 159, 255, 0.2);
}

.sidebar-link.active {
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(74, 159, 255, 1);
    border-left-color: var(--neon-blue);
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1) 0%, rgba(107, 155, 209, 0.08) 100%);
    box-shadow: inset 0 0 20px rgba(74, 159, 255, 0.1), 0 0 30px rgba(74, 159, 255, 0.3);
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% { box-shadow: inset 0 0 20px rgba(74, 159, 255, 0.1), 0 0 30px rgba(74, 159, 255, 0.3); }
    50% { box-shadow: inset 0 0 30px rgba(74, 159, 255, 0.2), 0 0 40px rgba(74, 159, 255, 0.5); }
}

.sidebar-icon {
    font-size: 1.4rem;
    min-width: 1.8rem;
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.sidebar-link:hover .sidebar-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 8px rgba(74, 159, 255, 0.6));
}

.sidebar-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.streamers-content {
    padding: 2rem;
}

.streamers-intro {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.15) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    text-align: center;
}

.streamers-intro p {
    color: #FFD700;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 5px rgba(255, 215, 0, 0.5);
}

.streamers-rules {
    display: grid;
    gap: 2rem;
}

.streamers-rule {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(74, 159, 255, 0.05) 100%);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.streamers-rule:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(66, 133, 180, 0.3);
    border-color: rgba(74, 159, 255, 0.4);
}

.streamers-rule.forbidden {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(176, 42, 55, 0.15) 100%);
    border-color: rgba(220, 53, 69, 0.4);
}

.streamers-rule.recommendations {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(32, 201, 151, 0.15) 100%);
    border-color: rgba(23, 162, 184, 0.4);
}

.streamers-rule h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.streamers-rule p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.streamers-rule ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.streamers-rule li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.stream-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(66, 133, 180, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tag:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(66, 133, 180, 0.6);
}

.warning {
    color: #FFC107 !important;
    font-weight: 600;
}

.streamers-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 10px;
    text-align: center;
}

.streamers-note p {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 0;
}

@media (max-width: 1024px) {
    .rules-content {
        margin-left: 280px;
    }

    .rules-sidebar {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .rules-page {
        flex-direction: column;
        gap: 1rem;
    }

    .rules-content {
        margin-left: 0;
        order: 1;
    }

    .rules-sidebar {
        position: static;
        width: 100%;
        height: auto;
        max-height: none;
        order: -1;
        margin-bottom: 2rem;
    }

    .sidebar-content {
        display: block;
    }

    .sidebar-nav {
        max-height: none;
        overflow: visible;
        padding: 1rem;
    }

    .nav-category {
        margin: 0.5rem 0;
    }

    .category-header {
        padding: 0.8rem 1rem;
    }

    .category-links {
        flex-direction: column;
        gap: 0.5rem;
        max-height: 500px;
        transition: max-height 0.4s ease;
    }

    .sidebar-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        margin: 0.2rem;
    }

    .sidebar-toggle {
        display: flex !important;
        background: rgba(74, 159, 255, 0.1);
        border: 1px solid rgba(74, 159, 255, 0.3);
        border-radius: 8px;
        padding: 0.5rem;
    }

    .sidebar-header h3 {
        font-size: 1.2rem;
    }

    .sidebar-logo {
        margin-bottom: 0.5rem;
    }

    .sidebar-logo-img {
        width: 24px;
        height: 24px;
    }

    .sidebar-logo h3 {
        font-size: 1rem;
    }

    .search-container {
        margin: 0.5rem 1rem;
    }

    .sidebar-footer {
        padding: 0.8rem 1rem;
    }

    .sidebar-stats {
        display: flex;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1;
        text-align: center;
    }

    .rules-header h1 {
        font-size: 2.5rem;
    }

    .important-notice {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .section-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .rules-list {
        padding: 1rem;
    }

    .rule-card {
        padding: 1.5rem;
    }

    .grief-types {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .glossary-grid {
        grid-template-columns: 1fr;
    }

    .stream-tags {
        justify-content: center;
    }

    .rules-sidebar.collapsed {
        width: 100%;
    }

    .rules-sidebar.collapsed .sidebar-nav {
        display: none;
    }

    .rules-sidebar.collapsed .sidebar-content {
        display: none;
    }

    .rules-sidebar.collapsed .sidebar-header {
        border-bottom: none;
        padding: 1rem;
    }
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    padding: 2rem;
    padding-top: 140px;
    padding-bottom: 80px;
}

.error-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 4rem;
    text-align: center;
}

.error-content {
    flex: 1;
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff4757 0%, #ff3838 25%, #ff6348 50%, #ff7f50 75%, #ff4757 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(255, 71, 87, 0.4), 0 0 80px rgba(255, 71, 87, 0.2), 0 0 120px rgba(255, 71, 87, 0.1);
    animation: errorGlow 2s ease-in-out infinite alternate;
    line-height: 1;
}

@keyframes errorGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 71, 87, 0.3), 0 0 40px rgba(255, 71, 87, 0.2), 0 0 60px rgba(255, 71, 87, 0.1);
    }
    100% {
        text-shadow: 0 0 40px rgba(255, 71, 87, 0.6), 0 0 80px rgba(255, 71, 87, 0.4), 0 0 120px rgba(255, 71, 87, 0.2);
    }
}

.error-page h1 {
    font-size: 2.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.error-page p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.error-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
}

.error-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    animation: errorImageFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(255, 71, 87, 0.4)) drop-shadow(0 0 50px rgba(255, 71, 87, 0.3));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(255, 71, 87, 0.6)) drop-shadow(0 0 60px rgba(255, 71, 87, 0.4));
}

@keyframes errorImageFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.error-block {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: blockFloat 3s ease-in-out infinite;
}

@keyframes blockFloat {
    0%, 100% { transform: translateY(0px) rotateX(15deg) rotateY(25deg); }
    50% { transform: translateY(-10px) rotateX(15deg) rotateY(25deg); }
}

.block-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(160, 82, 45, 0.9) 50%, rgba(101, 67, 33, 0.8) 100%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.block-face.front {
    transform: translateZ(100px);
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(160, 82, 45, 0.9) 50%, rgba(101, 67, 33, 0.8) 100%);
}

.block-face.back {
    transform: translateZ(-100px) rotateY(180deg);
    background: linear-gradient(135deg, rgba(101, 67, 33, 0.8) 0%, rgba(139, 69, 19, 0.9) 50%, rgba(85, 56, 28, 0.8) 100%);
}

.block-face.left {
    transform: rotateY(-90deg) translateZ(100px);
    background: linear-gradient(135deg, rgba(85, 56, 28, 0.8) 0%, rgba(101, 67, 33, 0.9) 50%, rgba(69, 46, 23, 0.8) 100%);
}

.block-face.right {
    transform: rotateY(90deg) translateZ(100px);
    background: linear-gradient(135deg, rgba(101, 67, 33, 0.8) 0%, rgba(85, 56, 28, 0.9) 50%, rgba(139, 69, 19, 0.8) 100%);
}

.block-face.top {
    transform: rotateX(90deg) translateZ(100px);
    background: linear-gradient(135deg, rgba(160, 82, 45, 0.8) 0%, rgba(139, 69, 19, 0.9) 50%, rgba(120, 63, 30, 0.8) 100%);
}

.block-face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
    background: linear-gradient(135deg, rgba(69, 46, 23, 0.8) 0%, rgba(85, 56, 28, 0.9) 50%, rgba(101, 67, 33, 0.8) 100%);
}

.error-crafting {
    position: relative;
}

.crafting-table {
    width: 250px;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(160, 82, 45, 0.95) 50%, rgba(101, 67, 33, 0.9) 100%);
    border: 4px solid rgba(85, 56, 28, 0.8);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.2);
    animation: tableShake 2s ease-in-out infinite;
}

@keyframes tableShake {
    0%, 100% { transform: translateX(0px); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.crafting-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slot {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.slot.broken {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.3) 0%, rgba(255, 99, 71, 0.4) 100%);
    border-color: rgba(255, 71, 87, 0.5);
    animation: slotError 1.5s ease-in-out infinite alternate;
}

@keyframes slotError {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.slot.result {
    grid-column: 2;
    grid-row: 2;
}

.page-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(74, 159, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(107, 155, 209, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(66, 133, 180, 0.04) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .error-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-page h1 {
        font-size: 2.5rem;
    }

    .error-page p {
        font-size: 1.1rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-illustration {
        max-width: 300px;
    }

    .error-block, .crafting-table {
        width: 150px;
        height: 150px;
    }

    .block-face {
        width: 150px;
        height: 150px;
    }

    .block-face.front { transform: translateZ(75px); }
    .block-face.back { transform: translateZ(-75px) rotateY(180deg); }
    .block-face.left { transform: rotateY(-90deg) translateZ(75px); }
    .block-face.right { transform: rotateY(90deg) translateZ(75px); }
    .block-face.top { transform: rotateX(90deg) translateZ(75px); }
    .block-face.bottom { transform: rotateX(-90deg) translateZ(75px); }

    .crafting-slots {
        gap: 2px;
        padding: 10px;
    }

    .slot {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

.rule-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(107, 155, 209, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 25px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(66, 133, 180, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
}

.rule-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4A9EFF, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rule-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(66, 133, 180, 0.4), 0 15px 30px rgba(74, 159, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rule-category:hover::before {
    opacity: 1;
}

.category-header {
    padding: 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    position: relative;
}

.category-header:hover {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1) 0%, rgba(107, 155, 209, 0.05) 100%);
}

.category-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(107, 155, 209, 0.3);
    letter-spacing: 1px;
    margin: 0;
}

.toggle-icon {
    font-size: 2rem;
    color: var(--neon-blue);
    transition: transform 0.4s ease;
    text-shadow: 0 0 15px rgba(74, 159, 255, 0.5);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: linear-gradient(180deg, rgba(66, 133, 180, 0.02) 0%, rgba(26, 6, 51, 0.05) 100%);
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(107, 155, 209, 0.15);
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
}

.rule-item:hover {
    background: rgba(74, 159, 255, 0.05);
    transform: translateX(5px);
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-number {
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    padding: 0.8rem 1.2rem;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1rem;
    min-width: 3.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(66, 133, 180, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.rule-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.rule-item:hover .rule-number::before {
    width: 120%;
    height: 120%;
}

.rule-item p {
    flex: 1;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.coming-soon {
    text-align: center;
    padding: 4rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.coming-soon h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--electric-blue);
}

.team-section {
    margin-bottom: 4rem;
}

.team-section h2 {
    font-size: 2.2rem;
    color: var(--electric-blue);
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(127, 179, 230, 0.5);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px) rotateX(5deg);
}



.member-avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6B9BD1 0%, #4285B4 50%, #4A9EFF 100%);
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.avatar-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.member-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.role {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.role.owner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-color: #FFD700;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.role.tech-admin {
    background: linear-gradient(135deg, #4285B4, #6B9BD1);
    color: var(--text-light);
    border-color: #4285B4;
    box-shadow: 0 2px 10px rgba(66, 133, 180, 0.4);
}

.role.streamer {
    background: linear-gradient(135deg, #9146FF, #B19CD9);
    color: var(--text-light);
    border-color: #9146FF;
    box-shadow: 0 2px 10px rgba(145, 70, 255, 0.4);
}

.role.curator {
    background: linear-gradient(135deg, #28A745, #20C997);
    color: var(--text-light);
    border-color: #28A745;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.4);
}

.role.beta-tester {
    background: linear-gradient(135deg, #D2691E, #FFA500);
    color: var(--text-light);
    border-color: #D2691E;
    box-shadow: 0 2px 10px rgba(210, 105, 30, 0.4);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    text-align: center;
}

.member-nickname {
    color: var(--electric-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    text-shadow: 0 1px 5px rgba(127, 179, 230, 0.3);
}

.member-comment {
    color: #FFD700;
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-align: center;
    text-shadow: 0 1px 5px rgba(255, 215, 0, 0.3);
}

.team-member p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1rem;
}

.member-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.member-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(74, 159, 255, 0.1);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.member-link:hover {
    background: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 159, 255, 0.4);
    color: var(--text-light);
}

.member-link.twitch:hover {
    background: #9146FF;
    box-shadow: 0 6px 20px rgba(145, 70, 255, 0.4);
}

.member-link svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.copyright-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

.copyright-content section {
    margin-bottom: 2rem;
}

.copyright-content h2 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.copyright-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.wiki-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    gap: 2rem;
}

.wiki-sidebar {
    width: 250px;
    position: sticky;
    top: 150px;
    height: fit-content;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(107, 155, 209, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 15px;
    overflow-y: auto;
}

.wiki-sidebar-header {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.2) 0%, rgba(107, 155, 209, 0.15) 100%);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(74, 159, 255, 0.3);
}

.wiki-sidebar-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.wiki-nav {
    padding: 1rem 0;
}

.wiki-nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, text-shadow 0.3s ease, border-left-color 0.3s ease, transform 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    border-radius: 0 20px 20px 0;
    margin: 0.2rem 0.5rem;
}

.wiki-nav-item:hover {
    background: rgba(74, 159, 255, 0.1);
    color: var(--electric-blue);
    text-shadow: 0 0 10px rgba(74, 159, 255, 0.5);
    border-left-color: var(--neon-blue);
    transform: translateX(5px);
}

.wiki-nav-item.active {
    background: rgba(74, 159, 255, 0.15);
    color: var(--electric-blue);
    border-left-color: var(--neon-blue);
    box-shadow: inset 0 0 15px rgba(74, 159, 255, 0.2), 0 0 20px rgba(74, 159, 255, 0.3);
    transform: translateX(8px);
}

.wiki-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.3) 0%, rgba(107, 155, 209, 0.2) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.wiki-nav-item:hover::before,
.wiki-nav-item.active::before {
    width: 100%;
}

.wiki-nav-icon {
    font-size: 1.2rem;
    min-width: 1.5rem;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wiki-nav-item:hover .wiki-nav-icon,
.wiki-nav-item.active .wiki-nav-icon {
    opacity: 1;
    transform: scale(1.1);
}

.wiki-nav-text {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.wiki-main {
    flex: 1;
    min-width: 0;
}

.wiki-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(107, 155, 209, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: none;
}

.wiki-section.active {
    display: block;
}

.wiki-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(66, 133, 180, 0.2);
}

.wiki-section h2 {
    color: var(--electric-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(127, 179, 230, 0.5);
    word-break: break-word;
    overflow-wrap: break-word;
}

.wiki-content h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    word-break: break-word;
    overflow-wrap: break-word;
}

.requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.requirement {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.requirement.recommended {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
}

.requirement h4 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.requirement ul {
    margin: 0;
    padding-left: 1.2rem;
}

.requirement li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.installation-guide, .connection-steps {
    margin: 1.5rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(74, 159, 255, 0.1);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.step:hover {
    background: rgba(74, 159, 255, 0.05);
    border-color: rgba(74, 159, 255, 0.2);
}

.step-number {
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(66, 133, 180, 0.4);
}

.step-content h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.external-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    transition: text-shadow 0.3s ease;
}

.external-link:hover {
    text-shadow: 0 0 10px rgba(74, 159, 255, 0.8);
}

.voice-setup {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.15) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.important-note {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.important-note strong {
    color: #FFD700;
    font-size: 1.1rem;
}

.voice-setup ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.voice-setup li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.troubleshooting {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.troubleshooting h4 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.troubleshooting ul {
    margin: 0;
    padding-left: 1.2rem;
}

.connection-guide {
    margin: 1.5rem 0;
}

.server-info-card {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1) 0%, rgba(107, 155, 209, 0.08) 100%);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.server-info-card h4 {
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.server-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.server-details code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--neon-blue);
}

.registration-info {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.registration-info ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.registration-info li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(74, 159, 255, 0.1);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 25px;
    color: var(--text-light);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.social-link:hover {
    background: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 159, 255, 0.3);
}

.social-link.discord:hover {
    background: #5865F2;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.social-link.telegram:hover {
    background: #0088cc;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.help-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.help-section h3 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.help-section ul {
    display: inline-block;
    text-align: left;
    margin: 0;
    padding-left: 1.2rem;
}

.server-input {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 768px) {
    .wiki-page {
        flex-direction: column;
    }

    .wiki-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 2rem;
    }

    .requirements {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

footer {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 23, 42, 0.98) 50%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(74, 159, 255, 0.4);
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem 2rem 2rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 30% 80%, rgba(74, 159, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(107, 155, 209, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
    text-align: center;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(66, 133, 180, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(74, 159, 255, 0.6);
}

.footer-section h3 {
    color: var(--electric-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(127, 179, 230, 0.5);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(45deg, #4A9EFF, #4285B4);
    border-radius: 1px;
}

.footer-section p, .footer-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(74, 159, 255, 0.5);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(74, 159, 255, 0.1);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--neon-blue);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 159, 255, 0.3);
}

.server-status {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
    border: 1px solid rgba(124, 179, 66, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--minecraft-green);
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(124, 179, 66, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(124, 179, 66, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 179, 66, 0); }
}

.footer-bottom {
    border-top: 1px solid rgba(74, 159, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 159, 255, 0.5), transparent);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-shadow: 0 1px 5px rgba(66, 133, 180, 0.3);
}

.footer-bottom .copyright {
    font-weight: 500;
    color: var(--text-light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--electric-blue);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(127, 179, 230, 0.5);
}

.screenshots-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.02) 0%, rgba(26, 6, 51, 0.05) 100%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(107, 155, 209, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.screenshot-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(66, 133, 180, 0.3);
    border-color: rgba(74, 159, 255, 0.4);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: 1rem;
    text-align: center;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
    transform: scale(1);
}

.screenshot-number {
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 8px 25px rgba(66, 133, 180, 0.4);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.screenshot-info {
    padding: 1rem;
    text-align: center;
}

.screenshot-info h4 {
    color: var(--electric-blue);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(127, 179, 230, 0.5);
}

.screenshot-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
}

.advantages-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(26, 6, 51, 0.05) 0%, rgba(10, 10, 10, 0.02) 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(107, 155, 209, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 159, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.advantage-item:hover::before {
    left: 100%;
}

.advantage-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(66, 133, 180, 0.4);
    border-color: rgba(74, 159, 255, 0.5);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    text-shadow: 0 4px 15px rgba(74, 159, 255, 0.3);
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(74, 159, 255, 0.6));
}

.advantage-item h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.advantage-item h3 small {
    font-size: 0.8rem;
    color: var(--electric-blue);
    font-weight: 400;
}

.advantage-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        gap: 2rem;
        padding: 1rem;
    }

    .server-title {
        font-size: 4rem;
    }

    .server-desc {
        font-size: 1.5rem;
    }

    .hero-image img {
        max-width: 500px;
        max-height: 500px;
    }

    .nav-container {
        padding: 1rem 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    /* Мобильная навигация */
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }

    .nav-links {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
    }

    .logo {
        height: 50px;
        width: auto;
    }

    .server-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
    }

    .hero-content {
        text-align: center;
        max-width: none;
    }

    .hero-image img {
        max-width: 250px;
        max-height: 250px;
    }

    .server-desc {
        font-size: 1.3rem;
        margin-left: 0;
    }

    .server-ip {
        margin-left: 0;
        gap: 0.5rem;
    }

    .server-ip span {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }

    .rules-page, .wiki-page, .team-page, .copyright-page {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .screenshots-grid, .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .screenshot-item img {
        height: 150px;
    }

    .advantage-item {
        padding: 1.5rem;
    }

    .advantage-icon {
        font-size: 2.5rem;
    }

    .advantage-item h3 {
        font-size: 1.2rem;
    }

    .team-members {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .member-avatar {
        width: 150px;
        height: 150px;
    }

    .member-nickname {
        font-size: 1rem;
    }

    .member-comment {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .server-status {
        margin-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Стили для возвращения ресурсов */
.resource-return-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.example-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card.allowed {
    border-color: #28A745;
    background: rgba(40, 167, 69, 0.1);
}

.example-card.denied {
    border-color: #DC3545;
    background: rgba(220, 53, 69, 0.1);
}

.example-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.example-card h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.example-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.example-card li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.territory-rollback-info {
    margin: 2rem 0;
}

.system-limitations {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.application-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(74, 159, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 159, 255, 0.2);
}

.step-number {
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(66, 133, 180, 0.4);
    margin-bottom: 1rem;
}

.step-content h4 {
    color: var(--electric-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin: 0;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(74, 159, 255, 0.1);
    border: 1px solid rgba(74, 159, 255, 0.3);
    border-radius: 25px;
    color: var(--text-light);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.contact-link:hover {
    background: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 159, 255, 0.3);
}

.contact-link.discord:hover {
    background: #5865F2;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}

.contact-link.telegram:hover {
    background: #0088cc;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
}

.contact-icon {
    font-size: 1.2rem;
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .server-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-container {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .hero-image img {
        max-width: 200px;
        max-height: 200px;
    }

    .server-desc {
        font-size: 1.1rem;
    }

    .server-ip span {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .advantage-item {
        padding: 1rem;
    }

    .advantage-icon {
        font-size: 2rem;
    }

    .advantage-item h3 {
        font-size: 1.1rem;
    }

    .footer-logo img {
        width: 60px;
        height: 60px;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .resource-return-examples {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .application-process {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Стили для страниц википедии */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1) 0%, rgba(107, 155, 209, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.page-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff 0%, #B8D4F0 50%, #4A9EFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--electric-blue);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 400;
}

.page-content {
    max-width: none;
}

/* Первая страница - Начало игры */
.welcome-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.05) 0%, rgba(107, 155, 209, 0.02) 100%);
    border-radius: 15px;
    border: 1px solid rgba(74, 159, 255, 0.2);
    margin-bottom: 3rem;
}

.welcome-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.welcome-card h2 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.welcome-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(74, 159, 255, 0.08) 100%);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(66, 133, 180, 0.3);
    border-color: rgba(74, 159, 255, 0.4);
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(66, 133, 180, 0.4);
}

.step-box h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.3rem;
}

.step-box p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.platform-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(74, 159, 255, 0.1);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-link:hover {
    background: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 159, 255, 0.3);
}

.platform-link.discord:hover {
    background: #5865F2;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.platform-link.telegram:hover {
    background: #0088cc;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

.platform-icon {
    font-size: 1.5rem;
}

.platform-link strong {
    display: block;
    font-size: 1rem;
}

.platform-link small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.warning-box strong {
    color: #FFD700;
}

.step-details {
    margin: 0;
    padding-left: 1.2rem;
}

.step-details li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.mod-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mod-option {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.mod-option.recommended {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-color: rgba(40, 167, 69, 0.3);
}

.mod-option.manual {
    background: rgba(0, 0, 0, 0.2);
}

.mod-option h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.mod-option p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 133, 180, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 180, 0.5);
}

.mods-list {
    margin: 0;
    padding-left: 1.2rem;
}

.mods-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.server-connect {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.server-address {
    margin-bottom: 1rem;
}

.server-address strong {
    font-size: 1.2rem;
    color: var(--neon-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.server-address small {
    color: rgba(255, 255, 255, 0.7);
}

.copy-ip-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #7CB342 0%, #4CAF50 50%, #28A745 100%);
    color: var(--text-light);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.copy-ip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.5);
}

.success-message {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #28A745;
    font-weight: 600;
}

.help-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.help-card h3 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.help-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.help-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(74, 159, 255, 0.1);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 25px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-link:hover {
    background: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 159, 255, 0.3);
}

/* Вторая страница - Возвращение ресурсов */
.policy-intro {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.05) 0%, rgba(107, 155, 209, 0.02) 100%);
    border-radius: 15px;
    border: 1px solid rgba(74, 159, 255, 0.2);
    margin-bottom: 3rem;
}

.policy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.policy-intro h2 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.policy-intro p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.policy-sections {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.policy-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(74, 159, 255, 0.08) 100%);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(66, 133, 180, 0.2);
    border-color: rgba(74, 159, 255, 0.4);
}

.section-header-card h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-header-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
}

.decision-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.decision-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid;
}

.decision-card.approved {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28A745;
}

.decision-card.denied {
    background: rgba(220, 53, 69, 0.1);
    border-color: #DC3545;
}

.decision-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.decision-card h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.decision-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.decision-card li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.territory-conditions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.condition-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(74, 159, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.condition-card.warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.condition-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.condition-card h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.condition-card p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.application-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(74, 159, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 180, 0.2);
}

.step-number-large {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4285B4 0%, #6B9BD1 50%, #4A9EFF 100%);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(66, 133, 180, 0.4);
    flex-shrink: 0;
}

.step-info h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-info p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.contact-section {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.contact-section h3 {
    color: var(--electric-blue);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(74, 159, 255, 0.1);
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 15px;
    color: var(--text-light);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}

.contact-method:hover {
    background: var(--neon-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 159, 255, 0.3);
}

.contact-method.discord:hover {
    background: #5865F2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.contact-method.telegram:hover {
    background: #0088cc;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
}

.contact-method-icon {
    font-size: 2rem;
}

.contact-method strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-method small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Мобильное меню википедии */
.mobile-wiki-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 159, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.mobile-wiki-toggle:hover {
    background: rgba(74, 159, 255, 0.1);
    transform: scale(1.05);
}

.mobile-wiki-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-wiki-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-wiki-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.rules-header {
    position: relative;
}

/* Скрываем sidebar на мобильных по умолчанию */
@media (max-width: 768px) {
    .rules-page {
        flex-direction: column;
    }

    .rules-content {
        margin-left: 0;
        order: 1;
    }

    .rules-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s ease;
        border-radius: 0 20px 20px 0;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    }

    .rules-sidebar.mobile-active {
        left: 0;
    }

    .mobile-wiki-toggle {
        display: flex !important;
    }

    .sidebar-toggle {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .platform-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .mod-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .decision-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .territory-conditions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .application-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
}
