/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #2a2a2a;
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.loader-content p {
    color: #9ca3af;
    font-size: 1rem;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
}

/* Quick Contact Links */
.quick-contact {
    position: fixed;
    right: 30px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.quick-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.quick-link.discord {
    background: #5865f2;
    color: white;
}

.quick-link.telegram {
    background: #0088cc;
    color: white;
}

.quick-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #2a2a2a;
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: #9ca3af;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

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

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-cookie.accept {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-cookie.decline {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #2a2a2a;
}

.btn-cookie:hover {
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter {
    background: rgba(26, 26, 26, 0.5);
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    padding: 60px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: #9ca3af;
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(26, 26, 26, 0.9);
}

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

/* Social Share Section */
.social-share {
    padding: 40px 0;
    background: transparent;
    text-align: center;
}

.social-share h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #2a2a2a;
    color: #9ca3af;
}

.social-icon.discord {
    background: rgba(88, 101, 242, 0.1);
}

.social-icon.twitter {
    background: rgba(29, 155, 240, 0.1);
}

.social-icon.instagram {
    background: rgba(225, 48, 108, 0.1);
}

.social-icon.linkedin {
    background: rgba(10, 102, 194, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: currentColor;
}

.social-icon.discord:hover {
    color: #5865f2;
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.social-icon.twitter:hover {
    color: #1DA1F2;
    box-shadow: 0 5px 20px rgba(29, 161, 242, 0.4);
}

.social-icon.instagram:hover {
    color: #E1306C;
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.4);
}

.social-icon.linkedin:hover {
    color: #0A66C2;
    box-shadow: 0 5px 20px rgba(10, 102, 194, 0.4);
}

/* Mobile Responsiveness for New Features */
@media (max-width: 768px) {
    .sticky-cta {
        left: 50%;
        transform: translateX(-50%);
        bottom: 80px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .sticky-cta.visible {
        transform: translateX(-50%);
    }

    .sticky-cta:hover {
        transform: translateX(-50%) translateY(-3px);
    }

    .quick-contact {
        right: 15px;
        bottom: 140px;
        gap: 10px;
    }

    .quick-link {
        width: 45px;
        height: 45px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .newsletter-text h2 {
        font-size: 1.75rem;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .newsletter-text h2 {
        font-size: 1.5rem;
    }

    .sticky-cta {
        bottom: 70px;
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }
}
