body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
    transition: 0.4s;
    overflow-x: hidden;
}

/* LIGHT MODE */
body.light {
    background: #f1f5f9;
    color: #0f172a;
}

/* animated background */
.bg {
    position: fixed;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #38bdf8 2px, transparent 3px);
    background-size: 60px 60px;
    animation: move 20s linear infinite;
    opacity: 0.12;
    z-index: 0;
}

@keyframes move {
    from { transform: translate(0,0); }
    to { transform: translate(-150px,-150px); }
}

/* HEADER */
header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #38bdf8;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    text-shadow: 0 0 10px #38bdf8;
}

/* THEME BUTTON */
.theme-btn {
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;

    background: #38bdf8;
    color: black;
    font-weight: bold;

    transition: 0.3s;
    box-shadow: 0 0 10px rgba(56,189,248,0.5);
}

.theme-btn:hover {
    transform: scale(1.08);
    background: white;
}

/* LIGHT MODE BUTTON FIX */
body.light .theme-btn {
    background: #0f172a;
    color: white;
}

/* NAV MENU */
.menu {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.menu a {
    display: inline-block;
    margin: 8px;
    padding: 10px 16px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(56,189,248,0.3);

    color: inherit;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.menu a:hover {
    transform: scale(1.1);
    background: #38bdf8;
    color: black;
}

/* Learn button */
.menu .learn {
    background: linear-gradient(45deg, #22c55e, #38bdf8);
    color: black;
    font-weight: bold;
}

/* Resume button */
.menu .resume {
    background: linear-gradient(45deg, #f97316, #facc15);
    color: black;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}

.menu .resume:hover {
    background: white;
    transform: scale(1.1);
}

/* HERO */
.hero {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 80px;
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 40px;
}

.hero span {
    color: #38bdf8;
}

.hero p {
    color: #94a3b8;
    margin-top: 10px;
}

.tagline {
    margin-top: 10px;
    color: #cbd5e1;
}

/* FOOTER */
footer {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}