/* Если высота шапки 80px */
.legal-page,
.page-header,
.legal-content,
main .container {
    padding-top: 80px;
}



/* Contact Page Specific Styles */
.contact-page {
    background: linear-gradient(135deg, #8c27b8 0%, #d76cff 25%, #c532ff 50%, #a000ff 75%, #8c27b8 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.contact-hero {
    text-align: center;
}


/* Override contact page styling for better readability */
.contact-page .contact-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px;
    padding: 40px !important;
    margin: 20px !important;
    transition: transform 0.3s ease;
    color: #1f2937 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-page .contact-card h2 {
    color: #8c27b8 !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid rgba(140, 39, 184, 0.2) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-page .platform-link,
.contact-page .social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px !important;
    margin: 10px 0 !important;
    background: rgba(140, 39, 184, 0.08) !important;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff !important;
    transition: all 0.2s;
    border: 1px solid rgba(140, 39, 184, 0.2) !important;
}

.contact-page .platform-link:hover,
.contact-page .social-link:hover {
    background: rgba(140, 39, 184, 0.15) !important;
    transform: translateX(5px);
    border-color: rgba(140, 39, 184, 0.4) !important;
}

.contact-page .platform-icon,
.contact-page .social-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(140, 39, 184, 0.15) !important;
    border-radius: 10px;
    color: #8c27b8 !important;
}

.contact-page .platform-info h3,
.contact-page .social-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937 !important;
}

.contact-page .platform-info p,
.contact-page .social-info p {
    font-size: 0.9rem;
    color: #6b7280 !important;
    margin-bottom: 8px !important;
}

.contact-page .platform-desc,
.contact-page .contact-desc {
    color: #9ca3af !important;
    font-size: 0.8rem !important;
    margin-top: 5px !important;
}

/* Add proper grid and spacing for contact page */
.contact-page .contact-section {
    padding: 40px 0 80px !important;
}

.contact-page .contact-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 60px !important;
}

.contact-page .platform-links,
.contact-page .social-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.contact-page .business-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}

.contact-page .contact-method {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
}

.contact-page .contact-details h3 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #1f2937 !important;
}

.contact-page .contact-details p {
    font-size: 0.9rem !important;
    color: #6b7280 !important;
    margin-bottom: 8px !important;
}

.contact-page .schedule-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.contact-page .schedule-item h3 {
    color: #8c27b8 !important;
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
}

.contact-page .schedule-item p {
    margin-bottom: 8px !important;
    color: #374151 !important;
}

.contact-page .schedule-note {
    padding: 20px !important;
    background: rgba(140, 39, 184, 0.1) !important;
    border-radius: 8px !important;
    border-left: 4px solid #8c27b8 !important;
    margin-top: 15px !important;
}

.contact-page .schedule-note p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: #374151 !important;
}

.contact-page .contact-faq {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 16px;
    padding: 40px !important;
    margin: 20px !important;
    color: #1f2937 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-page .contact-faq h2 {
    color: #8c27b8 !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.contact-page .contact-faq .faq-item {
    background: rgba(140, 39, 184, 0.05) !important;
    padding: 25px !important;
    margin: 15px 0 !important;
    border-radius: 12px;
    border: 1px solid rgba(140, 39, 184, 0.1) !important;
}

.contact-page .contact-faq .faq-item h3 {
    color: #8c27b8 !important;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-page .contact-faq .faq-item p {
    color: #374151 !important;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Additional contact-specific animations */
.contact-card {
    animation: slideInUp 0.6s ease-out;
}

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

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

/* Platform-specific styling */
.platform-link.twitch:hover {
    background: rgba(145, 70, 255, 0.2);
}

.platform-link.kick:hover {
    background: rgba(83, 230, 94, 0.2);
}

.social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
}

.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.2);
}

.social-link.discord:hover {
    background: rgba(88, 101, 242, 0.2);
}

/* Enhanced hover effects */
.contact-method:hover .contact-icon {
    background: rgba(168, 85, 247, 0.4);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.schedule-info:hover .schedule-note {
    background: rgba(168, 85, 247, 0.15);
    transform: translateX(5px);
    transition: all 0.3s ease;
}