* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --accent: #ff8a4d;
    --accent-secondary: #8f5cff;
}

body {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background: #050608;
    min-height: 100vh;
    padding: 10vh 20px;
    color: #d6d9e1;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    background: #0f1117;
    border-radius: 6px;
    padding: 60px;
    border: 1px solid #1f232f;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    position: relative;
    overflow: hidden;
    z-index: 1;
    max-height: 80vh;
    overflow-y: scroll;
    border-radius: 50px;
    scrollbar-width: none;
}
.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(120deg, var(--accent), var(--accent-secondary));
    animation: shimmer 3s ease-in-out infinite alternate;
}
@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Header */
.header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
h1 {
    font-size: 3em;
    margin-bottom: 8px;
    color: #f4f6fb;
    letter-spacing: 0.02em;
}
.tagline {
    font-size: 1.2em;
    color: #8a90a4;
    margin-bottom: 12px;
}
.contact-links {
    margin-top: 12px;
}
.contact-links a {
    color: #6fb1ff;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
}
.contact-links a:hover {
    color: #9ec8ff;
}

/* Accent bar */
.accent-bar {
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    margin: 0 0 36px;
    opacity: 0.7;
}

/* Sections */
.section {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 1.4em;
    margin-bottom: 18px;
    color: #a5b0c8;
    border-bottom: 1px solid #1f232f;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}
h2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 90px;
    height: 2px;
    background: linear-gradient(120deg, var(--accent), var(--accent-secondary));
}

/* Experience / Education entries */
h3 {
    color: #f4f6fb;
    font-size: 1.3em;
    margin-top: 28px;
    margin-bottom: 4px;
}
.section > h3:first-of-type {
    margin-top: 0;
}
p.role {
    color: #6fb1ff;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 4px;
}
p.dates {
    color: #8a90a4;
    font-size: 0.9em;
    margin-bottom: 10px;
}
p.subdesc {
    color: #8a90a4;
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 10px;
}

/* Italic paragraphs (dates / sub-desc inline from marked) */
.section p em {
    display: block;
    color: #8a90a4;
    font-size: 0.9em;
    margin-bottom: 3px;
}

/* Summary highlight */
p.highlight {
    background: #12141d;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #1f232f;
    color: #dce0eb;
    line-height: 1.7;
}

/* Lists */
ul,
ol {
    margin-left: 18px;
    line-height: 1.7;
    margin-top: 12px;
}
li {
    margin-bottom: 8px;
    color: #c7cbd8;
}

/* Skills */
p.skill-label {
    color: var(--accent);
    font-size: 1em;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 10px;
}
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.skill {
    background: #1b1f2b;
    color: #d6d9e1;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9em;
    border: 1px solid #2b3143;
    transition:
        border-color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}
.skill:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 138, 77, 0.15);
}

@media (max-width: 768px) {
    .container {
        padding: 30px 25px;
    }
    h1 {
        font-size: 2.3em;
    }
}
