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

body {
    font-family: 'Georgia', serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1a0d2e 0%, #0a0a0a 70%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="swirl" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,5 Q45,25 25,45 Q5,25 25,5" fill="none" stroke="rgba(139,69,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23swirl)"/></svg>') repeat;
    animation: drift 60s linear infinite;
}

@keyframes drift {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

/* Header */
header {
    position: relative;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, rgba(139,69,255,0.1) 0%, transparent 100%);
}

.logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: radial-gradient(circle, #8b45ff 0%, #4a1a5c 50%, #1a0d2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(139,69,255,0.3);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 40px rgba(139,69,255,0.3); }
    50% { box-shadow: 0 0 60px rgba(139,69,255,0.5); }
}

.logo::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;
    animation: spin 8s linear infinite;
}

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

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(139,69,255,0.8);
    z-index: 1;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #8b45ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.tagline {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

/* Navigation */
nav {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.nav-card {
    background: linear-gradient(135deg, rgba(139,69,255,0.1), rgba(26,13,46,0.3));
    border: 1px solid rgba(139,69,255,0.2);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139,69,255,0.1), transparent);
    transition: left 0.5s ease;
}

.nav-card:hover::before {
    left: 100%;
}

.nav-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139,69,255,0.5);
    box-shadow: 0 10px 30px rgba(139,69,255,0.2);
}

.nav-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #8b45ff;
}

.nav-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* World Overview */
.world-overview {
    background: linear-gradient(135deg, rgba(26,13,46,0.3), rgba(139,69,255,0.05));
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(139,69,255,0.2);
}

.world-overview h2 {
    color: #8b45ff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.world-overview p {
    margin-bottom: 1rem;
    color: #c0c0c0;
    font-size: 1.05rem;
}

/* Social Links */
.social-section {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(139,69,255,0.2);
    margin-top: 3rem;
}

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

.social-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(139,69,255,0.1);
    border: 1px solid rgba(139,69,255,0.3);
    border-radius: 25px;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: rgba(139,69,255,0.2);
    border-color: rgba(139,69,255,0.6);
    transform: translateY(-2px);
}

.footer {
    font-size: 0.8rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 20px auto;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    header {
        padding: 2rem 1rem;
    }
    
    nav {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}