:root {
    --bg: #050505;
    --accent: #00e5ff;
    --text: #ffffff;
    --text-dim: #9ca3af;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Prompt', 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-img {
    height: 35px;
    width: auto;
}

.logo-separator {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 4px;
}

.team-logo {
    height: 25px;
}

.nav-logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); font-weight: 700; }

/* Global Container */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 20px 80px;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.section-title span { color: var(--accent); }

/* Common Card Style */
.card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: clamp(25px, 5vw, 40px);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
}

/* Home Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #0a0a1c 0%, #050505 100%);
    padding: 120px 20px;
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 5vw, 50px);
    margin-bottom: 40px;
    width: 100%;
}

.hero-logo {
    max-width: clamp(220px, 40vw, 380px);
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.15));
}

.hero-separator {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    opacity: 0.4;
    flex-shrink: 0;
}

.hero-team-logo {
    height: clamp(60px, 12vw, 110px);
    width: auto;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.1));
}

.hero-slogan {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
    max-width: 800px;
}

.hero-sub-slogan {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-dim);
    margin-bottom: 45px;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    padding: 14px 45px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
}

/* Portal Section */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.ip-box {
    text-align: center;
}

.ip-text {
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 700;
    margin: 20px 0;
    font-family: monospace;
    word-break: break-all;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #fff;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-copy:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.spec-item {
    text-align: center;
    padding: 40px 20px;
}

.spec-item div, .spec-item i {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Lore Section */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -46px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid var(--bg);
    box-shadow: 0 0 10px var(--accent);
}

.timeline-year {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 100px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-logo { font-size: 1.8rem; font-weight: 700; margin-bottom: 25px; letter-spacing: 3px; }
.footer-logo span { color: var(--accent); }
.social-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.social-links a { font-size: 1.2rem; opacity: 0.7; }
.social-links a:hover { opacity: 1; color: var(--accent); transform: translateY(-3px); }
.copyright { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 1px; }

/* Animation Classes */
.fade-in { opacity: 0; transform: translateY(20px); }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 20px;
    }
    
    .nav-logo { font-size: 1.2rem; gap: 8px; }
    .nav-img { height: 28px; }
    .team-logo { height: 20px; }
    
    .nav-links {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 15px 10px;
        justify-content: center;
        gap: 15px;
        border-top: 1px solid var(--border);
    }
    
    .nav-link { font-size: 0.8rem; letter-spacing: 1px; }
    
    .container { padding-top: 100px; }
    
    .hero-logos {
        flex-direction: column;
        gap: 25px;
    }
    
    .hero-separator {
        width: 100px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--accent), transparent);
    }
    
    .hero-logo { max-width: 260px; }
    .hero-team-logo { height: 65px; }
    
    .portal-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    
    .timeline { padding-left: 30px; }
    .timeline-item::after { left: -36px; }
}

@media (max-width: 480px) {
    .specs-grid { grid-template-columns: 1fr; }
    .hero-slogan { font-size: 1.4rem; }
    .hero-sub-slogan { font-size: 0.85rem; }
}
