/* ============================================
   GENOSYS EXCHANGE INSPIRED DARK MODE THEME
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;

    /* Background Animations */
    #network-background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
        opacity: 0.5;
    }

    /* Globe Container */
    #globe-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }

    /* Enhanced Animated Background with Stronger Glow */
    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background:
            radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
        animation: pulseGlow 10s ease-in-out infinite;
        pointer-events: none;
    }

    /* Animated Grid Pattern Overlay */
    body::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image:
            linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
        background-size: 50px 50px;
        pointer-events: none;
        opacity: 0.3;
    }

    @keyframes pulseGlow {

        0%,
        100% {
            opacity: 0.6;
            transform: scale(1);
        }

        50% {
            opacity: 1;
            transform: scale(1.05);
        }
    }

    /* Container */
    .container {
        max-width: 1200px;
        width: 100%;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        position: relative;
        z-index: 1;
    }

    /* Header Menu */
    /* Header Menu */
    .header-menu {
        position: absolute;
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        z-index: 10;
        animation: fadeInDown 1s ease-out;
        padding: 1rem 2rem;
        background: rgba(15, 15, 20, 0.8);
        border: 1px solid rgba(59, 130, 246, 0.4);
        border-radius: 50px;
        backdrop-filter: blur(20px);
        box-shadow:
            0 0 20px rgba(59, 130, 246, 0.2),
            inset 0 0 20px rgba(59, 130, 246, 0.05);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .header-menu:hover {
        background: rgba(59, 130, 246, 0.15);
        border-color: #3b82f6;
        box-shadow:
            0 0 40px rgba(59, 130, 246, 0.5),
            0 0 80px rgba(59, 130, 246, 0.2),
            0 10px 30px rgba(0, 0, 0, 0.3),
            inset 0 0 30px rgba(59, 130, 246, 0.1);
    }

    .header-link {
        color: #94a3b8;
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .separator {
        color: #3b82f6;
        font-size: 1rem;
        font-weight: 500;
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }

    .header-link:hover {
        color: #3b82f6;
        text-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    }

    z-index: 1;
}

/* Globe Container - make it fill the parent */
.content-right {
    position: fixed;
    top: 45%;
    /* Slightly above center for visual balance */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    mix-blend-mode: screen;
    animation: globeSubtlePulse 8s ease-in-out infinite;
}

@keyframes globeSubtlePulse {

    0%,
    100% {
        opacity: 0.45;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

#globe-container {
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Main Content Layout */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15vh;
    padding: 0 2rem;
    position: relative;
    min-height: 40vh;
}

.content-left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through if needed, but logo might need clicks */
}

/* Re-enable pointer events for logo specifically if needed, but logo is just image */
.logo {
    pointer-events: auto;
}

/* Hide globe on mobile and small screens */
@media screen and (max-width: 768px) {
    .content-right {
        display: none !important;
    }
}

/* Fix header menu wrap on very small screens */
@media screen and (max-width: 480px) {
    .header-menu {
        padding: 0.8rem 1.2rem;
        gap: 0.5rem;
    }

    .header-link,
    .separator {
        font-size: 0.85rem;
    }
}

/* Logo specific adjustments */
.logo-section {
    text-align: center;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tagline {
    color: #94a3b8;
    opacity: 1;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: none;
    margin: 0;
    margin-top: 0.5rem;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    animation: fadeInUp 1.2s ease-out 0.3s both;
    position: relative;
    z-index: 20;
    background: none;
    -webkit-text-fill-color: initial;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }
}

.logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Footer */
.footer {
    width: 100%;
    margin-top: auto;
    padding: 3rem 0 2rem;
    animation: fadeInUp 1.2s ease-out 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Links with Neon Glow Effect */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.2),
        inset 0 0 20px rgba(59, 130, 246, 0.05);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.social-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover::after {
    left: 100%;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 0 40px rgba(59, 130, 246, 0.6),
        0 0 80px rgba(59, 130, 246, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.social-link:hover svg {
    transform: scale(1.15) rotate(5deg);
}

/* Contact Section with Premium Styling */
.contact-section {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 50px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.2),
        inset 0 0 20px rgba(59, 130, 246, 0.05);
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    transition: left 0.6s ease;
}

.contact-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover::after {
    opacity: 1;
}

.contact-link:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    transform: translateX(8px) scale(1.02);
    box-shadow:
        0 0 40px rgba(59, 130, 246, 0.5),
        0 0 80px rgba(59, 130, 246, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(59, 130, 246, 0.1);
}

.contact-link svg {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: scale(1.1);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.copyright p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: 280px;
    }

    .tagline {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-link {
        font-size: 0.9rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .logo {
        max-width: 220px;
    }

    .tagline {
        font-size: 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    .contact-title {
        font-size: 1.3rem;
    }

    .contact-info {
        width: 100%;
    }

    .contact-link {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
        width: 100%;
        max-width: 300px;
    }
}