/* === Rules Page Styles === */

.rules-page {
    padding: 60px 0 120px;
}

.rules-notice {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(251, 146, 60, 0.1));
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    margin-bottom: 50px;
    backdrop-filter: blur(10px);
}

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

.notice-content h3 {
    font-size: 24px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.notice-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.rules-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rule-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.rule-category:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--glass-border);
}

.category-icon {
    font-size: 56px;
    filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.3));
}

.category-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-light);
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.rule-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(5px);
}

.rule-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.rule-content {
    flex: 1;
}

.rule-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.rule-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.rule-punishment {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
}

.rules-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.footer-card {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
}

.footer-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
}

.footer-card-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.3));
}

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

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

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-shine {
    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.5s ease;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

/* === Contacts Page Styles === */

.contacts-page {
    padding: 60px 0 120px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-card.featured {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
    border: 2px solid var(--primary);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.discord-color {
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
}

.telegram-color {
    background: rgba(0, 136, 204, 0.2);
    color: #0088cc;
}

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

.contact-card-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.contact-card-content > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.contact-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-features .feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.discord-btn {
    background: #5865f2;
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
}

.telegram-btn {
    background: #0088cc;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.telegram-btn:hover {
    background: #006ba3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
}

.contact-methods h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 30px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.method-card {
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
}

.method-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.method-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 15px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-light);
}

.method-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.method-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 10px;
}

.method-note {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 600;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card-contact {
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.sidebar-card-contact.highlight {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
    border: 2px solid var(--primary);
}

.sidebar-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.3));
}

.sidebar-card-contact h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.response-times {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

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

.time-value {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 14px;
}

.faq-quick {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-quick-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.faq-quick-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

.faq-quick-item a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.faq-quick-item a:hover {
    text-decoration: underline;
}

.server-ip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    border-radius: 12px;
}

.server-ip-box code {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-light);
}

.copy-btn-small {
    background: var(--primary);
    border: none;
    padding: 8px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.copy-btn-small:hover {
    background: var(--primary-light);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.5);
}

.notification-new {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.5);
    transition: bottom 0.4s ease;
    z-index: 10000;
}

.notification-new.show {
    bottom: 40px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }

    .rules-footer {
        grid-template-columns: 1fr;
    }

    .contact-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rule-category {
        padding: 25px;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
    }

    .category-header h2 {
        font-size: 24px;
    }

    .rule-item {
        flex-direction: column;
        text-align: center;
    }

    .rule-number {
        margin: 0 auto;
    }

    .contact-card {
        padding: 25px;
    }

    .contact-card-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .rules-notice {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .contact-methods h2 {
        font-size: 24px;
    }

    .footer-card {
        padding: 25px;
    }
}
