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

html {
    background: linear-gradient(-45deg, #000000, #0a0a0a, #111111, #1a1a1a, #0f0f0f, #1f1f1f, #121212, #161616, #0d0d0d, #181818, #1c1c1c, #131313);
    background-size: 600% 600%;
    animation: gradientShift 20s ease infinite;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

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

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

.container {
    animation-delay: 0.1s;
}

.hero {
    animation-delay: 0.2s;
}

.card:nth-child(1) {
    animation-delay: 0.4s;
}

.card:nth-child(2) {
    animation-delay: 0.5s;
}

.card:nth-child(3) {
    animation-delay: 0.6s;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.name {
    font-size: clamp(0.5rem, 8vw, 4rem);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-top: 1rem;
}

.github-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #6e5494;
    background: rgba(110, 84, 148, 0.1);
    transform: translateY(-2px);
}

.github-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tagline {
    font-size: 1.2rem;
    color: #888;
    font-weight: 300;
    margin-bottom: 2rem;
}

.content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: fit-content;
    min-height: auto;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.card h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card p {
    color: #bbb;
    font-weight: 300;
    line-height: 1.6;
    text-align: justify;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-btn.twitter:hover {
    border-color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

.social-btn.instagram:hover {
    border-color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.social-btn.discord:hover {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .container {
        max-width: 100%;
    }

    .hero {
        margin-bottom: 2rem;
    }

    .name {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
        letter-spacing: -1px;
        margin-bottom: 1rem;
    }

    .github-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .github-icon {
        width: 18px;
        height: 18px;
    }

    .content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h2 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .card p {
        font-size: 0.95rem;
        text-align: left;
    }

    .social-buttons {
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .social-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.75rem;
        padding-top: 1.5rem;
    }

    .name {
        font-size: clamp(1.2rem, 12vw, 2rem);
        margin-bottom: 0.75rem;
    }

    .github-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.75rem;
    }

    .content {
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .card {
        padding: 1.25rem;
        border-radius: 10px;
    }

    .card h2 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .social-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .social-icon,
    .github-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    body {
        align-items: center;
        padding: 1rem;
    }

    .hero {
        margin-bottom: 1.5rem;
    }

    .content {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .card h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .card p {
        font-size: 0.85rem;
    }

    .social-buttons {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .social-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (pointer: coarse) {

    .github-btn,
    .social-btn {
        min-height: 44px;
    }

    .card:hover {
        transform: none;
    }

    .github-btn:hover,
    .social-btn:hover {
        transform: none;
    }
}