/* Глобальные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff88;
    --secondary-color: #00d4ff;
    --bg-dark: #0a0e17;
    --bg-card: #1a1f2e;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent: #ff4757;
}

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

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

/* Модальное окно о разработке */
.dev-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dev-modal.show {
    opacity: 1;
    visibility: visible;
}

.dev-modal.show .dev-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.dev-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.dev-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1f2e 0%, #2a2e3f 100%);
    border-radius: 24px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 255, 136, 0.2);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.dev-modal-content::-webkit-scrollbar {
    width: 8px;
}

.dev-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.dev-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.dev-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.dev-modal-close:hover {
    background: rgba(255, 68, 68, 0.3);
    transform: rotate(90deg);
}

.dev-modal-header {
    padding: 40px 40px 30px;
    text-align: center;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
    background: linear-gradient(135deg, rgba(255, 136, 0, 0.1) 0%, rgba(255, 68, 68, 0.1) 100%);
}

.dev-modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: rotate 3s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

.dev-modal-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary-color);
}

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

.dev-modal-body {
    padding: 30px 40px 40px;
}

.dev-section {
    margin-bottom: 30px;
}

.dev-section:last-child {
    margin-bottom: 0;
}

.dev-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dev-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dev-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #d1d5db;
    line-height: 1.6;
}

.dev-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

.dev-section ul li strong {
    color: #fff;
    font-weight: 600;
}

.dev-section-help {
    background: rgba(0, 212, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--secondary-color);
}

.dev-section-help ul li::before {
    content: "→";
    color: var(--secondary-color);
}

.dev-section-contact {
    background: rgba(0, 255, 136, 0.05);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.dev-section-contact p {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.6;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088ff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.telegram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.6);
}

.telegram-icon {
    font-size: 28px;
}

.telegram-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.telegram-label {
    font-size: 12px;
    opacity: 0.9;
}

.telegram-username {
    font-size: 18px;
    font-weight: 700;
}

.dev-section-cta {
    text-align: center;
    padding: 20px;
    background: rgba(255, 136, 0, 0.1);
    border-radius: 16px;
    border: 2px solid rgba(255, 136, 0, 0.3);
}

.dev-section-cta p {
    margin: 8px 0;
    color: #fff;
}

.dev-section-cta code {
    background: rgba(0, 255, 136, 0.2);
    padding: 6px 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Адаптив для модального окна */
@media (max-width: 768px) {
    .dev-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .dev-modal-header {
        padding: 30px 25px 20px;
    }
    
    .dev-modal-icon {
        font-size: 48px;
    }
    
    .dev-modal-title {
        font-size: 22px;
    }
    
    .dev-modal-body {
        padding: 25px 20px;
    }
    
    .dev-section h3 {
        font-size: 18px;
    }
    
    .dev-section ul li {
        font-size: 14px;
        padding-left: 20px;
    }
    
    .telegram-button {
        padding: 14px 24px;
    }
    
    .telegram-username {
        font-size: 16px;
    }
}

/* Фон */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 50%, #0a0e17 100%);
    animation: backgroundShift 20s ease infinite;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
}

/* Шапка */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
}

.logo span {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    text-align: center;
}

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

.glitch {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
    50% { text-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 255, 136, 0.6); }
}

.subtitle {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Server Info */
.server-info {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ip-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.label {
    font-size: 18px;
    color: var(--text-secondary);
}

.ip {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.copy-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.dot.online {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

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

.players {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Кнопки */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Секции */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 900;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Guide */
.guide {
    background: rgba(26, 31, 46, 0.5);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(0, 255, 136, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: var(--bg-dark);
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link:hover {
    color: var(--secondary-color);
}

/* Legend Section */
.legend {
    background: rgba(26, 31, 46, 0.5);
}

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

.legend-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.legend-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legend-highlight {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 25px;
    background: var(--bg-card);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    line-height: 1.7;
}

.legend-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.legend-item:hover {
    transform: translateX(10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.legend-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.legend-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.legend-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Challenges Section */
.challenges {
    background: var(--bg-dark);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.challenge-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.challenge-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.2);
}

.challenge-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    color: var(--bg-dark);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.challenge-badge.medium {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.challenge-badge.hard {
    background: linear-gradient(135deg, #ff4757, #ff6348);
}

.challenge-card h3 {
    font-size: 22px;
    margin: 15px 0;
    color: var(--text-primary);
}

.challenge-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.challenge-reward {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 12px;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
    text-align: center;
    padding: 120px 0;
}

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

.cta-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.cta-text {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-ip-box {
    background: var(--bg-card);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.cta-label {
    font-size: 20px;
    color: var(--text-secondary);
}

.cta-ip {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

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

/* Contacts */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.contact-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.ip-small {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
footer {
    background: rgba(10, 14, 23, 0.95);
    border-top: 2px solid rgba(0, 255, 136, 0.2);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.version {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-ip {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    color: var(--primary-color);
    margin: 15px 0;
    font-weight: 700;
}

.copy-btn-small {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.footer-telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 136, 255, 0.2));
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-telegram-link:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 136, 255, 0.3));
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.telegram-icon-small {
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 768px) {
    .glitch {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .ip {
        font-size: 24px;
    }
    
    nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Legend mobile */
    .legend-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .legend-intro {
        font-size: 18px;
    }
    
    .legend-highlight {
        font-size: 19px;
        padding: 20px;
    }
    
    .legend-icon {
        font-size: 36px;
    }
    
    .legend-item {
        padding: 20px;
    }
    
    .legend-item:hover {
        transform: none;
    }
    
    /* Challenges mobile */
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-card {
        padding: 25px;
    }
    
    /* CTA mobile */
    .cta-title {
        font-size: 32px;
    }
    
    .cta-text {
        font-size: 18px;
    }
    
    .cta-ip {
        font-size: 28px;
    }
    
    .cta-ip-box {
        padding: 25px 20px;
    }
    
    .cta-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Анимация загрузки */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.8s ease;
}

/* Active nav link */
nav a.active {
    color: var(--primary-color);
}

/* ============================================
   SHOP PAGE STYLES
   ============================================ */

/* Products Grid - Unified Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.product-card {
    background: #2a2e3a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(116, 118, 255, 0.5);
    box-shadow: 0 15px 50px rgba(116, 118, 255, 0.3);
}

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

.product-card.popular {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #2a2e3a, #323749);
    box-shadow: 0 8px 35px rgba(255, 215, 0, 0.25);
    position: relative;
}

.product-card.popular::before {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    opacity: 1;
    height: 4px;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    color: var(--bg-dark);
}

.product-badge.starter {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

.product-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    animation: pulse-glow 2s ease-in-out infinite;
}

.product-badge.vip {
    background: linear-gradient(135deg, #ff4757, #ff6348);
}

.product-badge.resource {
    background: linear-gradient(135deg, #00d4ff, #4a90e2);
}

.product-badge.extra {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

.product-icon {
    font-size: 96px;
    margin: 20px 0 25px;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.product-title {
    font-size: 24px;
    font-weight: 900;
    margin: 10px 0 8px;
    color: #ffffff;
    line-height: 1.3;
    text-align: center;
}

.product-desc {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 42px;
    text-align: center;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-grow: 1;
}

.product-features span {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
    padding-left: 5px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
}

.product-price {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.product-buy-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #7476ff, #5b5dff);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(116, 118, 255, 0.4);
}

.product-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 118, 255, 0.6);
    background: linear-gradient(135deg, #8587ff, #7476ff);
}

.product-buy-btn:active {
    transform: translateY(0);
}

/* Rules Styles */
.rules-section {
    margin-bottom: 60px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.1);
    transition: border-color 0.3s ease;
}

.rules-section:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.rules-heading {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.rules-note {
    background: rgba(0, 212, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-style: italic;
}

.rule-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.8;
    color: var(--text-primary);
}

.rule-item strong {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 8px;
}

.rule-item ul {
    margin-top: 15px;
    margin-left: 20px;
    list-style: none;
}

.rule-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.rule-item ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.punishment {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.2), rgba(255, 136, 0, 0.2));
    color: #ff8800;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px;
    border: 1px solid rgba(255, 136, 0, 0.3);
}

.note {
    margin-top: 15px;
    padding: 12px 18px;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.allowed-mods {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(0, 255, 136, 0.2);
}

.allowed-mods strong {
    color: var(--primary-color);
    font-size: 16px;
    display: block;
    margin-bottom: 12px;
}

.allowed-mods ul {
    margin-left: 20px;
}

.allowed-mods ul li {
    color: var(--text-primary);
}

.allowed-mods ul li::before {
    content: "✓";
    color: var(--primary-color);
}

/* Shop Hero */
.shop-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 212, 255, 0.05));
}

.shop-header {
    max-width: 900px;
    margin: 0 auto;
}

.shop-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.shop-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.shop-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
}

.info-icon {
    font-size: 24px;
}

/* Shop Section */
.shop-section {
    padding: 100px 0;
}

.shop-section.alt {
    background: rgba(26, 31, 46, 0.5);
}

/* Shop Grid - Privileges */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.shop-card {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.shop-card.popular {
    border-color: var(--secondary-color);
    border-width: 3px;
    transform: scale(1.05);
}

.shop-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.4);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    color: var(--bg-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-badge.starter {
    background: linear-gradient(135deg, #4a90e2, #00d4ff);
}

.card-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.card-badge.vip {
    background: linear-gradient(135deg, #ff4757, #ff6348);
}

.card-icon {
    font-size: 72px;
    margin: 20px 0;
}

.shop-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.card-price {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
}

.price {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    font-family: 'Roboto', sans-serif;
}

.period {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-features {
    text-align: left;
    margin: 25px 0;
    flex-grow: 1;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 18px;
}

.feature span:last-child {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.buy-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.5);
}

/* Resources Grid */
.shop-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.resource-card {
    background: var(--bg-card);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.resource-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.resource-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.resource-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.resource-list span {
    color: var(--text-secondary);
    font-size: 14px;
}

.price-tag {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary-color);
    margin: 20px 0;
}

.buy-btn-small {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.buy-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

/* Extras Grid */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.extra-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.extra-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.extra-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.extra-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.extra-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.extra-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 20px 0;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Shop Mobile Responsive */
@media (max-width: 768px) {
    .shop-title {
        font-size: 36px;
    }
    
    .shop-subtitle {
        font-size: 18px;
    }
    
    .shop-info {
        gap: 20px;
        flex-direction: column;
    }
    
    .info-item {
        font-size: 16px;
    }
    
    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .product-card.popular {
        border-width: 2px;
    }
    
    .product-icon {
        font-size: 72px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-desc {
        font-size: 13px;
        min-height: auto;
    }
    
    .product-price {
        font-size: 32px;
    }
    
    .product-buy-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 15px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (min-width: 1025px) and (max-width: 1399px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: #2a2e3a;
    border-radius: 24px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 68, 68, 0.3);
    transform: rotate(90deg);
}

.modal-header {
    padding: 40px 40px 30px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.modal-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.modal-body {
    padding: 30px 40px 40px;
}

.modal-description {
    font-size: 16px;
    color: #9ca3af;
    margin-bottom: 10px;
    text-align: center;
}

.modal-note {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
}

.modal-benefits {
    background: rgba(0, 255, 136, 0.05);
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 25px;
}

.modal-benefits h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-weight: 700;
}

.modal-benefits p {
    font-size: 15px;
    color: #d1d5db;
    margin: 0;
    line-height: 1.8;
    white-space: pre-line;
}

.modal-validity {
    background: rgba(0, 212, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 30px;
}

.modal-validity p {
    margin: 0;
    color: #9ca3af;
    font-size: 14px;
}

.modal-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.05);
}

.form-input::placeholder {
    color: #6b7280;
}

.modal-submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #ff8800, #ff6600);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 136, 0, 0.4);
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 136, 0, 0.6);
    background: linear-gradient(135deg, #ff9900, #ff7700);
}

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

.modal-footer-info {
    padding-top: 25px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-price-display {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.modal-price-display span {
    color: var(--primary-color);
    font-size: 32px;
}

/* Modal Mobile Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 30px 25px 20px;
    }

    .modal-icon {
        font-size: 48px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-benefits {
        padding: 20px;
    }

    .modal-benefits h3 {
        font-size: 15px;
    }

    .modal-benefits p {
        font-size: 14px;
    }

    .form-input {
        padding: 14px 18px;
        font-size: 15px;
    }

    .modal-submit-btn {
        padding: 16px 28px;
        font-size: 16px;
    }

    .modal-price-display {
        font-size: 20px;
    }

    .modal-price-display span {
        font-size: 28px;
    }
}


