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

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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #000000;
    --bg-card: #ffffff;
    --text-primary: #000000;
    --text-secondary: #4a4a4a;
    --text-light: #8a8a8a;
    --border-color: #e0e0e0;
    --accent: #000000;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Header */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header img {
    border-radius: 14px;
    width: 56px;
    height: 56px;
    object-fit: cover;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.header img:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: var(--shadow-md);
    border-color: var(--bg-dark);
}

.header nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.header nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    position: relative;
    padding: 0.625rem 0;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.header nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--bg-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.header nav a:hover {
    color: var(--bg-dark);
}

.header nav a:hover::before {
    width: 100%;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 5% 6rem;
}

/* Specs Section */
.specs {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 3.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.specs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.specs:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--bg-dark);
    transform: translateY(-4px);
}

.specs h2 {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.specs h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--bg-dark);
    border-radius: 2px;
}

.specs ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.specs li {
    font-size: 1.05rem;
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-radius: 14px;
    border-left: 4px solid var(--bg-dark);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.specs li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--bg-dark);
    background: var(--bg-dark);
    color: #ffffff;
}

.specs li strong {
    font-weight: 700;
    color: var(--text-primary);
    min-width: 220px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.specs li span,
.specs li {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.specs li:hover strong,
.specs li:hover {
    color: #ffffff;
}

/* Twitch Button in Header */
.header nav .twitch-btn {
    background: #9146ff;
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.header nav .twitch-btn::before {
    display: none;
}

.header nav .twitch-btn:hover {
    background: #772ce8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(145, 70, 255, 0.3);
    border-color: #9146ff;
}

.header nav .twitch-btn i {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 5rem 5% 2.5rem;
    margin-top: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer .social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.footer .social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
}

.footer .social-icons a:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.footer .social-icons a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-dark);
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-dark) var(--bg-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 1.25rem;
    }

    .header img {
        width: 48px;
        height: 48px;
    }

    .header nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header nav a {
        font-size: 0.75rem;
    }

    main {
        padding: 3rem 5% 4rem;
    }

    .specs {
        padding: 2.5rem 2rem;
    }

    .specs h2 {
        font-size: 2rem;
        padding-bottom: 1.5rem;
    }

    .specs li {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.5rem;
    }

    .specs li strong {
        min-width: auto;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .footer {
        padding: 4rem 5% 2rem;
    }

    .footer .social-icons {
        gap: 1rem;
    }

    .footer .social-icons a {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .header nav .twitch-btn {
        padding: 0.5rem 1rem;
    }
    
    .header nav .twitch-btn i {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specs {
    animation: fadeInUp 0.8s ease-out;
}

.specs:nth-child(2) {
    animation-delay: 0.1s;
}
