@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% 4rem;
}

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

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

.about h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    position: relative;
}

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

.about p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.about .buttons {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.about .buttons a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-dark);
    color: #ffffff;
    padding: 1.25rem 2.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--bg-dark);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.about .buttons a i {
    font-size: 1.1rem;
}

.about .buttons 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.1);
    border-radius: 50%;
    transition: var(--transition);
}

.about .buttons a:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.about .buttons a:hover {
    background: transparent;
    color: var(--bg-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 5rem 4rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

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

.contact h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    position: relative;
}

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

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3.5rem;
    margin-top: 2.5rem;
    font-weight: 400;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--bg-dark);
    background: var(--bg-card);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    font-size: 2rem;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.contact-card.twitch .contact-icon {
    background: #9146ff;
}

.contact-card.instagram .contact-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-card.twitter .contact-icon {
    background: #000000;
}

.contact-card.email .contact-icon {
    background: var(--bg-dark);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--bg-dark);
    font-weight: 600;
    transition: var(--transition);
}

.contact-card:hover .contact-link {
    transform: translateX(4px);
}

.contact-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.contact-card:hover .contact-link i {
    transform: translateX(4px);
}

/* 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% 3rem;
    }

    .about,
    .contact {
        padding: 3rem 2rem;
    }

    .about h2,
    .contact h2 {
        font-size: 2.5rem;
    }

    .about p {
        font-size: 1rem;
    }

    .about .buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .about .buttons a {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .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);
    }
}

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

.contact {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
