:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --bg-dark: #000000;
    --text-light: #ffffff;
    --border-color: #333333;
    --border-dark: #222222;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1rem;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.skill-card h3 {
    margin-bottom: 0;
}

p {
    font-size: 1.125rem;
    color: #aaa;
    max-width: 600px;
}

.tech {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #000;
    background: #fff;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #888;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.hero .description {
    margin-bottom: 3rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.discord-card {
    background-color: #232428;
    border-radius: 16px;
    width: 340px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 15px 15px 0px 0px #ffffff;
    overflow: hidden;
    color: #dbdee1;
    font-family: 'Inter', sans-serif;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.discord-card:hover {
    transform: translate(-10px, -10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 25px 25px 0px 0px #ffffff;
}

.discord-banner {
    background-color: #111;
    height: 120px;
    background-image: linear-gradient(45deg, #000 25%, #1a1a1a 25%, #1a1a1a 50%, #000 50%, #000 75%, #1a1a1a 75%, #1a1a1a 100%);
    background-size: 20px 20px;
}

.discord-avatar-wrapper {
    position: relative;
    width: 92px;
    height: 92px;
    margin-top: -46px;
    margin-left: 22px;
    border-radius: 50%;
    background-color: #232428;
    padding: 6px;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #1a1a1a;
}

.discord-status {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background-color: #23a559;
    border: 4px solid #232428;
    border-radius: 50%;
}

.discord-card-body {
    padding: 16px 22px 22px;
}

.discord-header-text {
    margin-bottom: 12px;
}

.discord-username {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f2f3f5;
    margin: 0;
}

.discord-pronouns {
    font-size: 0.875rem;
    color: #b5bac1;
    margin: 2px 0 0 0;
}

.discord-divider {
    height: 1px;
    background-color: #313338;
    margin: 12px 0;
}

.discord-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #f2f3f5;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.discord-bio {
    font-size: 0.875rem;
    line-height: 1.3;
    color: #dbdee1;
    margin-bottom: 16px;
}

.discord-activity {
    display: flex;
    gap: 12px;
    align-items: center;
}

.activity-icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: #1e1f22;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    font-family: var(--font-mono);
}

.activity-details strong {
    font-size: 0.875rem;
    color: #f2f3f5;
    display: block;
}

.activity-details p {
    font-size: 0.875rem;
    color: #b5bac1;
    margin: 0;
    line-height: 1.3;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.btn-primary {
    background-color: #fff;
    color: #000;
}

.btn-primary:hover {
    background-color: #000;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

.section {
    padding: 8rem 5%;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-dark .tech {
    background: #fff;
    color: #000;
}

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

.skill-card {
    padding: 2rem;
    border: 1px solid var(--border-dark);
    background: #0a0a0a;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #fff;
}

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

.project-card {
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-info {
    padding: 3rem;
    background: #0a0a0a;
    transition: background 0.3s ease;
}

.project-card:hover {
    box-shadow: 15px 15px 0px 0px #fff;
    transform: translate(-5px, -5px);
}

.project-card:hover .project-info {
    background: #111;
}

.tag {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border: 1px solid #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.footer {
    padding: 8rem 5% 4rem;
    text-align: center;
    background-color: #000;
    color: #fff;
    border-top: 1px solid var(--border-dark);
}

.footer h2 {
    margin-bottom: 1rem;
}

.footer p {
    color: #888;
    margin: 0 auto 3rem;
}

.footer .btn-primary {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.footer .btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.socials {
    margin-top: 4rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.socials a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.socials a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.socials a:hover::after {
    width: 100%;
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #555;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s forwards ease-out;
}

.fade-in {
    opacity: 0;
    animation: fadeInAnim 1s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInAnim {
    to {
        opacity: 1;
    }
}

.fade-up-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
    }
    .hero-image {
        margin-top: 3rem;
        justify-content: center;
        width: 100%;
    }
    .discord-card {
        margin: 0 auto;
    }
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }
    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .nav-links {
        display: none;
    }
}
