/* style.css */
:root {
    --primary-dark: #433878;
    --primary: #7E60BF;
    --accent: #E4B1F0;
    --light: #FFE1FF;
    --text: #ffffff;
    --text-secondary: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a234e 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.minecraft-font {
    font-family: 'Press Start 2P', cursive;
}

/* Шапка */
header {
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    color: var(--accent);
    font-size: 2.5rem;
    filter: drop-shadow(0 0 5px var(--accent));
}

.logo h1 {
    font-size: 2rem;
    background: linear-gradient(to right, var(--accent), var(--light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(228, 177, 240, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Основной контент */
.hero {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary);
}

/* IP-адрес и онлайн */
.server-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: rgba(67, 56, 120, 0.7);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 1.5rem 2.5rem;
    min-width: 280px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.ip-address {
    font-size: 1.5rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    border: 2px dashed var(--light);
    display: inline-block;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.ip-address:hover {
    background: rgba(126, 96, 191, 0.3);
    border-color: var(--accent);
}

.copy-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: var(--accent);
}

.player-count {
    font-size: 3rem;
    font-weight: bold;
    color: var(--light);
    margin: 1rem 0;
    text-shadow: 0 0 15px rgba(228, 177, 240, 0.7);
}

.player-bar {
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-top: 1rem;
    overflow: hidden;
}

.player-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 65%;
    border-radius: 10px;
    transition: width 0.5s ease, background 0.5s ease;
}

/* Донат-привилегии */
.donate-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--light);
    display: inline-block;
    padding-bottom: 10px;
}

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

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

.privilege-card {
    background: rgba(67, 56, 120, 0.6);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.privilege-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(126, 96, 191, 0.3);
}

.privilege-header {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    padding: 1.5rem;
    text-align: center;
}

.privilege-name {
    font-size: 1.8rem;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.privilege-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--accent);
}

.privilege-body {
    padding: 1.5rem;
}

.privilege-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.privilege-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.privilege-features li:before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    margin-right: 10px;
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-btn:hover {
    background: linear-gradient(90deg, var(--accent), var(--light));
    transform: scale(1.05);
}

/* Футер */
footer {
    background: rgba(0, 0, 0, 0.8);
    margin-top: 5rem;
    padding: 3rem 2rem;
    border-top: 3px solid var(--primary);
}

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

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .info-card {
        min-width: 100%;
    }
    
    .privileges-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимации */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(228, 177, 240, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(228, 177, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(228, 177, 240, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateX(150%);
    transition: transform 0.5s ease;
    z-index: 1001;
}

.notification.show {
    transform: translateX(0);
}
/* ============================================ */
/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ОНЛАЙН-СТАТУСА     */
/* ============================================ */

.server-status {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.status-indicator.online {
    background-color: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
    animation: pulse-online 2s infinite;
}

.status-indicator.offline {
    background-color: #e74c3c;
    box-shadow: 0 0 10px #e74c3c;
    animation: pulse-offline 2s infinite;
}

@keyframes pulse-online {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

@keyframes pulse-offline {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* Стили для уведомлений о копировании */
#notification {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-left: 4px solid var(--light);
}

/* ============================================ */
/* ДОПОЛНИТЕЛЬНЫЕ АНИМАЦИИ                     */
/* ============================================ */

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

.hero h2, .hero p, .info-card, .privilege-card {
    animation: fadeIn 0.8s ease-out forwards;
}

.info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.privilege-card:nth-child(1) { animation-delay: 0.1s; }
.privilege-card:nth-child(2) { animation-delay: 0.2s; }
.privilege-card:nth-child(3) { animation-delay: 0.3s; }

/* ============================================ */
/* ДОПОЛНИТЕЛЬНАЯ АДАПТИВНОСТЬ                 */
/* ============================================ */

@media (max-width: 480px) {
    .server-status {
        flex-direction: column;
        gap: 5px;
    }
    
    .ip-address {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
    
    .player-count {
        font-size: 2.5rem;
    }
}