@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
}

/* Left Side - Branding */
.left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.left-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Digital Rain Effect */
.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.rain-column {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: rain-fall linear infinite;
}

.rain-column.pos-0 { left: 0%; }
.rain-column.pos-5 { left: 5%; }
.rain-column.pos-10 { left: 10%; }
.rain-column.pos-15 { left: 15%; }
.rain-column.pos-20 { left: 20%; }
.rain-column.pos-25 { left: 25%; }
.rain-column.pos-30 { left: 30%; }
.rain-column.pos-35 { left: 35%; }
.rain-column.pos-40 { left: 40%; }
.rain-column.pos-45 { left: 45%; }
.rain-column.pos-50 { left: 50%; }
.rain-column.pos-55 { left: 55%; }
.rain-column.pos-60 { left: 60%; }
.rain-column.pos-65 { left: 65%; }
.rain-column.pos-70 { left: 70%; }
.rain-column.pos-75 { left: 75%; }
.rain-column.pos-80 { left: 80%; }
.rain-column.pos-85 { left: 85%; }
.rain-column.pos-90 { left: 90%; }
.rain-column.pos-95 { left: 95%; }

.rain-column.duration-2 { animation-duration: 2s; }
.rain-column.duration-3 { animation-duration: 3s; }
.rain-column.duration-4 { animation-duration: 4s; }
.rain-column.duration-5 { animation-duration: 5s; }
.rain-column.duration-6 { animation-duration: 6s; }

.rain-drop {
    color: rgba(59, 130, 246, 0.7);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.rain-drop.accent-cyan {
    color: rgba(0, 247, 255, 0.7);
    text-shadow: 0 0 8px rgba(0, 247, 255, 0.6);
}

.rain-drop.accent-purple {
    color: rgba(167, 139, 250, 0.7);
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
}

.rain-drop.size-8 { font-size: 8px; }
.rain-drop.size-10 { font-size: 10px; }
.rain-drop.size-12 { font-size: 12px; }
.rain-drop.size-14 { font-size: 14px; }
.rain-drop.size-16 { font-size: 16px; }

.rain-drop.blur-05 { filter: blur(0.5px); }
.rain-drop.blur-1 { filter: blur(1px); }
.rain-drop.blur-2 { filter: blur(2px); }

.rain-drop.opacity-3 { opacity: 0.3; }
.rain-drop.opacity-4 { opacity: 0.4; }
.rain-drop.opacity-5 { opacity: 0.5; }
.rain-drop.opacity-6 { opacity: 0.6; }
.rain-drop.opacity-7 { opacity: 0.7; }
.rain-drop.opacity-8 { opacity: 0.8; }
.rain-drop.opacity-9 { opacity: 0.9; }
.rain-drop.opacity-10 { opacity: 1.0; }

@keyframes rain-fall {
    0% {
        opacity: 1;
        transform: translateY(-10vh) translateX(0);
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(5px);
    }
}

/* Click animation for links */
.link-clicked {
    transform: scale(0.95);
    transition: transform 0.15s ease;
}

.brand-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo img {
    width: 140px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 12px 40px rgba(59, 130, 246, 0.4));
}

.company-name {
    font-size: 3.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.1rem;
    color: #a1a1aa;
    font-weight: 300;
    line-height: 1.5;
    max-width: 350px;
    margin: 0 auto;
}

/* Right Side - Links */
.right-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
}

.right-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.links-section {
    z-index: 2;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3rem;
    text-align: center;
}

.links-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.link-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.link-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.link-item:hover .link-icon {
    background: rgba(59, 130, 246, 0.25);
    transform: rotate(5deg) scale(1.1);
}

.link-icon img {
    width: 32px;
}

.link-text {
    text-align: left;
}

.link-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.link-description {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: 400;
}

.link-arrow {
    font-size: 1.5rem;
    color: #666;
    transition: all 0.4s ease;
}

.link-item:hover .link-arrow {
    color: #3b82f6;
    transform: translateX(8px) scale(1.2);
}

.partnership-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.partnership-highlight:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.12));
    border-color: rgba(59, 130, 246, 0.6);
}

.social-section {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-title {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-link img.twitter {
    width: 16px;
}

.social-link img.discord {
    width: 16px;
}

.social-link img.youtube {
    width: 24px;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    border-color: rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    transform: translateY(-4px) rotate(5deg);
}

.footer {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    font-size: 0.85rem;
    color: #555;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .left-side {
        padding: 3rem 2rem;
        min-height: 50vh;
    }
    
    .company-name {
        font-size: 2.5rem;
    }
    
    .right-side {
        padding: 3rem 2rem;
    }
    
    .footer {
        position: static;
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 640px) {
    .left-side, .right-side {
        padding: 2rem 1.5rem;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .logo img {
        width: 100px;
    }
    
    .link-item {
        padding: 1.5rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }
}