* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        background-color: #0f172a;
        color: #f1f5f9;
        line-height: 1.6;
    }

    header {
        background: #1e293b;
        padding: 1.5rem 10%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    header h1 {
        color: #38bdf8;
    }

    nav a {
        color: #f1f5f9;
        text-decoration: none;
        margin-left: 2rem;
        transition: 0.3s;
    }

    nav a:hover {
        color: #38bdf8;
    }

    p a {
        color: color-mix(in srgb, #f1f5f9, #38bdf8);
        text-decoration: none;
        transition: 0.3s;
    }

    p a:hover {
        color: #38bdf8;
    }

    code {
        font-family: monospace, 'Courier New', Courier;
    }

    .hero {
        height: 40vh;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        padding: 0 10%;
    }

    .hero h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero span {
        color: #38bdf8;
    }

    .hero p {
        max-width: 600px;
        margin-bottom: 2rem;
        color: #cbd5e1;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        background: #38bdf8;
        border: none;
        border-radius: 5px;
        color: #0f172a;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        text-decoration: none;
    }

    .game-btn {
        text-align: center;
        padding: 0.8rem 1.5rem;
        background: #38bdf8;
        border: none;
        border-radius: 5px;
        color: #0f172a;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        text-decoration: none;
    }

    .game-btn * {
        margin: auto;
    }

    .btn:hover {
        background: #0ea5e9;
    }

    section {
        padding: 2rem 10%;
        background: #273449;
        margin: 20px;
        border-radius: 40px;
    }

    h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .about p {
        max-width: 700px;
        margin: auto;
        text-align: center;
        color: #cbd5e1;
    }

    img.game-thumb {
        height: 200px;
    }

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

    .card {
        background: #1e293b;
        padding: 2rem;
        border-radius: 10px;
        transition: 0.3s;
    }

    .card:hover {
        transform: translateY(-5px);
        background: #273449;
    }

    .card h4 {
        margin-bottom: 1rem;
        color: #38bdf8;
    }

    .contact {
        text-align: center;
    }

    .contact a {
        color: #38bdf8;
        text-decoration: none;
    }

    footer {
        text-align: center;
        padding: 1.5rem;
        background: #1e293b;
        margin-top: 3rem;
        font-size: 0.9rem;
        color: #94a3b8;
    }

    @media (max-width: 768px) {
        .hero h2 {
            font-size: 2rem;
        }

        header {
            flex-direction: column;
        }

        nav {
            margin-top: 1rem;
        }

        nav a {
            margin-left: 1rem;
        }
    }