/* styles.css */
/*     */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
:root {
    --primary-blue: #0071e3;
    --secondary-blue: #005bb5;
    --primary-green: #228b22;
    --secondary-green: #1a661a;
    --discord-purple: #7289da;
    --telegram-blue: #0088cc;
    --orange-accent: #ff9500;
    --bg-dark: #000;
    --bg-dark-green: #1a2a1a;
    --card-dark: rgba(20, 20, 20, 0.95);
    --card-dark-hover: rgba(30, 30, 30, 0.98);
    --card-dark-green: rgba(25, 35, 25, 0.95);
    --card-dark-green-hover: rgba(35, 45, 35, 0.98);
    --text-light: #fff;
    --text-muted: #d0d0d0;
    --text-subtle: #a0a0a0;
    --text-gray: #888;
    --shadow-light: rgba(0, 113, 227, 0.35);
    --shadow-dark: rgba(0, 0, 0, 0.25);
    --shadow-green: rgba(34, 139, 34, 0.35);
    --transition-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 24px;
    --spacing-xl: 32px;
    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 24px;
    --header-height: 44px;
}
body {
    font-family: "SF Pro Display", sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: background 0.8s var(--transition-ease);
    font-size: var(--font-size-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.minecraft-theme {
    background: var(--bg-dark-green);
}
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.cosmic-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(0, 113, 227, 0.15),
        transparent 70%
    );
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: glowPulse 6s infinite ease-in-out;
    transition: background 0.8s var(--transition-ease);
}
body.minecraft-theme .center-glow {
    background: radial-gradient(
        circle,
        rgba(34, 139, 34, 0.15),
        transparent 70%
    );
}
@keyframes glowPulse {
    0%,
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}
/*   header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: var(--spacing-small) var(--spacing-medium);
    transition:
        transform 0.3s var(--transition-smooth),
        background 0.8s var(--transition-ease),
        box-shadow 0.3s var(--transition-smooth);
    box-shadow: 0 4px 15px var(--shadow-dark);
}
body.minecraft-theme header {
    background: rgba(20, 30, 20, 0.95);
}
header:hover {
    transform: translateY(1px);
    box-shadow: 0 8px 25px var(--shadow-light);
}
body.minecraft-theme header:hover {
    box-shadow: 0 8px 25px var(--shadow-green);
}
.lang-switcher {
    position: absolute;
    top: var(--spacing-small);
    right: var(--spacing-medium);
    display: flex;
    gap: var(--spacing-large);
    z-index: 1002;
}
.lang {
    text-decoration: none;
    color: var(--text-muted);
    font-size: var(--font-size-small);
    font-weight: 400;
    padding: var(--spacing-small) var(--spacing-medium);
    border-radius: var(--radius-medium);
    transition: all 0.3s var(--transition-smooth);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    z-index: 1003;
}
.lang:hover,
.lang.active {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    box-shadow: 0 2px 8px var(--shadow-dark);
}
nav {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-small) var(--spacing-medium);
    height: 44px;
    position: relative;
}
.logo {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    transition: transform 0.4s var(--transition-smooth);
    cursor: pointer;
    text-shadow: 0 2px 6px var(--shadow-dark);
    position: relative;
}
.logo:hover {
    transform: scale(1.05);
}
.joke {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: var(--spacing-small);
    transform: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: var(--spacing-small) var(--spacing-medium);
    border-radius: var(--radius-large);
    font-size: var(--font-size-small);
    display: none;
    z-index: 1001;
    box-shadow: 0 6px 15px var(--shadow-dark);
    backdrop-filter: blur(5px);
    white-space: nowrap;
    width: max-content;
    max-width: 80vw;
}
@keyframes jokePop {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1.02);
    }
    80% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}
@keyframes jokeFade {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}
/*   */
nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-large);
    align-items: center;
}
nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: var(--font-size-small);
    font-weight: 400;
    padding: var(--spacing-small) var(--spacing-medium);
    transition: all 0.3s var(--transition-smooth);
    line-height: 1;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
nav a:hover,
nav a.active {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px var(--shadow-dark);
}
nav a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition:
        width 0.3s ease,
        left 0.3s ease;
}
body.minecraft-theme nav a::after {
    background: var(--primary-green);
}
nav a:hover::after,
nav a.active::after {
    width: 50%;
    left: 25%;
}
/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    min-width: 80px;
    box-shadow: 0 4px 10px var(--shadow-dark);
    border-radius: var(--radius-small);
    z-index: 1;
    padding: var(--spacing-small) 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition:
        opacity 0.3s var(--transition-smooth),
        transform 0.3s var(--transition-smooth);
    opacity: 0;
    text-align: center;
}
.dropdown-content a {
    color: var(--text-muted);
    padding: var(--spacing-small) var(--spacing-medium);
    text-decoration: none;
    display: block;
    font-size: var(--font-size-small);
    transition: all 0.3s var(--transition-smooth);
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.dropdown-content a:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}
/*   */
main {
    padding-top: 44px;
}
.tab-content {
    display: none;
    min-height: calc(100vh - 44px);
    padding: 0;
    width: 100%;
}
.tab-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/*   */
.hero {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-medium);
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-medium);
    animation: fadeIn 1s var(--transition-smooth);
    transition: transform 0.4s var(--transition-smooth);
    text-shadow: 0 4px 12px var(--shadow-dark);
    background: linear-gradient(to right, var(--text-light), #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero h1:hover {
    transform: scale(1.02);
}
.hero p {
    font-size: var(--font-size-large);
    font-weight: 400;
    color: var(--text-subtle);
    margin-bottom: var(--spacing-large);
    animation: fadeIn 1.2s var(--transition-smooth);
    transition: transform 0.4s var(--transition-smooth);
}
.hero p:hover {
    transform: translateY(-2px);
}
.cta-button {
    display: inline-block;
    padding: var(--spacing-small) var(--spacing-xl);
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--secondary-blue)
    );
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--radius-large);
    font-size: var(--font-size-small);
    font-weight: 400;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-light);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    z-index: 1;
    margin: var(--spacing-large) auto 0 auto;
}
body.minecraft-theme .cta-button {
    background: linear-gradient(
        135deg,
        var(--primary-green),
        var(--secondary-green)
    );
    box-shadow: 0 4px 15px var(--shadow-green);
}
.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-light);
}
body.minecraft-theme .cta-button:hover {
    box-shadow: 0 8px 25px var(--shadow-green);
}
/*     */
.cta-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.15),
        transparent 70%
    );
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s var(--transition-smooth);
    opacity: 0;
    z-index: -1;
}
.cta-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
/*   */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-large);
    max-width: 960px;
    padding: 0 var(--spacing-medium) var(--spacing-xl);
    margin: 0 auto;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s var(--transition-smooth);
}
.feature-grid.visible {
    opacity: 1;
}
.feature {
    background: var(--card-dark);
    backdrop-filter: blur(12px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-large);
    text-align: center;
    transition:
        transform 0.4s var(--transition-smooth),
        box-shadow 0.4s var(--transition-smooth),
        background 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 200px;
    pointer-events: none;
}
.feature.clickable {
    pointer-events: auto;
    cursor: pointer;
}
body.minecraft-theme .feature {
    background: var(--card-dark-green);
}
.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px var(--shadow-light);
    background: var(--card-dark-hover);
}
body.minecraft-theme .feature:hover {
    box-shadow: 0 10px 25px var(--shadow-green);
    background: var(--card-dark-green-hover);
}
/*       */
.feature::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: translateY(-100%);
    transition: transform 0.6s var(--transition-smooth);
    z-index: 0;
    opacity: 0;
}
.feature:hover::after {
    transform: translateY(0);
    opacity: 1;
}
.feature::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.2),
        transparent 70%
    );
    transform: translate(-50%, -50%);
    transition:
        width 0.6s var(--transition-smooth),
        height 0.6s var(--transition-smooth);
    z-index: 0;
    border-radius: 50%;
}
.feature:hover::before {
    width: 300%;
    height: 300%;
}
@keyframes slideFromButton {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes appTransition {
    0% {
        transform: scale(1);
        opacity: 1;
        border-radius: var(--radius-large);
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
        border-radius: calc(var(--radius-large) * 1.5);
    }
}
.feature i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-large);
    transition: transform 0.4s var(--transition-smooth);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px var(--shadow-dark));
}
body.minecraft-theme .feature i {
    color: var(--primary-green);
}
.feature:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 10px var(--shadow-dark));
}
.feature h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-small);
    transition: transform 0.4s var(--transition-smooth);
    position: relative;
    z-index: 1;
}
.feature:hover h2 {
    transform: translateY(-2px);
}
.feature p {
    font-size: var(--font-size-small);
    font-weight: 400;
    color: var(--text-subtle);
    transition: color 0.4s var(--transition-smooth);
    position: relative;
    z-index: 1;
}
.feature:hover p {
    color: var(--text-muted);
}
/* - */
.content-box {
    background: var(--card-dark);
    backdrop-filter: blur(15px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-large);
    text-align: center;
    max-width: 650px;
    width: 100%;
    transition:
        transform 0.4s var(--transition-smooth),
        background 0.8s var(--transition-ease),
        box-shadow 0.4s var(--transition-smooth);
    box-shadow: 0 8px 20px var(--shadow-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    margin: 0 var(--spacing-medium);
}
body.minecraft-theme .content-box {
    background: var(--card-dark-green);
}
.content-box:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px var(--shadow-light);
}
body.minecraft-theme .content-box:hover {
    box-shadow: 0 12px 35px var(--shadow-green);
}
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.about-box {
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.95),
        rgba(40, 40, 40, 0.95)
    );
}
.about-details {
    text-align: left;
    margin-top: var(--spacing-large);
}
.about-details p {
    margin-bottom: var(--spacing-medium);
    line-height: 1.6;
}
.windows-box {
    background: linear-gradient(
        135deg,
        rgba(0, 113, 227, 0.15),
        rgba(20, 20, 20, 0.95)
    );
}
.windows-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    transition:
        transform 0.5s var(--transition-smooth),
        opacity 0.3s var(--transition-smooth);
}
.windows-box:hover .windows-decor {
    opacity: 0.5;
}
.folder-1 {
    width: 40px;
    height: 40px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300c4ff" stroke-width="2"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg>')
        no-repeat center;
    top: var(--spacing-small);
    left: var(--spacing-small);
    animation: floatFolder 4s infinite ease-in-out;
}
.folder-2 {
    width: 40px;
    height: 40px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300c4ff" stroke-width="2"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg>')
        no-repeat center;
    bottom: var(--spacing-small);
    right: var(--spacing-small);
    animation: floatFolder 5s infinite ease-in-out reverse;
}
.window-1 {
    width: 54px;
    height: 54px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300c4ff" stroke-width="2"><rect x="2" y="2" width="20" height="20" rx="2" ry="2"/><line x1="2" y1="6" x2="22" y2="6"/></svg>')
        no-repeat center;
    top: 50%;
    right: var(--spacing-medium);
    transform: translateY(-50%);
    animation: floatWindow 6s infinite ease-in-out;
}
@keyframes floatFolder {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}
@keyframes floatWindow {
    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-15px) scale(1.05);
    }
}
.windows-box i {
    color: var(--primary-blue);
}
.minecraft-box {
    background: linear-gradient(
        135deg,
        rgba(34, 139, 34, 0.15),
        rgba(20, 20, 20, 0.95)
    );
    border: 1px solid rgba(34, 139, 34, 0.3);
    box-shadow: 0 8px 20px rgba(34, 139, 34, 0.2);
    max-width: 580px;
    padding: var(--spacing-large);
    margin-top: 60px;
    overflow: hidden;
}
.minecraft-box:hover {
    box-shadow: 0 12px 35px rgba(34, 139, 34, 0.3);
}
.minecraft-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    transition:
        transform 0.5s var(--transition-smooth),
        opacity 0.3s var(--transition-smooth);
}
.minecraft-box:hover .minecraft-decor {
    opacity: 0.5;
}
.torch-1 {
    width: 32px;
    height: 64px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ff9500" stroke-width="2"><path d="M12 2v20m-4-4l8-8m0 8l-8-8"/></svg>')
        no-repeat center;
    top: var(--spacing-small);
    left: var(--spacing-small);
    animation: torchFlicker 3s infinite ease-in-out;
    right: auto;
    bottom: auto;
}
.torch-2 {
    width: 32px;
    height: 64px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ff9500" stroke-width="2"><path d="M12 2v20m-4-4l8-8m0 8l-8-8"/></svg>')
        no-repeat center;
    bottom: var(--spacing-small);
    right: var(--spacing-small);
    animation: torchFlicker 3.5s infinite ease-in-out reverse;
    top: auto;
    left: auto;
}
.cube-1 {
    width: 40px;
    height: 40px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23228b22" stroke-width="2"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><polyline points="3.27 6.96 12 12.01 20.73 6.96"/><line x1="12" y1="22.08" x2="12" y2="12"/></svg>')
        no-repeat center;
    bottom: var(--spacing-medium);
    left: var(--spacing-medium);
    animation: cubeSpin 6s infinite linear;
    top: auto;
    right: auto;
    transform: none;
}
@keyframes torchFlicker {
    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-5px) scale(1.05);
    }
}
@keyframes cubeSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.minecraft-box i {
    color: var(--primary-green);
}
.discord-box {
    background: linear-gradient(
        135deg,
        rgba(114, 137, 218, 0.15),
        rgba(20, 20, 20, 0.95)
    );
}
.discord-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    transition:
        transform 0.5s var(--transition-smooth),
        opacity 0.3s var(--transition-smooth);
}
.discord-box:hover .discord-decor {
    opacity: 0.5;
}
.chat-1 {
    width: 40px;
    height: 40px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%237289da" stroke-width="2"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>')
        no-repeat center;
    top: var(--spacing-small);
    left: var(--spacing-small);
    animation: floatChat 4s infinite ease-in-out;
}
.chat-2 {
    width: 40px;
    height: 40px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%237289da" stroke-width="2"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>')
        no-repeat center;
    bottom: var(--spacing-small);
    right: var(--spacing-small);
    animation: floatChat 5s infinite ease-in-out reverse;
}
@keyframes floatChat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}
.discord-box i {
    color: var(--discord-purple);
}
.telegram-box {
    background: linear-gradient(
        135deg,
        rgba(0, 136, 204, 0.15),
        rgba(20, 20, 20, 0.95)
    );
}
.telegram-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    transition:
        transform 0.5s var(--transition-smooth),
        opacity 0.3s var(--transition-smooth);
}
.telegram-box:hover .telegram-decor {
    opacity: 0.5;
}
.paper-1 {
    width: 36px;
    height: 36px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230088cc" stroke-width="2"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>')
        no-repeat center;
    top: var(--spacing-small);
    left: var(--spacing-small);
    animation: floatPaper 4s infinite ease-in-out;
}
.paper-2 {
    width: 36px;
    height: 36px;
    background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230088cc" stroke-width="2"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>')
        no-repeat center;
    bottom: var(--spacing-small);
    right: var(--spacing-small);
    animation: floatPaper 5s infinite ease-in-out reverse;
}
@keyframes floatPaper {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}
.telegram-box i {
    color: var(--telegram-blue);
}
.content-box i {
    font-size: 56px;
    margin-bottom: var(--spacing-large);
    transition: transform 0.4s var(--transition-smooth);
}
.content-box:hover i {
    transform: scale(1.05);
}
.content-box h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-small);
    transition: transform 0.4s var(--transition-smooth);
}
.content-box:hover h1 {
    transform: translateY(-2px);
}
.content-box p {
    font-size: var(--font-size-small);
    font-weight: 400;
    color: var(--text-subtle);
    margin-bottom: var(--spacing-large);
}
.content-box .info {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: var(--spacing-small);
}
.dev-notice {
    font-size: 12px;
    color: var(--orange-accent);
    margin-top: var(--spacing-small);
    animation: blink 2s infinite ease-in-out;
}
.dev-notice a {
    color: var(--orange-accent);
    text-decoration: underline;
}
.dev-notice a:hover {
    color: #ffaa33;
}
.telegram-info {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: var(--spacing-medium);
    font-style: italic;
}
@keyframes blink {
    0%,
    100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}
.action-button {
    display: inline-block;
    padding: var(--spacing-small) var(--spacing-xl);
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--secondary-blue)
    );
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--radius-large);
    font-size: var(--font-size-small);
    font-weight: 400;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-light);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    z-index: 1;
    margin: var(--spacing-small);
}
body.minecraft-theme .action-button {
    background: linear-gradient(
        135deg,
        var(--primary-green),
        var(--secondary-green)
    );
    box-shadow: 0 4px 15px var(--shadow-green);
}
.action-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-light);
}
body.minecraft-theme .action-button:hover {
    box-shadow: 0 8px 25px var(--shadow-green);
}
/* Minecraft specific buttons */
.minecraft-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-small);
    margin: var(--spacing-large) 0;
}
.mc-button {
    padding: var(--spacing-small) var(--spacing-medium);
    font-size: var(--font-size-small);
    min-width: 140px;
}
footer {
    text-align: center;
    padding: var(--spacing-medium);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 400;
    width: 100%;
    transition:
        transform 0.4s var(--transition-smooth),
        background 0.8s var(--transition-ease),
        box-shadow 0.4s var(--transition-smooth);
    box-shadow: 0 -4px 15px var(--shadow-dark);
}
body.minecraft-theme footer {
    background: rgba(20, 30, 20, 0.85);
}
footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 -8px 25px var(--shadow-light);
}
body.minecraft-theme footer:hover {
    box-shadow: 0 -8px 25px var(--shadow-green);
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
/*     */
/*     */
.background-animation::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.02),
        transparent
    );
    z-index: -1;
}
/*      - */
.feature,
.content-box {
    background-blend-mode: overlay;
}
/*     */
.feature i,
.content-box i {
    filter: drop-shadow(0 2px 6px var(--shadow-dark));
}
.feature:hover i,
.content-box:hover i {
    filter: drop-shadow(0 4px 10px var(--shadow-dark));
}
/*      */
@keyframes textFade {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.hero h1,
.hero p {
    animation: textFade 0.6s var(--transition-smooth) forwards;
}
/*     */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top left,
        rgba(255, 255, 255, 0.02),
        transparent 80%
    );
    z-index: -2;
}
/*   */
.cta-button::after,
.action-button::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
    z-index: 0;
}
.cta-button:hover::after,
.action-button:hover::after {
    opacity: 1;
}
/*    */
p,
.info,
.dev-notice,
.telegram-info {
    line-height: 1.6;
    letter-spacing: 0.5px;
}
/*    */
@keyframes decorPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
.windows-decor,
.minecraft-decor,
.discord-decor,
.telegram-decor {
    animation: decorPulse 6s infinite ease-in-out;
}
/*     */
.dev-notice {
    text-shadow: 0 0 8px var(--orange-accent);
}
/*     */
.logo::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(0, 113, 227, 0.05),
        transparent 70%
    );
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    opacity: 0;
    transition:
        opacity 0.3s var(--transition-smooth),
        transform 0.3s var(--transition-smooth);
}
body.minecraft-theme .logo::after {
    background: radial-gradient(
        circle,
        rgba(34, 139, 34, 0.05),
        transparent 70%
    );
}
.logo:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
/*    - */
.content-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
    z-index: 0;
}
.content-box:hover::before {
    opacity: 1;
}
/*    */
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.03),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
    z-index: -1;
}
footer:hover::before {
    opacity: 1;
}
/* - Изменено и Добавлено - */
/* Стили для контейнера скриншота и кнопки галереи */
.screenshot-container {
    margin: var(--spacing-large) 0;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: 0 4px 10px var(--shadow-dark);
    position: relative;
    /* Необходимо для позиционирования кнопки */
    cursor: pointer;
}
.screenshot-placeholder {
    width: 100%;
    transition: transform 0.3s var(--transition-smooth);
    /* - Добавлено - */
    /* Создаем затемнение при наведении */
    position: relative;
}
.screenshot-placeholder::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
}
.screenshot-container:hover .screenshot-placeholder::after {
    background-color: rgba(0, 0, 0, 0.5);
}
/* - Конец добавления - */
.screenshot-placeholder:hover {
    transform: scale(1.02);
}
.screenshot-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}
/* Стили для кнопки "Просмотреть галерею" */
.gallery-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    /* Начальный масштаб меньше */
    opacity: 0;
    background: rgba(34, 139, 34, 0.85);
    /* Зеленый фон с прозрачностью */
    color: white;
    border: none;
    border-radius: var(--radius-medium);
    padding: var(--spacing-small) var(--spacing-medium);
    font-size: var(--font-size-small);
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Плавный переход для всех свойств */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
    /* Кнопка поверх затемнения */
    white-space: nowrap;
    /* Предотвращаем перенос слов */
    backdrop-filter: blur(4px);
    /* Эффект стекла */
}
/* Появление кнопки при наведении */
.screenshot-container:hover .gallery-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    /* Увеличиваем до нормального размера */
}
.gallery-button:hover {
    background: rgba(30, 120, 30, 0.95);
    /* Более насыщенный цвет при наведении */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -50%) scale(1.05) !important;
    /* Небольшое увеличение */
}
/* - Конец изменения - */
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s var(--transition-smooth);
}
/* - Изменено - */
/* Стили модального окна и галереи в зеленом стиле */
.modal-content {
    background: var(--card-dark-green);
    /* Используем зеленый фон */
    margin: 5% auto;
    padding: var(--spacing-large);
    border-radius: var(--radius-large);
    width: 90%;
    max-width: 800px;
    box-shadow: 0 8px 30px var(--shadow-dark);
    position: relative;
    border: 1px solid rgba(34, 139, 34, 0.3);
    /* Зеленая рамка */
}
.modal-content h2 {
    text-align: center;
    margin-bottom: var(--spacing-medium);
    color: var(--text-light);
}
.gallery-info {
    text-align: center;
    color: var(--text-subtle);
    margin-bottom: var(--spacing-large);
    font-size: var(--font-size-small);
}
.wiki-warning {
    text-align: center;
    color: var(--text-subtle);
    font-size: var(--font-size-large);
    margin: var(--spacing-xl) 0;
}
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Минимальная ширина 200px */
    gap: var(--spacing-medium);
    max-height: 70vh;
    /* Ограничиваем высоту галереи */
    overflow-y: auto;
    /* Добавляем прокрутку, если скриншотов много */
    padding: var(--spacing-small);
    /* Добавляем отступы внутри */
}
.gallery-screenshot {
    width: 100%;
    border-radius: var(--radius-small);
    transition: transform 0.3s var(--transition-smooth);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Тонкая рамка */
    box-shadow: 0 2px 5px var(--shadow-dark);
    /* Тень */
}
.gallery-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px var(--shadow-green);
    /* Зеленая тень при наведении */
}
.close {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: var(--spacing-large);
    top: var(--spacing-large);
    cursor: pointer;
    transition: color 0.3s var(--transition-smooth);
}
.close:hover,
.close:focus {
    color: var(--text-light);
}
/* - Конец изменения - */
/* - Добавлено - */
/* Стили для полноэкранного просмотра скриншотов */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    /* Почти черный полупрозрачный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    /* Выше модального окна */
    opacity: 0;
    pointer-events: none;
    /* Скрываем и делаем неактивным по умолчанию */
    transition: opacity 0.3s ease;
    /* Плавное появление/исчезновение */
}
.fullscreen-overlay.active {
    opacity: 1;
    pointer-events: all;
    /* Делаем активным при открытии */
}
.fullscreen-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    /* Изображение целиком вписывается */
    border: 2px solid var(--primary-green);
    /* Тонкая зеленая рамка */
    box-shadow: 0 0 20px rgba(34, 139, 34, 0.5);
    /* Зеленая тень */
    cursor: zoom-out;
    /* Курсор указывает на возможность закрытия */
}
/* Стиль для сообщения, если изображение не загрузилось */
.fullscreen-image.error {
    width: 100px;
    height: 100px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-gray);
    font-size: var(--font-size-small);
}
/* Стиль для индикатора загрузки (простой спиннер) */
.fullscreen-loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid var(--primary-green);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* - Конец добавления - */
/* -   */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero {
        padding: var(--spacing-large) var(--spacing-medium);
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 16px;
    }
    .cta-button {
        padding: var(--spacing-small) var(--spacing-large);
        font-size: 13px;
        /* - Добавлено - */
        /* Центрируем кнопку на планшетах */
        margin-top: var(--spacing-large);
        /* - Конец добавления - */
    }
    .feature-grid {
        padding: 0 var(--spacing-medium) var(--spacing-large);
        gap: var(--spacing-medium);
    }
    .feature {
        padding: var(--spacing-large);
    }
    .content-box {
        padding: var(--spacing-large);
        max-width: 90%;
        /* - Изменено - */
        /* Центрируем .content-box на планшетах */
        margin-left: auto;
        margin-right: auto;
        /* - Конец изменения - */
    }
    .minecraft-box {
        max-width: 90%;
        padding: var(--spacing-large);
        /* - Изменено - */
        /* Центрируем .minecraft-box на планшетах */
        margin-left: auto;
        margin-right: auto;
        /* - Конец изменения - */
    }
    .discord-box,
    .telegram-box {
        /* - Изменено - */
        /* Центрируем .discord-box и .telegram-box на планшетах */
        margin-left: auto;
        margin-right: auto;
        /* - Конец изменения - */
    }
}
/* -   */
/* - Изменено - */
@media (max-width: 768px) {
    header {
        padding-top: var(--spacing-small);
        padding-left: var(--spacing-small);
        padding-right: var(--spacing-small);
    }
    nav {
        flex-direction: column;
        padding: var(--spacing-small);
        height: auto;
        align-items: stretch;
    }
    .logo {
        align-self: flex-start;
        margin-bottom: var(--spacing-small);
        font-size: calc(var(--font-size-large) * 1.1);
        align-self: center;
    }
    .lang-switcher {
        position: absolute;
        top: var(--spacing-small);
        right: var(--spacing-small);
        gap: var(--spacing-small);
    }
    nav ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-small);
        width: 100%;
        margin-top: var(--spacing-medium);
        justify-content: center;
    }
    nav ul li {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    nav a {
        padding: var(--spacing-small) var(--spacing-medium);
        font-size: calc(var(--font-size-small) * 0.95);
        min-height: 36px;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero {
        padding: var(--spacing-large) var(--spacing-medium);
        padding-top: calc(var(--spacing-xl) * 1.5);
        padding-left: var(--spacing-medium);
        padding-right: var(--spacing-medium);
        padding-top: calc(var(--spacing-large) * 1.2);
        padding-bottom: var(--spacing-large);
        margin-top: var(--header-height);
    }
    .hero h1 {
        font-size: 32px;
        margin-bottom: var(--spacing-medium);
    }
    .hero p {
        font-size: 14px;
        margin-bottom: var(--spacing-medium);
    }
    .cta-button {
        position: relative;
        top: 0;
        transform: none;
        margin-top: var(--spacing-medium);
        margin-bottom: var(--spacing-large);
        padding: var(--spacing-small) var(--spacing-large);
        font-size: calc(var(--font-size-small) * 0.95);
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 var(--spacing-medium) var(--spacing-large);
        gap: var(--spacing-small);
        gap: calc(var(--spacing-small) / 2);
        padding-bottom: var(--spacing-large);
    }
    .feature {
        padding: var(--spacing-medium);
        padding: var(--spacing-medium);
    }
    .feature i {
        font-size: 36px;
        margin-bottom: var(--spacing-small);
        margin-bottom: var(--spacing-small);
    }
    .feature h2 {
        font-size: 16px;
        margin-bottom: var(--spacing-small);
        margin-bottom: var(--spacing-small);
    }
    .feature p {
        font-size: 11px;
    }
    .content-box {
        padding: var(--spacing-medium);
        margin: var(--spacing-small);
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        padding: var(--spacing-medium);
    }
    .content-box i {
        font-size: 48px;
        margin-bottom: var(--spacing-small);
        margin-bottom: var(--spacing-small);
    }
    .content-box h1 {
        font-size: 24px;
        margin-bottom: var(--spacing-small);
        margin-bottom: var(--spacing-small);
    }
    .content-box p {
        font-size: 13px;
        margin-bottom: var(--spacing-medium);
        margin-bottom: var(--spacing-medium);
    }
    .action-button {
        padding: var(--spacing-small) var(--spacing-large);
        font-size: 13px;
        padding: var(--spacing-small) var(--spacing-large);
        font-size: 13px;
        margin: var(--spacing-small);
    }
    .joke {
        top: 100%;
        left: 0;
        transform: none;
        padding: var(--spacing-small) var(--spacing-medium);
        font-size: 11px;
        margin-top: calc(var(--spacing-small) / 2);
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: var(--spacing-small) var(--spacing-medium);
        font-size: 11px;
        margin-top: calc(var(--spacing-small) / 2);
        max-width: 90vw;
    }
    .windows-decor,
    .minecraft-decor,
    .discord-decor,
    .telegram-decor {
        transform: scale(0.8);
        transform: scale(0.75);
    }
    .minecraft-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-small);
        margin-top: var(--spacing-medium);
        margin-bottom: var(--spacing-medium);
        gap: var(--spacing-small);
        margin-top: var(--spacing-medium);
        margin-bottom: var(--spacing-medium);
    }
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: var(--spacing-medium);
        padding: var(--spacing-medium);
    }
    .screenshot-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-small);
        gap: var(--spacing-small);
        padding: var(--spacing-small);
    }
    .about-details p {
        font-size: 13px;
        font-size: 13px;
        margin-bottom: var(--spacing-small);
    }
    .minecraft-box {
        max-width: 95%;
        padding: var(--spacing-medium);
        margin-left: auto;
        margin-right: auto;
        padding: var(--spacing-medium);
        margin-top: var(--spacing-large);
    }
    .mc-button {
        min-width: 120px;
        padding: var(--spacing-small) var(--spacing-medium);
        min-width: 110px;
        padding: var(--spacing-small) var(--spacing-medium);
        font-size: 12px;
    }
    footer {
        text-align: center;
        padding: var(--spacing-medium);
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        color: var(--text-gray);
        font-size: 12px;
        font-weight: 400;
        width: 100%;
        transition:
            transform 0.4s var(--transition-smooth),
            background 0.8s var(--transition-ease),
            box-shadow 0.4s var(--transition-smooth);
        box-shadow: 0 -4px 15px var(--shadow-dark);
    }
    body.minecraft-theme footer {
        background: rgba(20, 30, 20, 0.85);
    }
    footer:hover {
        transform: translateY(-2px);
        box-shadow: 0 -8px 25px var(--shadow-light);
    }
    body.minecraft-theme footer:hover {
        box-shadow: 0 -8px 25px var(--shadow-green);
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @keyframes fadeOut {
        from {
            opacity: 1;
        }
        to {
            opacity: 0;
        }
    }
    .background-animation::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.02),
            transparent
        );
        z-index: -1;
    }
    .feature,
    .content-box {
        background-blend-mode: overlay;
    }
    .feature i,
    .content-box i {
        filter: drop-shadow(0 2px 6px var(--shadow-dark));
    }
    .feature:hover i,
    .content-box:hover i {
        filter: drop-shadow(0 4px 10px var(--shadow-dark));
    }
    @keyframes textFade {
        0% {
            opacity: 0;
            transform: translateY(15px) scale(0.95);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    .hero h1,
    .hero p {
        animation: textFade 0.6s var(--transition-smooth) forwards;
    }
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.02),
            transparent 80%
        );
        z-index: -2;
    }
    .cta-button::after,
    .action-button::after {
        content: "";
        position: absolute;
        top: -8px;
        left: -8px;
        width: calc(100% + 16px);
        height: calc(100% + 16px);
        border-radius: var(--radius-large);
        border: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transition: opacity 0.4s var(--transition-smooth);
        z-index: 0;
    }
    .cta-button:hover::after,
    .action-button:hover::after {
        opacity: 1;
    }
    p,
    .info,
    .dev-notice,
    .telegram-info {
        line-height: 1.6;
        letter-spacing: 0.5px;
    }
    @keyframes decorPulse {
        0%,
        100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }
    .windows-decor,
    .minecraft-decor,
    .discord-decor,
    .telegram-decor {
        animation: decorPulse 6s infinite ease-in-out;
    }
    .dev-notice {
        text-shadow: 0 0 8px var(--orange-accent);
    }
    .logo::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(
            circle,
            rgba(0, 113, 227, 0.05),
            transparent 70%
        );
        transform: translate(-50%, -50%) scale(0);
        border-radius: 50%;
        opacity: 0;
        transition:
            opacity 0.3s var(--transition-smooth),
            transform 0.3s var(--transition-smooth);
    }
    body.minecraft-theme .logo::after {
        background: radial-gradient(
            circle,
            rgba(34, 139, 34, 0.05),
            transparent 70%
        );
    }
    .logo:hover::after {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    .content-box::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom right,
            rgba(255, 255, 255, 0.05),
            transparent
        );
        opacity: 0;
        transition: opacity 0.4s var(--transition-smooth);
        z-index: 0;
    }
    .content-box:hover::before {
        opacity: 1;
    }
    footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
            circle,
            rgba(255, 255, 255, 0.03),
            transparent 70%
        );
        opacity: 0;
        transition: opacity 0.4s var(--transition-smooth);
        z-index: -1;
    }
    footer:hover::before {
        opacity: 1;
    }
    .screenshot-container {
        margin: var(--spacing-large) 0;
        border-radius: var(--radius-medium);
        overflow: hidden;
        box-shadow: 0 4px 10px var(--shadow-dark);
        position: relative;
        cursor: pointer;
    }
    .screenshot-placeholder {
        width: 100%;
        transition: transform 0.3s var(--transition-smooth);
        position: relative;
    }
    .screenshot-placeholder::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 0.3s ease;
        pointer-events: none;
    }
    .screenshot-container:hover .screenshot-placeholder::after {
        background-color: rgba(0, 0, 0, 0.5);
    }
    .screenshot-placeholder:hover {
        transform: scale(1.02);
    }
    .screenshot-placeholder img {
        width: 100%;
        height: auto;
        display: block;
    }
    .gallery-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
        background: rgba(34, 139, 34, 0.85);
        color: white;
        border: none;
        border-radius: var(--radius-medium);
        padding: var(--spacing-small) var(--spacing-medium);
        font-size: var(--font-size-small);
        font-family: "SF Pro Display", sans-serif;
        font-weight: 400;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        z-index: 2;
        white-space: nowrap;
        backdrop-filter: blur(4px);
    }
    .screenshot-container:hover .gallery-button {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    .gallery-button:hover {
        background: rgba(30, 120, 30, 0.95);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        transform: translate(-50%, -50%) scale(1.05) !important;
    }
    .modal {
        display: none;
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        animation: fadeIn 0.3s var(--transition-smooth);
    }
    .modal-content {
        background: var(--card-dark-green);
        margin: 5% auto;
        padding: var(--spacing-large);
        border-radius: var(--radius-large);
        width: 90%;
        max-width: 800px;
        box-shadow: 0 8px 30px var(--shadow-dark);
        position: relative;
        border: 1px solid rgba(34, 139, 34, 0.3);
    }
    .modal-content h2 {
        text-align: center;
        margin-bottom: var(--spacing-medium);
        color: var(--text-light);
    }
    .gallery-info {
        text-align: center;
        color: var(--text-subtle);
        margin-bottom: var(--spacing-large);
        font-size: var(--font-size-small);
    }
    .wiki-warning {
        text-align: center;
        color: var(--text-subtle);
        font-size: var(--font-size-large);
        margin: var(--spacing-xl) 0;
    }
    .screenshot-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-medium);
        max-height: 70vh;
        overflow-y: auto;
        padding: var(--spacing-small);
    }
    .gallery-screenshot {
        width: 100%;
        border-radius: var(--radius-small);
        transition: transform 0.3s var(--transition-smooth);
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 5px var(--shadow-dark);
    }
    .gallery-screenshot:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 10px var(--shadow-green);
    }
    .close {
        color: var(--text-muted);
        float: right;
        font-size: 28px;
        font-weight: bold;
        position: absolute;
        right: var(--spacing-large);
        top: var(--spacing-large);
        cursor: pointer;
        transition: color 0.3s var(--transition-smooth);
    }
    .close:hover,
    .close:focus {
        color: var(--text-light);
    }
    .fullscreen-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 3000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .fullscreen-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
    .fullscreen-image {
        max-width: 95%;
        max-height: 95%;
        object-fit: contain;
        border: 2px solid var(--primary-green);
        box-shadow: 0 0 20px rgba(34, 139, 34, 0.5);
        cursor: zoom-out;
    }
    .fullscreen-image.error {
        width: 100px;
        height: 100px;
        background-color: #333;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--text-gray);
        font-size: var(--font-size-small);
    }
    .fullscreen-loader {
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        border-top: 4px solid var(--primary-green);
        width: 40px;
        height: 40px;
        animation: spin 1s linear infinite;
    }
    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
    .dropdown-content {
        min-width: 70px;
        min-width: 65px;
        padding: calc(var(--spacing-small) / 2) 0;
    }
    .dropdown-content a {
        padding: var(--spacing-small) var(--spacing-medium);
        font-size: 12px;
        padding: var(--spacing-small) var(--spacing-medium);
        font-size: 12px;
    }
    .discord-box,
    .telegram-box {
        margin-left: auto;
        margin-right: auto;
        padding: var(--spacing-medium);
    }
    .joke {
        font-size: 9px;
        padding: calc(var(--spacing-small) / 2) var(--spacing-small);
        max-width: 75vw;
    }
    .feature-grid.visible ~ .hero .cta-button {
        display: none !important;
    }
    .dropdown,
    li:nth-child(3),
    li:nth-child(4),
    li:nth-child(5) {
        display: none !important;
    }
}
@media (max-width: 480px) {
    header {
        padding: var(--spacing-small);
        padding: calc(var(--spacing-small) / 2) var(--spacing-small);
    }
    nav {
        padding: var(--spacing-small);
        padding: var(--spacing-small);
    }
    .logo {
        font-size: calc(var(--font-size-large) * 1.05);
        margin-bottom: calc(var(--spacing-small) / 2);
        font-size: calc(var(--font-size-large) * 0.95);
        margin-bottom: calc(var(--spacing-small) / 2);
    }
    .lang-switcher {
        top: calc(var(--spacing-small) / 2);
        right: var(--spacing-small);
        gap: calc(var(--spacing-small) / 2);
        gap: calc(var(--spacing-small) / 3);
        top: calc(var(--spacing-small) / 3);
    }
    nav ul {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-small) / 2);
        margin-top: var(--spacing-medium);
        gap: calc(var(--spacing-small) / 3);
        margin-top: var(--spacing-medium);
    }
    nav a {
        padding: calc(var(--spacing-small) * 0.8) var(--spacing-small);
        font-size: calc(var(--font-size-small) * 0.9);
        min-height: 32px;
        padding: calc(var(--spacing-small) * 0.75) var(--spacing-small);
        font-size: calc(var(--font-size-small) * 0.85);
        min-height: 30px;
    }
    .hero {
        padding: var(--spacing-medium) var(--spacing-medium);
        padding-top: calc(var(--spacing-xl) * 1.3);
        padding: var(--spacing-medium);
        padding-top: calc(var(--spacing-large) * 1.1);
    }
    .hero h1 {
        font-size: 28px;
        font-size: 26px;
    }
    .hero p {
        font-size: 12px;
        margin-bottom: var(--spacing-small);
        font-size: 12px;
        margin-bottom: var(--spacing-small);
    }
    .cta-button {
        padding: var(--spacing-small);
        font-size: 11px;
        margin-top: var(--spacing-medium);
        margin-bottom: var(--spacing-large);
        padding: var(--spacing-small) var(--spacing-medium);
        font-size: 11px;
        margin-top: var(--spacing-medium);
        margin-bottom: var(--spacing-large);
    }
    .feature-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--spacing-medium) var(--spacing-large);
        gap: var(--spacing-small);
        gap: calc(var(--spacing-small) / 2);
        padding-bottom: var(--spacing-large);
    }
    .feature {
        padding: var(--spacing-medium);
        padding: var(--spacing-small) var(--spacing-medium);
    }
    .feature i {
        font-size: 32px;
        margin-bottom: var(--spacing-small);
        font-size: 30px;
        margin-bottom: calc(var(--spacing-small) / 2);
    }
    .feature h2 {
        font-size: 14px;
        margin-bottom: var(--spacing-small);
        font-size: 13px;
        margin-bottom: calc(var(--spacing-small) / 2);
    }
    .feature p {
        font-size: 10px;
        font-size: 9px;
    }
    .content-box {
        padding: var(--spacing-medium);
        margin: var(--spacing-small);
        padding: var(--spacing-small) var(--spacing-medium);
        margin: var(--spacing-small);
    }
    .minecraft-box {
        padding: var(--spacing-medium);
        max-width: 95%;
        padding: var(--spacing-small) var(--spacing-medium);
    }
    .content-box i {
        font-size: 40px;
        margin-bottom: var(--spacing-small);
        font-size: 36px;
        margin-bottom: var(--spacing-small);
    }
    .content-box h1 {
        font-size: 20px;
        margin-bottom: var(--spacing-small);
        font-size: 18px;
        margin-bottom: var(--spacing-small);
    }
    .content-box p {
        font-size: 12px;
        margin-bottom: var(--spacing-medium);
        font-size: 11px;
        margin-bottom: var(--spacing-small);
    }
    .action-button {
        padding: var(--spacing-small);
        font-size: 12px;
        margin: var(--spacing-small) 0;
        padding: var(--spacing-small);
        font-size: 11px;
        margin: calc(var(--spacing-small) / 2) 0;
    }
    .joke {
        top: 100%;
        left: 0;
        transform: none;
        padding: var(--spacing-small);
        font-size: 10px;
        margin-top: calc(var(--spacing-small) / 3);
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: calc(var(--spacing-small) / 2) var(--spacing-small);
        font-size: 10px;
        margin-top: calc(var(--spacing-small) / 4);
        max-width: 70vw;
        font-size: 9px;
        padding: calc(var(--spacing-small) / 3) var(--spacing-small);
        max-width: 70vw;
    }
    .windows-decor,
    .minecraft-decor,
    .discord-decor,
    .telegram-decor {
        transform: scale(0.7);
        transform: scale(0.65);
    }
    .close {
        right: var(--spacing-medium);
        top: var(--spacing-medium);
        font-size: 24px;
        right: var(--spacing-small);
        top: var(--spacing-small);
        font-size: 22px;
    }
    .about-details p {
        font-size: 12px;
        font-size: 11px;
        margin-bottom: var(--spacing-small);
    }
    .dev-notice {
        font-size: 10px;
        font-size: 9px;
        margin-top: var(--spacing-small);
    }
    .telegram-info {
        font-size: 10px;
        font-size: 9px;
        margin-bottom: var(--spacing-small);
    }
    .mc-button {
        min-width: 100px;
        padding: var(--spacing-small);
        font-size: 11px;
        min-width: 90px;
        padding: calc(var(--spacing-small) / 2) var(--spacing-small);
        font-size: 10px;
    }
    .dropdown-content {
        min-width: 70px;
        min-width: 60px;
        padding: calc(var(--spacing-small) / 2) 0;
        padding: calc(var(--spacing-small) / 3) 0;
    }
    .dropdown-content a {
        padding: var(--spacing-small);
        font-size: 12px;
        padding: calc(var(--spacing-small) / 2) var(--spacing-small);
        font-size: 11px;
    }
    .discord-box,
    .telegram-box {
        padding: var(--spacing-small) var(--spacing-medium);
    }
    .joke {
        font-size: 8px;
        padding: calc(var(--spacing-small) / 3) var(--spacing-small);
        max-width: 65vw;
    }
}
/* - Конец изменения - */
