* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;600;700&display=swap');

body {
    font-family: 'Bitter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Snowflakes */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #ffffff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        top: -10px;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateX(0px) rotate(180deg);
    }
    75% {
        transform: translateX(-20px) rotate(270deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
    position: relative;
    z-index: 2;
}

/* Header */
header {
    background-color: #111111;
    border-bottom: 1px solid #222222;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0.1;
}

.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.profile-pic:hover {
    opacity: 1;
}

h1 {
    color: #ffffff;
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.subtitle {
    color: #888888;
    font-size: 1.2em;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bio {
    color: #aaaaaa;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Skills Section */
.skills-section {
    margin-bottom: 100px;
}

.skills-section h2 {
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 40px;
    justify-items: center;
}

.skill-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover {
    background-color: #1f1f1f;
    border-color: #ffffff;
    transform: translateY(-5px);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: filter 0.3s ease;
    position: relative;
    z-index: 1;
}

.skill-card:hover .skill-logo {
    filter: brightness(1.3);
}

.skill-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1em;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.skill-experience {
    font-size: 0.85em;
    color: #888888;
    margin-top: 8px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Socials Section */
.socials-section {
    background-color: #111111;
    padding: 60px 50px;
    border: 1px solid #222222;
    border-radius: 12px;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.socials-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.socials-section h2 {
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.socials-section h3 {
    color: #ffffff;
    font-size: 1.5em;
    margin-top: 50px;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.socials-container {
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
    font-size: 28px;
}

.social-link:hover {
    background-color: #1f1f1f;
    border-color: #ffffff;
    transform: translateY(-5px);
    color: #ffffff;
}

.social-link i {
    transition: filter 0.3s ease;
}

.social-link:hover i {
    filter: brightness(1.3);
}

.discord-servers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.discord-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.discord-card:hover {
    background-color: #1f1f1f;
    border-color: #ffffff;
    transform: translateY(-5px);
}

.discord-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.discord-info {
    flex-grow: 1;
}

.discord-name {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1em;
}

.discord-members {
    color: #888888;
    font-size: 0.9em;
    font-weight: 300;
}

.discord-link {
    color: #888888;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.discord-link:hover {
    color: #ffffff;
}

/* About Section */
.about-section {
    background-color: #111111;
    padding: 60px 50px;
    border: 1px solid #222222;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.about-section h2 {
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.about-section p {
    color: #aaaaaa;
    line-height: 1.8;
    font-size: 1.05em;
    margin-bottom: 25px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    text-align: center;
    color: #666666;
    margin-top: 100px;
    padding: 40px 20px;
    font-size: 0.9em;
    border-top: 1px solid #222222;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    header {
        padding: 50px 20px;
        margin-bottom: 60px;
    }

    h1 {
        font-size: 2.5em;
    }

    .skills-section h2 {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .skill-card {
        padding: 25px 15px;
    }

    .skill-logo {
        width: 60px;
        height: 60px;
    }

    .socials-section {
        padding: 40px 25px;
        margin-bottom: 60px;
    }

    .socials-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .socials-section h3 {
        font-size: 1.3em;
        margin-top: 40px;
    }

    .social-links {
        gap: 25px;
    }

    .social-link {
        width: 60px;
        height: 60px;
    }

    .social-link img {
        width: 35px;
        height: 35px;
    }

    .discord-servers {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-section {
        padding: 40px 25px;
    }

    .about-section h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .about-section p {
        font-size: 1em;
        margin-bottom: 15px;
    }

    footer {
        margin-top: 60px;
        padding: 30px 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 0.95em;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .skill-card {
        padding: 20px 10px;
    }

    .skills-section h2,
    .about-section h2 {
        font-size: 1.5em;
    }
}
