/* ===== СБРОС И ОСНОВНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цветовая палитра */
    --primary: #00d4ff;
    --secondary: #ff6b35;
    --accent: #f7931e;
    --success: #00ff88;
    --warning: #ffd700;
    --danger: #ff4757;
    
    /* Темные цвета */
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --dark-card: #2a2a2a;
    --dark-border: #3a3a3a;
    
    /* Светлые цвета */
    --light-bg: #ffffff;
    --light-surface: #f8f9fa;
    --light-card: #ffffff;
    --light-border: #e9ecef;
    
    /* Текст */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-dark: #333333;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #00d4ff, #0099cc);
    --gradient-secondary: linear-gradient(135deg, #ff6b35, #ff4500);
    --gradient-accent: linear-gradient(135deg, #f7931e, #ff8c00);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    
    /* Тени */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.4);
    
    /* Анимации */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== АНИМИРОВАННЫЙ ФОН ===== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

#particles-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.floating-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-blocks::before,
.floating-blocks::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 4px;
    animation: float 6s ease-in-out infinite;
}

.floating-blocks::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-blocks::after {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.main-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.modern-header {
    background: 
        linear-gradient(90deg, #2a2a2a 0%, #3a3a3a 25%, #2a2a2a 50%, #333333 75%, #2a2a2a 100%),
        repeating-linear-gradient(0deg, transparent 0px, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 1px, rgba(0,0,0,0.1) 1px, rgba(0,0,0,0.1) 2px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    padding: 1rem 0 2rem 0;
    clip-path: polygon(
        0% 100%,
        10% 100%,
        20% 95%,
        30% 100%,
        40% 97%,
        50% 100%, 
        60% 98%,
        70% 100%,
        80% 96%,
        90% 100%,
        100% 100%,
        100% 0%,
        0% 0%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.modern-header::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: 
        linear-gradient(90deg, #2a2a2a 0%, #3a3a3a 25%, #2a2a2a 50%, #333333 75%, #2a2a2a 100%),
        repeating-linear-gradient(0deg, transparent 0px, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 1px, rgba(0,0,0,0.1) 1px, rgba(0,0,0,0.1) 2px);
    border-radius: 0 0 50px 50px;
    z-index: -1;
}


.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

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

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

.logo-main {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-normal);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover {
    color: white;
    box-shadow: var(--shadow-md);
}

.nav-link.active {
    color: white;
    box-shadow: var(--shadow-md);
}

.header-actions {
    display: flex;
    gap: 1rem;
    position: relative;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-login {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-radius: inherit;
    z-index: -1;
}

.btn-login:hover {
    background: linear-gradient(135deg, #00a8ff 0%, #0077aa 100%);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-login:hover::before {
    background: linear-gradient(135deg, #00a8ff 0%, #0077aa 100%);
}

.btn-register {
    background: var(--gradient-accent);
    color: white;
}

.btn-register:hover {
    box-shadow: var(--shadow-lg);
}

/* Стили для ссылок-кнопок */
a.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

a.btn:hover {
    text-decoration: none;
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #7289DA, #9C84EF);
    color: white;
    width: 100%;
    justify-content: center;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.btn-discord:hover {
    background: linear-gradient(135deg, #4752C4, #5B6DAE, #8B5CF6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.btn-discord:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #00a8ff, #00d4ff);
    color: white;
    width: 100%;
    justify-content: center;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.btn-telegram:hover {
    background: linear-gradient(135deg, #0077b3, #0099e6, #00bfff);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.btn-telegram:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}


/* ===== HERO СЕКЦИЯ ===== */
.hero-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.minecraft-scene {
    position: relative;
    width: 100%;
    height: 400px;
    background: 
        url('../images/minecraftscene.png') center/cover no-repeat,
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    overflow: hidden;
}



/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main-content {
    padding: 4rem 0;
}

.content-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* ===== СЕКЦИИ ===== */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-decoration {
    flex: 1;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

/* ===== МАГАЗИН ===== */
.shop-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Заголовок */
.shop-header {
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.shop-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.5rem;
    letter-spacing: 2px;
    position: relative;
    display: block;
}

.shop-title.highlight {
    color: #ffffff !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
}


.shop-title-underline {
    width: 100px;
    height: 3px;
    background: #00d4ff;
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}



/* Карточки товаров */
.shop-cards {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.shop-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.7) 0%, rgba(35, 35, 35, 0.5) 100%);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.shop-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 123, 255, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
}

.shop-card:hover::before {
    left: 100%;
}

.shop-card:hover::after {
    opacity: 1;
}

.shop-card:hover {
    transform: translateY(-12px) scale(1.03);
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.98) 0%, rgba(45, 45, 45, 0.95) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 
        0 25px 60px rgba(0, 123, 255, 0.4),
        0 0 40px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.shop-card.active {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.25) 0%, rgba(0, 212, 255, 0.2) 100%);
    border-color: #00d4ff;
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.5),
        0 15px 35px rgba(0, 123, 255, 0.3);
    transform: translateY(-8px);
}

/* Иконки карточек */
.card-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #00d4ff, #007bff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #00d4ff, #007bff, #9c27b0, #00d4ff);
    background-size: 200% 200%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
    animation: iconRing 2s ease-in-out infinite;
}

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

.shop-card:hover .card-icon::before {
    opacity: 1;
    transform: scale(1.05);
}

.card-icon svg {
    width: 55px;
    height: 55px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    transition: all 0.4s ease;
    z-index: 1;
}

.shop-card:hover .card-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 
        0 15px 45px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 212, 255, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.shop-card:hover .card-icon svg {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

/* Специальные стили для кругов */
.shop-card[data-category="privileges"] .card-icon {
    background: linear-gradient(135deg, #ffd700, #ffb300, #ff8c00);
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.shop-card[data-category="privileges"]:hover .card-icon {
    box-shadow: 
        0 15px 45px rgba(255, 215, 0, 0.7),
        0 0 30px rgba(255, 165, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.shop-card[data-category="blocks"] .card-icon {
    background: linear-gradient(135deg, #4caf50, #66bb6a, #2e7d32);
    box-shadow: 
        0 10px 30px rgba(76, 175, 80, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.shop-card[data-category="blocks"]:hover .card-icon {
    box-shadow: 
        0 15px 45px rgba(76, 175, 80, 0.7),
        0 0 30px rgba(102, 187, 106, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.shop-card[data-category="cases"] .card-icon {
    background: linear-gradient(135deg, #9c27b0, #ba68c8, #673ab7);
    box-shadow: 
        0 10px 30px rgba(156, 39, 176, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.shop-card[data-category="cases"]:hover .card-icon {
    box-shadow: 
        0 15px 45px rgba(156, 39, 176, 0.7),
        0 0 30px rgba(186, 104, 200, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* Контент карточек */
.card-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: 2px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.shop-card:hover .card-title {
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.card-description {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.7;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.shop-card:hover .card-description {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transform: translateX(5px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .shop-content {
        padding: 0 15px;
    }
    
    .shop-title {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }
    
    .shop-card {
        padding: 2rem;
        gap: 2rem;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
    }
    
    .card-icon svg {
        width: 45px;
        height: 45px;
    }
    
    .card-title {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }
    
    .card-description {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .shop-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .shop-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
    }
    
    .card-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .card-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .card-description {
        font-size: 0.95rem;
        letter-spacing: 0.3px;
    }
}

/* ===== НОВОСТИ ===== */
.news-section {
    margin-bottom: 3rem;
}

.news-scroll-container {
    background: var(--dark-surface);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 0;
    height: 955px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    position: relative;
    animation: newsContainerGlow 3s ease-in-out infinite alternate;
    display: flex;
    flex-direction: column;
}

.news-scroll-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
}


.loading-telegram {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    gap: 1rem;
}

.loading-telegram i {
    color: var(--primary);
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

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


@keyframes newsContainerGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
        border-color: var(--primary);
    }
    100% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
        border-color: var(--accent);
    }
}

.news-scroll-container::-webkit-scrollbar {
    width: 10px;
}

.news-scroll-container::-webkit-scrollbar-track {
    background: var(--dark-card);
    border-radius: 6px;
    margin: 0.5rem 0;
}

.news-scroll-container::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.news-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    border-color: rgba(0, 212, 255, 0.4);
}

.news-grid {
    display: grid;
    gap: 1rem;
    max-width: 100%;
}

.news-card {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--dark-border);
    height: 160px;
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-with-image {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    height: 160px;
}

.news-card-with-image .news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gradient-dark);
    border: 2px solid var(--primary);
}

.news-card-with-image .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-with-image .news-content {
    flex: 1;
    padding: 0;
    min-width: 0;
}

.news-image {
    position: relative;
    height: 200px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 3rem;
    color: var(--text-secondary);
}

.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    margin-left: 1rem;
}

.news-meta {
    display: none;
}

.news-date {
    display: none;
}

.news-category {
    display: none;
}

.news-title {
    display: none;
}

.news-excerpt {
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    font-size: 1rem;
    flex: 1;
    text-align: left;
}

.news-excerpt strong {
    font-weight: bold;
    color: var(--primary);
}

.news-excerpt em {
    font-style: italic;
    color: var(--accent);
}

.news-excerpt a {
    color: var(--primary);
    text-decoration: underline;
}

.news-excerpt a:hover {
    color: var(--accent);
}

.news-footer {
    display: none;
}

.news-author {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.read-more {
    display: none;
}

.read-more:hover {
    background: var(--gradient-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.news-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 3rem;
    background: var(--dark-surface);
    border-radius: 12px;
    border: 1px solid var(--dark-border);
}

.news-loading i {
    color: var(--primary);
    font-size: 1.5rem;
}

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

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 12px;
    transition: all var(--transition-normal);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.telegram-link:hover {
    color: white;
    background: var(--primary);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.telegram-link i {
    font-size: 1.2rem;
}


/* ===== ВИДЖЕТ СТАТУСА СЕРВЕРОВ ===== */
.server-status-widget {
    background: var(--dark-card);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--dark-border);
    overflow: hidden;
    position: relative;
}

.server-status-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Заголовок виджета */
.server-status-widget .widget-header {
    background: linear-gradient(135deg, #6B1E1E, #8B2635);
    padding: 0.75rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.server-status-widget .widget-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: headerShimmer 3s ease-in-out infinite;
}

@keyframes headerShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}


.server-status-widget .widget-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* Список серверов */
.server-list {
    background: var(--dark-surface);
    position: relative;
    z-index: 1;
}

.server-entry {
    border-bottom: 1px solid var(--dark-border);
    padding: 0.75rem 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.server-entry:last-child {
    border-bottom: none;
}

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

.server-entry:hover::before {
    left: 100%;
}

.server-entry:hover {
    background: rgba(0, 212, 255, 0.03);
    transform: translateX(3px);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.1);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-info i {
    color: var(--primary);
    font-size: 0.8rem;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.server-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.server-version-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-version {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

.server-version-info i {
    color: var(--text-secondary);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.server-version-info i:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    transform: scale(1.2);
}

/* Статус бар */
.server-status-bar {
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.1) 0%, 
        rgba(0, 212, 255, 0.05) 50%, 
        rgba(0, 123, 255, 0.1) 100%);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 123, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    height: 2.5rem;
}

.server-status-bar::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    width: var(--progress-width, 0%);
    background: linear-gradient(90deg, 
        #00ff88 0%, 
        #00ff88 50%, 
        #00ff88 100%);
    border-radius: 7px 0 0 7px;
    transition: width 0.8s ease;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    min-width: 2px;
}

/* Стили для выключенных серверов */
.server-status-bar.offline {
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.1) 0%, 
        rgba(255, 0, 0, 0.05) 50%, 
        rgba(255, 0, 0, 0.1) 100%);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 
        0 2px 8px rgba(255, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.server-status-bar.offline::before {
    background: linear-gradient(90deg, 
        rgba(255, 0, 0, 0.8) 0%, 
        rgba(255, 0, 0, 0.6) 50%, 
        rgba(255, 0, 0, 0.8) 100%);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    width: calc(100% - 2px);
    top: 1px;
    left: 1px;
    bottom: 1px;
    border-radius: 7px;
}

.server-status-bar.offline .player-count {
    color: #ffffff;
    text-shadow: 
        0 0 12px rgba(239, 68, 68, 0.9),
        0 0 24px rgba(220, 38, 38, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.9);
    background: rgba(239, 68, 68, 0.2);
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
}

.server-status-bar.offline .server-status-text {
    color: #ffffff;
    opacity: 1;
    text-shadow: 
        0 0 10px rgba(239, 68, 68, 0.9),
        0 0 20px rgba(220, 38, 38, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.9);
    background: rgba(239, 68, 68, 0.25);
    font-weight: 600;
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
}

/* Динамические полосы заполнения будут управляться через JavaScript inline стили */

/* Специальные классы для разных уровней заполнения */
.server-status-bar.full::before { 
    width: calc(100% - 2px); 
    background: linear-gradient(90deg, #00ff88, #00ff88);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    border-radius: 7px;
}
.server-status-bar.high::before { 
    width: calc(75% - 1px); 
    background: linear-gradient(90deg, #00ff88, #00ff88);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.7);
}
.server-status-bar.medium::before { 
    width: calc(50% - 1px); 
    background: linear-gradient(90deg, #00ff88, #00ff88);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.6);
}
.server-status-bar.low::before { 
    width: calc(25% - 1px); 
    background: linear-gradient(90deg, #00ff88, #00ff88);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    min-width: 8px;
}
.server-status-bar.empty::before { 
    width: 0%; 
    background: linear-gradient(90deg, #00ff88, #00ff88);
}

/* Специальный стиль для пустых серверов - убираем горизонтальную полосу */
.server-status-bar.empty {
    position: relative;
}

.server-status-bar.empty::after {
    display: none;
}

/* Специальные стили для очень малых значений */
.server-status-bar[data-percentage]::before {
    min-width: 4px; /* Минимальная ширина для всех полос */
}

.server-status-bar:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(0, 123, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

@keyframes statusShimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}


.player-count {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 2;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(1px);
}

.server-status-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 2;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 
        0 0 8px rgba(0, 0, 0, 0.8),
        0 0 16px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(1px);
}


/* Футер виджета */
.server-footer {
    background: var(--dark-surface);
    padding: 0.75rem 1rem;
    text-align: center;
    border-top: 1px solid var(--dark-border);
    position: relative;
    z-index: 1;
}

.total-online {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, var(--primary), var(--success));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Анимации */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ОСТАЛЬНЫЕ ВИДЖЕТЫ ===== */
.discord-widget,
.telegram-widget {
    background: linear-gradient(135deg, var(--dark-card), rgba(0, 0, 0, 0.1));
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.voting-widget {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--dark-border);
    transition: all var(--transition-normal);
}

.discord-widget::before,
.telegram-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discord-widget:hover::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, #5865F2, transparent);
}

.telegram-widget:hover::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, #0088cc, transparent);
}

.discord-widget:hover,
.telegram-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.voting-widget:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.discord-widget .widget-header i,
.telegram-widget .widget-header i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

.voting-widget .widget-header i {
    font-size: 1.2rem;
    color: var(--primary);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.stats-grid {
    display: grid;
    gap: 1rem;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--dark-surface);
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.stat-box:hover {
    transform: translateX(5px);
    background: var(--dark-border);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-content,
.telegram-content {
    text-align: center;
}

.discord-content p,
.telegram-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.voting-content {
    text-align: center;
}

.voting-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.voting-sites {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.voting-site {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--dark-surface);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.voting-site:hover {
    background: var(--dark-border);
    transform: translateX(5px);
}

.site-name {
    font-weight: 600;
}

.site-votes {
    color: var(--success);
    font-weight: 700;
}

/* ===== FOOTER ===== */
.simple-footer {
    background: 
        linear-gradient(90deg, #2a2a2a 0%, #3a3a3a 25%, #2a2a2a 50%, #333333 75%, #2a2a2a 100%),
        repeating-linear-gradient(0deg, transparent 0px, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 1px, rgba(0,0,0,0.1) 1px, rgba(0,0,0,0.1) 2px);
    padding: 1rem 0;
    margin-top: 4rem;
    border-radius: 50px 50px 0 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(
        0% 0%,
        10% 0%,
        20% 5%,
        30% 0%,
        40% 3%,
        50% 0%,
        60% 2%,
        70% 0%,
        80% 4%,
        90% 0%,
        100% 0%,
        100% 100%,
        0% 100%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 -2px 8px rgba(0, 0, 0, 0.3);
}

.simple-footer::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: 
        linear-gradient(90deg, #2a2a2a 0%, #3a3a3a 25%, #2a2a2a 50%, #333333 75%, #2a2a2a 100%),
        repeating-linear-gradient(0deg, transparent 0px, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 1px, rgba(0,0,0,0.1) 1px, rgba(0,0,0,0.1) 2px);
    border-radius: 50px 50px 0 0;
    z-index: -1;
}

.simple-footer::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: 
        radial-gradient(ellipse 300px 80px at 20% 0%, #2a2a2a 0%, #2a2a2a 50%, transparent 50%),
        radial-gradient(ellipse 300px 80px at 80% 0%, #2a2a2a 0%, #2a2a2a 50%, transparent 50%),
        radial-gradient(ellipse 200px 60px at 50% 0%, #2a2a2a 0%, #2a2a2a 60%, transparent 60%);
    z-index: -2;
    animation: waveCurve 4s ease-in-out infinite;
}

@keyframes waveCurve {
    0%, 100% {
        transform: translateY(0) scaleX(1);
    }
    25% {
        transform: translateY(-5px) scaleX(1.02);
    }
    50% {
        transform: translateY(0) scaleX(0.98);
    }
    75% {
        transform: translateY(3px) scaleX(1.01);
    }
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-family: 'Courier New', monospace;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}


/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .news-scroll-container {
        height: 985px;
        padding: 0;
    }
    
    .news-card {
        height: 140px;
    }
    
    .news-card-with-image {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 140px;
    }
    
    .news-card-with-image .news-image {
        width: 80px;
        height: 80px;
        margin-bottom: 0.5rem;
    }
    
    .news-card-with-image .news-content {
        width: 100%;
        padding: 0.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
}

/* ===== СТРАНИЦА СКАЧИВАНИЯ ===== */
/* Добавляем отступ сверху для страницы start */
.start-page .main-content {
    padding-top: 2rem;
}

.download-section {
    margin-bottom: 2rem;
}

.download-card {
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.08) 0%, 
        rgba(0, 212, 255, 0.05) 50%, 
        rgba(0, 123, 255, 0.08) 100%);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 
        0 8px 20px rgba(0, 123, 255, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 25px rgba(0, 123, 255, 0.25),
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00d4ff, #007bff);
    border-radius: 15px 15px 0 0;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.download-title i {
    color: #00d4ff;
    font-size: 2.2rem;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

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

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

.download-steps {
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
}

.step-content {
    flex: 1;
}

.step-content p {
    margin: 0;
    color: #ffffff;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: 500;
}

.step-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.step-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.step-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.step-link:hover::after {
    width: 100%;
}

.support-section .step-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.support-section .step-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.support-section .step-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.support-section .step-link:hover::after {
    width: 100%;
}

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

.download-btn {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    text-decoration: none;
}

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

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

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, #0056b3, #007bff);
}

.download-btn:active {
    transform: translateY(-4px) scale(1.02);
    transition: all 0.1s ease;
}

.btn-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.download-btn:hover .btn-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.btn-main {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.download-btn:hover .btn-main {
    transform: scale(1.05);
}

.btn-sub {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    transition: all 0.3s ease;
    color: #ffffff;
}

.btn-sub.exe {
    color: #ff6b35;
}

.btn-sub.jar {
    color: #ff6b35;
}

.download-btn:hover .btn-sub {
    opacity: 1;
    transform: translateX(3px);
}

.support-section {
    margin-top: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0.5rem 0;
}

.support-section p {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
}

/* Mobile Responsive для страницы скачивания */
@media (max-width: 768px) {
    .download-card {
        padding: 2rem;
    }

    .download-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .download-title i {
        font-size: 1.8rem;
    }

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

    .step-number {
        align-self: center;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

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

    .download-btn {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }

    .btn-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .btn-main {
        font-size: 1.1rem;
    }

    .btn-sub {
        font-size: 0.8rem;
    }

    .support-section {
        padding: 0.4rem 0;
        margin-top: 1rem;
    }

    .support-section p {
        font-size: 0.9rem;
    }

    .support-section .step-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .news-content {
        padding: 1rem;
    }
}

/* ===== СТРАНИЦА РЕГИСТРАЦИИ ===== */
.register-section {
    margin-bottom: 3rem;
}

.register-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.register-section .section-description {
    color: #9ca3af;
    font-size: 1rem;
}

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

.register-header {
    text-align: center;
    margin-bottom: 3rem;
}

.register-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.register-subtitle {
    font-size: 1.2rem;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.register-description {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.6;
}

.register-form-container {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: #e5e7eb;
    font-size: 1rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.form-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #4b5563;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #374151;
    color: #e5e7eb;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: #4b5563;
}

.form-input::placeholder {
    color: #9ca3af;
}

.check-btn {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.check-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #4b5563;
    border-radius: 4px;
    background: #374151;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.recaptcha-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0.5rem 0;
    padding: 0;
    background: transparent;
    border: none;
    gap: 1rem;
    min-height: 78px;
}

.recaptcha-label {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}

.required-asterisk {
    color: #ff4757;
    font-weight: 700;
    margin-left: 2px;
}

.recaptcha-widget {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.recaptcha-text {
    font-weight: 500;
    color: #e5e7eb;
}

.recaptcha-info {
    font-size: 0.85rem;
    color: #9ca3af;
}

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

.submit-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

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

.launcher-section {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.launcher-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 2rem;
}

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

.launcher-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: 3px solid #fbbf24;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 250px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.launcher-btn.exe-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.launcher-btn.jar-btn {
    background: linear-gradient(135deg, #10b981, #059669);
}

.launcher-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.support-section {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.support-section p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin: 0;
}

.support-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.support-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.support-section .section-description {
    color: #9ca3af;
    font-size: 1rem;
}

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

.support-item {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.support-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.support-item i {
    font-size: 2rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.support-text h3 {
    color: #e5e7eb;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.support-text p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

/* Адаптивность для регистрации */
@media (max-width: 768px) {
    .register-container {
        padding: 0 1rem;
    }
    
    .register-title {
        font-size: 2rem;
    }
    
    .register-form-container {
        padding: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .check-btn {
        width: 100%;
    }
    
    .launcher-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .launcher-btn {
        min-width: 200px;
    }
}

/* Стили для счетчиков скачиваний */
.download-count {
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ РЕГИСТРАЦИИ - СЕКЦИЯ ЛАУНЧЕРА ===== */
.register-form-section + .launcher-section {
    background: transparent;
    padding: 2rem 0;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    border: none;
}

.register-form-section + .launcher-section .section-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    text-align: center;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.register-form-section + .launcher-section .launcher-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.register-form-section + .launcher-section .launcher-card {
    background: linear-gradient(135deg, 
        #00d4ff 0%, 
        #0099cc 50%, 
        #00d4ff 100%);
    color: white;
    border: 2px solid transparent;
    padding: 0 1.2rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    width: 280px;
    height: 80px;
    justify-content: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.register-form-section + .launcher-section .launcher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #f7931e 0%, 
        #ffd700 25%, 
        #f7931e 50%, 
        #ffd700 75%, 
        #f7931e 100%);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: 1;
}

.register-form-section + .launcher-section .launcher-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.register-form-section + .launcher-section .launcher-card:hover::after {
    left: 100%;
}

.register-form-section + .launcher-section .launcher-card:last-child {
    background: linear-gradient(135deg, 
        #ff6b35 0%, 
        #ff4500 50%, 
        #ff6b35 100%);
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.register-form-section + .launcher-section .launcher-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 212, 255, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
}

.register-form-section + .launcher-section .launcher-card:last-child:hover {
    box-shadow: 
        0 15px 35px rgba(255, 107, 53, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.5);
}

.register-form-section + .launcher-section .launcher-card:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

.register-form-section + .launcher-section .card-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.register-form-section + .launcher-section .launcher-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.register-form-section + .launcher-section .card-content {
    position: relative;
    z-index: 3;
    text-align: left;
    flex: 1;
    margin-left: 0.5rem;
}

.register-form-section + .launcher-section .card-content h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(255, 255, 255, 0.3);
    margin: 0 0 0.1rem 0;
    letter-spacing: 1px;
    line-height: 1;
}

.register-form-section + .launcher-section .card-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: 1;
}


/* ===== СТИЛИ ДЛЯ ОБНОВЛЕННОЙ ФОРМЫ РЕГИСТРАЦИИ ===== */
.register-form-section .form-container {
    max-width: 100%;
    margin: 0 auto;
}

.register-form-section .form-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.register-form-section .form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.register-form-section .form-header p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin: 0;
}

.register-form-section .form-fields {
    margin-bottom: 1.5rem;
}

.register-form-section .field-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.register-form-section .field-row:last-child {
    border-bottom: none;
}

.register-form-section .field-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    min-width: 150px;
    flex-shrink: 0;
}

.register-form-section .field-label span {
    line-height: 1.2;
}

.register-form-section .field-label i {
    color: #00d4ff;
    font-size: 1.1rem;
}

.register-form-section .field-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.register-form-section .field-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.register-form-section .field-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.register-form-section .field-input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.register-form-section .field-check-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    width: 150px; /* Фиксированная ширина */
    justify-content: center; /* Центрируем текст */
}

.register-form-section .field-check-btn:hover {
    background: linear-gradient(135deg, #0099cc, #0077b3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Состояния кнопки проверки имени */
.register-form-section .field-check-btn.status-available {
    /* Полностью копируем ВСЕ стили с базовой кнопки */
    padding: 0.75rem 1.5rem;
    background: #10b981; /* Только цвет меняем */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    width: 150px; /* Фиксированная ширина */
    justify-content: center; /* Центрируем текст */
}

.register-form-section .field-check-btn.status-available:hover {
    background: #0ea868; /* Темнее зеленый для hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.register-form-section .field-check-btn.status-taken {
    /* Полностью копируем ВСЕ стили с базовой кнопки */
    padding: 0.75rem 1.5rem;
    background: #ef4444; /* Только цвет меняем */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    width: 150px; /* Фиксированная ширина */
    justify-content: center; /* Центрируем текст */
}

.register-form-section .field-check-btn.status-taken:hover {
    background: #dc2626; /* Темнее красный для hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Состояние загрузки */
.register-form-section .field-check-btn:disabled {
    background: linear-gradient(135deg, #00d4ff, #0099cc) !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    cursor: not-allowed !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
    opacity: 0.8 !important;
}

.register-form-section .agreements-section {
    margin-bottom: 1.5rem;
}

.register-form-section .agreement-row {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.register-form-section .agreement-row:last-child {
    border-bottom: none;
}

.register-form-section .agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: #ffffff;
}

.register-form-section .agreement-checkbox input[type="checkbox"] {
    display: none;
}

.register-form-section .agreement-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.register-form-section .agreement-checkbox input[type="checkbox"]:checked + .agreement-checkmark {
    background: #00d4ff;
    border-color: #00d4ff;
}

.register-form-section .agreement-checkbox input[type="checkbox"]:checked + .agreement-checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.register-form-section .agreement-text {
    flex: 1;
    line-height: 1.4;
}

.register-form-section .agreement-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-form-section .agreement-link:hover {
    color: #0099cc;
    text-decoration: underline;
}

.register-form-section .recaptcha-section {
    margin-bottom: 1.5rem;
}

.register-form-section .recaptcha-row {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.register-form-section .recaptcha-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: #ffffff;
}

.register-form-section .recaptcha-checkbox input[type="checkbox"] {
    display: none;
}

.register-form-section .recaptcha-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.register-form-section .recaptcha-checkbox input[type="checkbox"]:checked + .recaptcha-checkmark {
    background: #00d4ff;
    border-color: #00d4ff;
}

.register-form-section .recaptcha-checkbox input[type="checkbox"]:checked + .recaptcha-checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.register-form-section .recaptcha-text {
    font-weight: 600;
}

.register-form-section .recaptcha-info {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 1rem 0 0 0;
    line-height: 1.4;
}

.register-form-section .submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f7931e, #ff8c00);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
}

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

.register-form-section .submit-button:hover::before {
    left: 100%;
}

.register-form-section .submit-button:hover {
    background: linear-gradient(135deg, #e6850e, #e67e00);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.4);
}

.register-form-section .submit-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
}

/* ===== СТИЛИ ДЛЯ FAQ СТРАНИЦЫ ===== */
.faq-content {
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

.faq-question {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-question i {
    color: #00d4ff;
    font-size: 1.1rem;
}

.faq-answer {
    color: #e5e7eb;
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ol,
.faq-answer ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer ol li {
    list-style-type: decimal;
}

.faq-answer ul li {
    list-style-type: disc;
}

/* ===== СТИЛИ ДЛЯ FAQ СТРАНИЦЫ С СЕРВЕРАМИ ===== */
.faq-server-card {
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.08) 0%, 
        rgba(0, 212, 255, 0.05) 50%, 
        rgba(0, 123, 255, 0.08) 100%);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 
        0 8px 20px rgba(0, 123, 255, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.faq-server-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 25px rgba(0, 123, 255, 0.25),
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

.faq-server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00d4ff, #007bff);
    border-radius: 15px 15px 0 0;
    animation: shimmer 3s ease-in-out infinite;
}

.faq-server-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.faq-server-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.faq-server-entry {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    backdrop-filter: blur(10px);
}

.faq-server-entry:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}

.faq-server-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.faq-server-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.faq-server-icon i {
    color: #ffffff;
    font-size: 1.5rem;
}

.faq-server-version {
    color: #00d4ff;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Фиолетовая иконка для второго сервера */
.faq-server-icon.purple-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Стили для текста поддержки */
.faq-server-card .support-section {
    margin-top: auto;
    padding-top: 4rem;
    text-align: center;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 4rem 0 0 0 !important;
}

.faq-server-card .support-section p {
    color: #e5e7eb;
    font-size: 0.9rem;
    margin: 0;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.faq-server-card .support-section .step-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-server-card .support-section .step-link:hover {
    color: #00aaff;
    text-decoration: underline;
}

/* ===== МОДАЛЬНОЕ ОКНО АВТОРИЗАЦИИ ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff4757;
}

.modal-body {
    padding: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #888;
}

.form-input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.btn-login-submit {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-login-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-radius: inherit;
    z-index: -1;
}

.btn-login-submit:hover {
    background: linear-gradient(135deg, #00a8ff 0%, #0077aa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-login-submit:hover::before {
    background: linear-gradient(135deg, #00a8ff 0%, #0077aa 100%);
}

.btn-login-submit:active {
    transform: translateY(0);
}

.modal-links {
    text-align: center;
}

.modal-link-text {
    color: #ffffff;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.modal-link {
    color: #ffa726;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-link:hover {
    color: #ff9800;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-server-entry {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .faq-server-icon {
        margin: 0;
    }
    
    .faq-server-name {
        font-size: 1.1rem;
    }
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ START - КНОПКИ ЛАУНЧЕРОВ ===== */
.start-page .download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 2rem auto;
}

.start-page .launcher-card {
    background: linear-gradient(135deg, 
        #00d4ff 0%, 
        #0099cc 50%, 
        #00d4ff 100%);
    color: white;
    border: 2px solid transparent;
    padding: 0 1.2rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    width: 280px;
    height: 80px;
    justify-content: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.start-page .launcher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #f7931e 0%, 
        #ffd700 25%, 
        #f7931e 50%, 
        #ffd700 75%, 
        #f7931e 100%);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: 1;
}

.start-page .launcher-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.start-page .launcher-card:hover::after {
    left: 100%;
}

.start-page .launcher-card:last-child {
    background: linear-gradient(135deg, 
        #ff6b35 0%, 
        #ff4500 50%, 
        #ff6b35 100%);
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.start-page .launcher-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 212, 255, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
}

.start-page .launcher-card:last-child:hover {
    box-shadow: 
        0 15px 35px rgba(255, 107, 53, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.5);
}

.start-page .launcher-card:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

.start-page .card-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.start-page .launcher-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.start-page .card-content {
    position: relative;
    z-index: 3;
    text-align: left;
    flex: 1;
    margin-left: 0.5rem;
}

.start-page .card-content h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(255, 255, 255, 0.3);
    margin: 0 0 0.1rem 0;
    letter-spacing: 1px;
    line-height: 1;
}

.start-page .card-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Адаптивность для кнопок лаунчеров на странице start */
@media (max-width: 768px) {
    .start-page .download-buttons {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .start-page .launcher-card {
        width: 100%;
        max-width: 280px;
        height: 70px;
        padding: 0 1rem;
    }
    
    .start-page .card-icon {
        font-size: 2rem;
        margin-right: 0.8rem;
    }
    
    .start-page .card-content {
        margin-left: 0.3rem;
    }
    
    .start-page .card-content h3 {
        font-size: 1.2rem;
    }
    
    .start-page .card-content p {
        font-size: 0.8rem;
    }
}

/* Адаптивность для обновленной формы регистрации */
@media (max-width: 768px) {
    .register-form-section .field-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1.5rem 0;
    }
    
    .register-form-section .field-label {
        min-width: auto;
        margin-bottom: 0.5rem;
    }
    
    .register-form-section .field-input-group {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .register-form-section .field-check-btn {
        width: 100%;
        justify-content: center;
    }
    
    .register-form-section .agreement-row {
        padding: 1.5rem 0;
    }
    
    .register-form-section .recaptcha-row {
        padding: 1.5rem 0;
    }
    
    .register-form-section .form-header h2 {
        font-size: 1.5rem;
    }
    
    .register-form-section .form-header p {
        font-size: 1rem;
    }
}

/* Адаптивность для секции лаунчера на странице регистрации */
@media (max-width: 768px) {
    .register-form-section + .launcher-section {
        padding: 1rem 0;
    }
    
    .register-form-section + .launcher-section .launcher-cards {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .register-form-section + .launcher-section .launcher-card {
        width: 100%;
        max-width: 280px;
        height: 70px;
        padding: 0 1rem;
    }
    
    .register-form-section + .launcher-section .section-header h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .register-form-section + .launcher-section .card-icon {
        font-size: 2rem;
        margin-right: 0.8rem;
    }
    
    .register-form-section + .launcher-section .card-content {
        margin-left: 0.3rem;
    }
    
    .register-form-section + .launcher-section .card-content h3 {
        font-size: 1.2rem;
    }
    
    .register-form-section + .launcher-section .card-content p {
        font-size: 0.8rem;
    }
    
}

.reset-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-reset-submit {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-reset-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff5252 0%, #ff7043 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-reset-submit:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff7043 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-reset-submit:hover::before {
    left: 0;
}

.btn-reset-submit:active {
    transform: translateY(0);
}

/* ????? ??? reCAPTCHA ? ????????? ???? */
.modal-body .g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

/* ??????? ??? ?????????? ???? ?????? ?????? */
#resetModal {
    z-index: 1001;
}

#resetModal .modal-container {
    animation: slideInFromTop 0.3s ease-out;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ??????????? ??? ?????????? ???? ?????? ?????? */
@media (max-width: 768px) {
    .reset-form {
        gap: 0.8rem;
    }
    
    .btn-reset-submit {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .modal-body .g-recaptcha {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .modal-body .g-recaptcha {
        transform: scale(0.8);
    }
}

/* Стили для личного кабинета */
.profile-info, .stats-info {
    margin-top: 15px;
}

.profile-info p, .stats-info p {
    margin: 8px 0;
    color: var(--text-color);
}

.status-online {
    color: #4CAF50;
    font-weight: bold;
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

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

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.quick-actions .btn {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}


.news-list {
    margin-top: 15px;
}

.news-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent-color);
}

.news-item h4 {
    color: var(--accent-color);
    margin: 0 0 5px 0;
    font-size: 0.9rem;
}

.news-item p {
    color: var(--text-color-secondary);
    margin: 5px 0;
    font-size: 0.8rem;
}

.news-item small {
    color: var(--text-color-secondary);
    font-size: 0.7rem;
}

.friends-list {
    margin-top: 15px;
}

.friend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.friend-item i.online {
    color: #4CAF50;
}

.friend-item i.offline {
    color: #757575;
}

.friend-item span {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Макет с сайдбаром */
.account-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Стили для Discord и Telegram виджетов в сайдбаре */
.account-sidebar .discord-widget,
.account-sidebar .telegram-widget {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.account-sidebar .discord-widget:hover,
.account-sidebar .telegram-widget:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.account-sidebar .discord-widget .widget-header,
.account-sidebar .telegram-widget .widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.account-sidebar .discord-widget .widget-title,
.account-sidebar .telegram-widget .widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.account-sidebar .discord-widget .widget-title {
    color: #7289da;
}

.account-sidebar .telegram-widget .widget-title {
    color: #0088cc;
}

.account-sidebar .discord-content,
.account-sidebar .telegram-content {
    text-align: center;
}

.account-sidebar .discord-content p,
.account-sidebar .telegram-content p {
    color: var(--text-color-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.account-sidebar .btn-discord {
    background: linear-gradient(135deg, #7289da 0%, #5b6eae 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.account-sidebar .btn-discord:hover {
    background: linear-gradient(135deg, #5b6eae 0%, #7289da 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 137, 218, 0.4);
}

.account-sidebar .btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.account-sidebar .btn-telegram:hover {
    background: linear-gradient(135deg, #006699 0%, #0088cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .account-container {
        padding: 15px;
    }
    
    .account-title {
        font-size: 2rem;
    }
    
    .account-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .account-sections {
        grid-template-columns: 1fr;
    }
    
    .account-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .account-sidebar {
        order: -1;
    }
}

/* Стили уведомлений вынесены в отдельный файл: assets/css/notifications.css */

/* Анимации и адаптивность для уведомлений вынесены в assets/css/notifications.css */

/* Скрываем кнопки авторизации по умолчанию, показываем только после загрузки JS */
.header-actions .btn-login,
.header-actions .btn-register {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Показываем кнопки после инициализации JS, но только если пользователь НЕ авторизован */
.header-actions.js-loaded:not(.user-logged-in) .btn-login,
.header-actions.js-loaded:not(.user-logged-in) .btn-register {
    display: inline-flex;
    opacity: 1;
}

/* Скрываем профиль по умолчанию */
.header-actions .btn-profile,
.header-actions .btn-logout {
    display: none;
}

/* Показываем профиль только после авторизации */
.header-actions.user-logged-in .btn-profile {
    display: inline-flex;
}

/* Скрываем кнопки входа и регистрации когда пользователь авторизован */
.header-actions.user-logged-in .btn-login,
.header-actions.user-logged-in .btn-register {
    display: none !important;
}

/* Скрываем кнопки профиля когда пользователь НЕ авторизован */
.header-actions:not(.user-logged-in) .btn-profile {
    display: none !important;
}

/* Стили профиля вынесены в отдельный файл: assets/css/profile.css */

