/* ===== ОСНОВНЫЕ СТИЛИ И ОПТИМИЗАЦИЯ ===== */
:root {
    --primary: #ff6600;
    --primary-dark: #cc5500;
    --secondary: #ff8800;
    --accent: #FF9800;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --light: #ffffff;
    --text: #e0e0e0;
    --text-light: #a0a0a0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --java-color: #f8981d;
    --bedrock-color: #55c1e8;
    --glow-primary: 0 0 20px rgba(255, 102, 0, 0.5);
    --glow-secondary: 0 0 20px rgba(85, 193, 232, 0.5);
}

/* Reset и оптимизации */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background-color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== ЗАЩИТА ИЗОБРАЖЕНИЙ (НЕВИДИМАЯ) ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.logo, .server-icon, .feature-icon, .btn-icon, .member-role-badge i {
    pointer-events: auto;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Типография */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

section {
    padding: 80px 0;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ===== ПРЕЛОАДЕР ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    font-size: 4rem;
    color: var(--primary);
    animation: pulse 1.5s infinite, rotate 2s linear infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.5; 
        transform: scale(0.95);
    }
}

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

/* ===== АНИМИРОВАННЫЙ ФОН ===== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,136,0,0.15) 0%, rgba(255,136,0,0) 70%);
    animation: float 15s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
    transform: translateY(0);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform var(--transition);
}

.logo-link:hover {
    transform: translateX(5px);
}

.logo {
    width: 50px;
    height: 50px;
    transition: transform var(--transition);
}

.logo-link:hover .logo {
    transform: rotate(-10deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: var(--light);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background-color: rgba(255, 102, 0, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.header-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.header-btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== ГЛАВНЫЙ БАННЕР ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 102, 0, 0.1) 0%, transparent 50%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.server-title {
    margin-bottom: 20px;
}

.server-title h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

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

.server-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.java-edition {
    color: var(--java-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(248, 152, 29, 0.3);
}

.bedrock-edition {
    color: var(--bedrock-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(85, 193, 232, 0.3);
}

.divider {
    color: var(--text-light);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light);
    opacity: 0.9;
    line-height: 1.8;
}

.servers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    align-items: stretch;
}

.server-card {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.9));
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.server-card.animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 102, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.server-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.server-card:hover::before {
    opacity: 1;
}

.server-card[data-server="java"]:hover {
    box-shadow: var(--shadow), var(--glow-primary);
}

.server-card[data-server="bedrock"]:hover {
    box-shadow: var(--shadow), var(--glow-secondary);
}

.server-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.server-icon {
    font-size: 2rem;
    margin-right: 15px;
    transition: transform var(--transition);
}

.server-card:hover .server-icon {
    transform: scale(1.1) rotate(10deg);
}

.server-icon.java {
    color: var(--java-color);
}

.server-icon.bedrock {
    color: var(--bedrock-color);
}

.server-info {
    flex-grow: 1;
    text-align: left;
}

.server-info h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.server-version {
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Roboto Mono', monospace;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.server-status.online {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.server-status.offline {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(244, 67, 54, 0.1));
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.server-status.checking {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 152, 0, 0.1));
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        opacity: 0.5;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
    }
}

.server-status.online .status-dot {
    background-color: #4CAF50;
}

.server-status.online .status-dot::after {
    background-color: #4CAF50;
}

.server-status.offline .status-dot {
    background-color: #F44336;
}

.server-status.checking .status-dot {
    background-color: #FF9800;
}

.server-details {
    padding: 20px;
    flex-grow: 1;
}

.server-ip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.ip-text {
    flex-grow: 1;
    letter-spacing: 0.5px;
}

.copy-btn, .refresh-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    position: relative;
    overflow: hidden;
}

.copy-btn::before, .refresh-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.6s;
}

.copy-btn:hover::before, .refresh-btn:hover::before {
    left: 100%;
}

.copy-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    transform: scale(1.1);
}

.refresh-btn:hover {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    transform: scale(1.1) rotate(180deg);
}

.java-refresh:hover {
    background: rgba(248, 152, 29, 0.2);
    color: var(--java-color);
}

.bedrock-refresh:hover {
    background: rgba(85, 193, 232, 0.2);
    color: var(--bedrock-color);
}

.server-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.stat:hover {
    background: rgba(255, 102, 0, 0.1);
    transform: translateX(5px);
}

.stat i {
    color: var(--accent);
    font-size: 1.2rem;
}

.server-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.server-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-card:hover .server-img {
    transform: scale(1.05);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::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.6s ease;
}

.hover-glow:hover::before {
    left: 100%;
}

/* ===== РАЗДЕЛ СЕРВЕРОВ ===== */
.servers {
    background: linear-gradient(to bottom, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
}

.server-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.server-version-card {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.9));
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.server-version-card.animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.server-version-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 102, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.server-version-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.server-version-card:hover::after {
    opacity: 1;
}

.version-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.version-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.server-version-card:hover .version-header::before {
    opacity: 1;
}

.version-header.java {
    background: linear-gradient(135deg, rgba(248, 152, 29, 0.1), transparent);
    color: var(--java-color);
}

.version-header.bedrock {
    background: linear-gradient(135deg, rgba(85, 193, 232, 0.1), transparent);
    color: var(--bedrock-color);
}

.version-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform var(--transition);
}

.server-version-card:hover .version-header i {
    transform: scale(1.2) rotate(10deg);
}

.version-features {
    padding: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.feature:hover {
    transform: translateX(10px);
    color: var(--light);
}

.feature i {
    color: var(--accent);
    font-size: 1.2rem;
    min-width: 24px;
}

.version-ip {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: 'Roboto Mono', monospace;
    color: var(--light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
}

/* ===== ОПИСАНИЕ СЕРВЕРА ===== */
.about {
    background: linear-gradient(to bottom, rgba(35, 35, 35, 0.95), rgba(25, 25, 25, 0.98));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    transition: all var(--transition);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.3));
}

.character-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.5));
}

.features-section {
    margin-top: 80px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.9));
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.hover-lift:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow), 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 1.5rem;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-card h3.single-line {
    height: auto;
    min-height: 2.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== СТИЛИ ИКОНОК КОМАНДЫ ===== */
.team {
    background: linear-gradient(to bottom, rgba(40, 40, 40, 0.95), rgba(30, 30, 30, 0.98));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.team-member {
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.8), rgba(35, 35, 35, 0.9));
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.team-member.animated {
    opacity: 1;
    transform: translateY(0);
}

.team-member:nth-child(1) { transition-delay: 0.1s; }
.team-member:nth-child(2) { transition-delay: 0.2s; }
.team-member:nth-child(3) { transition-delay: 0.3s; }
.team-member:nth-child(4) { transition-delay: 0.4s; }

.member-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.team-member:hover .member-image {
    transform: scale(1.05);
}

.member-role-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.member-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: flex-end;
    z-index: 2;
}

.member-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: all var(--transition);
    position: relative;
    cursor: help;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.8);
    animation: iconAppear 0.5s ease forwards;
}

@keyframes iconAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.team-member:nth-child(1) .member-icon:nth-child(1) { animation-delay: 0.3s; }
.team-member:nth-child(1) .member-icon:nth-child(2) { animation-delay: 0.4s; }
.team-member:nth-child(1) .member-icon:nth-child(3) { animation-delay: 0.5s; }
.team-member:nth-child(2) .member-icon:nth-child(1) { animation-delay: 0.4s; }
.team-member:nth-child(2) .member-icon:nth-child(2) { animation-delay: 0.5s; }
.team-member:nth-child(2) .member-icon:nth-child(3) { animation-delay: 0.6s; }
.team-member:nth-child(3) .member-icon:nth-child(1) { animation-delay: 0.5s; }
.team-member:nth-child(3) .member-icon:nth-child(2) { animation-delay: 0.6s; }
.team-member:nth-child(3) .member-icon:nth-child(3) { animation-delay: 0.7s; }
.team-member:nth-child(4) .member-icon:nth-child(1) { animation-delay: 0.6s; }
.team-member:nth-child(4) .member-icon:nth-child(2) { animation-delay: 0.7s; }
.team-member:nth-child(4) .member-icon:nth-child(3) { animation-delay: 0.8s; }

.member-icon:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.member-icon::before {
    content: attr(title);
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    color: var(--light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 10;
    border: 1px solid rgba(255, 102, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.member-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(10, 10, 10, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.member-icon:hover::before,
.member-icon:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.member-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
    font-size: 1.1rem;
}

.member-info p {
    line-height: 1.8;
    color: var(--text-light);
}

/* ===== ПАНЕЛЬ С КНОПКАМИ ===== */
.action-panel {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(20, 20, 20, 0.98));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.action-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.action-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

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

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.9));
    border-radius: var(--border-radius);
    padding: 40px 25px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.action-btn.animated {
    opacity: 1;
    transform: translateY(0);
}

.action-btn:nth-child(1) { transition-delay: 0.1s; }
.action-btn:nth-child(2) { transition-delay: 0.2s; }
.action-btn:nth-child(3) { transition-delay: 0.3s; }
.action-btn:nth-child(4) { transition-delay: 0.4s; }

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 102, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow), 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.btn-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary);
    transition: transform var(--transition);
}

.action-btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

.action-btn h3 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.action-btn p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== ФОРМА АНКЕТЫ ===== */
.application-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.application-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 102, 0, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(50px) scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.application-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 102, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.1), transparent);
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-header h2 {
    color: var(--light);
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2 i {
    color: var(--primary);
}

.close-modal {
    background: rgba(255, 102, 0, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    line-height: 1;
}

.close-modal:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

#applicationForm {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: var(--light);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group label i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 102, 0, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 0;
    border-radius: 10px;
    transition: background var(--transition-fast);
}

.form-agreement:hover {
    background: rgba(255, 102, 0, 0.05);
}

.form-agreement input[type="checkbox"] {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-agreement label {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

.form-agreement a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.form-agreement a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.form-submit {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-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.6s;
}

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

.submit-btn:hover:not(:disabled) {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn i {
    font-size: 1.2rem;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: var(--border-radius);
    padding: 20px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(400px) scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.notification.show {
    transform: translateX(0) scale(1);
}

.notification.success {
    border-left-color: #4CAF50;
}

.notification.error {
    border-left-color: #F44336;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.notification-content i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification.success .notification-content i {
    color: #4CAF50;
}

.notification.error .notification-content i {
    color: #F44336;
}

.notification-content span {
    color: var(--light);
    line-height: 1.4;
    font-size: 0.95rem;
}

.notification-close {
    background: rgba(255, 102, 0, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    line-height: 1;
}

.notification-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

/* ===== ФУТЕР ===== */
footer {
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 1));
    padding: 60px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.footer-editions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.edition {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-fast);
}

.edition:hover {
    transform: translateY(-3px);
}

.edition.java {
    background: linear-gradient(135deg, rgba(248, 152, 29, 0.2), rgba(248, 152, 29, 0.1));
    color: var(--java-color);
    border: 1px solid rgba(248, 152, 29, 0.3);
}

.edition.bedrock {
    background: linear-gradient(135deg, rgba(85, 193, 232, 0.2), rgba(85, 193, 232, 0.1));
    color: var(--bedrock-color);
    border: 1px solid rgba(85, 193, 232, 0.3);
}

footer p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    background: rgba(255, 102, 0, 0.1);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.6;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu[aria-hidden="true"] {
    display: none;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.mobile-nav-link {
    font-size: 1.3rem;
    padding: 20px;
    border-radius: var(--border-radius);
    background: rgba(40, 40, 40, 0.8);
    color: var(--light);
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
    background: rgba(255, 102, 0, 0.2);
    transform: translateX(10px);
    border-color: var(--primary);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .nav-links, .header-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .server-title h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .server-subtitle {
        font-size: 1rem;
        gap: 10px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .servers-list {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .server-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }
    
    .hero-buttons .header-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .character-image {
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .member-icons {
        top: 10px;
        right: 10px;
    }
    
    .member-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .member-icon::before {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .action-btn {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .notification {
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .server-title h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .server-version-card {
        margin: 0 -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .version-header {
        padding: 25px 20px;
    }
    
    .version-features {
        padding: 25px 20px;
    }
    
    .version-ip {
        padding: 20px;
    }
    
    .character-image {
        max-width: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-logo {
        font-size: 2.5rem;
    }
    
    .footer-editions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .edition {
        width: 200px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .feature-card h3.single-line {
        font-size: 1.3rem;
    }
    
    .member-icons {
        flex-direction: row;
        top: 10px;
        right: 10px;
        left: 10px;
        justify-content: flex-end;
    }
    
    .member-icon::before {
        top: 40px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }
    
    .member-icon::after {
        top: 32px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid rgba(10, 10, 10, 0.9);
        border-top: none;
    }
}

@media (max-width: 360px) {
    .server-title h1 {
        font-size: 2rem;
    }
    
    .server-subtitle {
        flex-direction: column;
        gap: 5px;
    }
    
    .server-info h3 {
        font-size: 1.2rem;
    }
    
    .server-ip {
        font-size: 0.9rem;
    }
    
    .hero-buttons .header-btn {
        font-size: 0.9rem;
        padding: 14px 20px;
    }
    
    .action-btn {
        padding: 25px 15px;
    }
    
    .action-btn h3 {
        font-size: 1.3rem;
    }
    
    .feature-card h3.single-line {
        font-size: 1.2rem;
    }
}

@media print {
    .preloader,
    .background-animation,
    .application-modal,
    header,
    .mobile-menu-btn,
    .hero-buttons,
    .action-panel,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    section {
        padding: 30px 0;
        page-break-inside: avoid;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .server-card,
    .feature-card,
    .team-member,
    .server-version-card,
    .action-btn {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        background: white !important;
        color: black !important;
        transform: none !important;
    }
    
    img {
        filter: grayscale(100%) !important;
        opacity: 0.7 !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .character-image,
    .member-image,
    .server-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --dark: #0a0a0a;
        --dark-light: #1a1a1a;
        --text: #e0e0e0;
        --text-light: #a0a0a0;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --dark: #f5f5f5;
        --dark-light: #ffffff;
        --light: #333333;
        --text: #444444;
        --text-light: #666666;
    }
    
    body {
        background-color: var(--dark);
    }
    
    .nav-link,
    .mobile-nav-link,
    .header-btn.btn-secondary {
        color: var(--light);
    }
    
    .server-card,
    .feature-card,
    .team-member,
    .server-version-card,
    .action-btn,
    .modal-content {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(0, 0, 0, 0.1);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: rgba(255, 255, 255, 0.8);
        border-color: rgba(0, 0, 0, 0.1);
        color: #333;
    }
    
    .server-ip,
    .version-ip {
        background: rgba(255, 255, 255, 0.8);
        color: #333;
    }
}