@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

a.cleanw {
    color: #b0c0e0;
    font-family: Arial;
}

a.cleanw:hover {
    color: #a0b0d0 !important;
}

.audiowide {
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: inherit;
}

body {
    margin: 0;
    padding: 0;
    background: #222222;
    color: #b0c0e0;
    font-family: 'Inter', system-ui, sans-serif;
}

.breadcrumb {
    margin: 0 auto;
    max-width: 56.25rem;
    padding: 1.25rem 3.13rem 1.25rem 6.25rem;
}

.btn {
    background: #5d719240;
    backdrop-filter: blur(0.75rem);
    border: 1px solid #ffffff40;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.94rem #0000004d;
    color: #ffffff !important;
    display: inline-block;
    font: bold 0.875rem Arial, sans-serif;
    padding: 0.69rem 1.75rem;
    text-decoration: none;
}

.btn:hover {
    background: #00c4ff73;
    border-color: #ffffff66;
    box-shadow: 0 0.5rem 1.25rem #00000066;
}

.clear {
    clear: both;
}

.container {
    margin: 0 auto;
    min-height: 20rem;
    max-width: 56.25rem;
    padding: 1.25rem 1.25rem 5rem;
    text-align: center;
}

.content {
    float: left;
    max-width: 50rem;
    padding: 2rem 1.5rem;
    text-align: left;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.content p {
    margin-top: 0.4rem;
    margin-bottom: 1.25rem;
}

.crt-scanlines {
    overflow: hidden;
    position: relative;
}

.crt-scanlines::before {
    animation: scan-once 5s linear forwards;
    background: repeating-linear-gradient(
        transparent 0px,
        transparent 3px,
        #00ffff1c 3px,
        #00ffff1c 6px
    );
    content: '';
    height: 200%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

.footer {
    color: #b0c0e0;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    text-align: center;
}

.footer a {
    color: #b0c0e0 !important;
    font-weight: normal;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.footer a:hover {
    color: #a0b0d0 !important;
}

.h1 {
    color: #f7b03b;
    font-family: Arial;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.31rem;
    text-align: left;
}

.h2 {
    color: #f7b03b;
    font-family: Arial;
    font-size: 1.25rem;
    font-weight: bold;
    padding-bottom: 0.63rem;
    padding-top: 0.94rem;
    text-align: left;
}

.header {
    background: #0a0f1c;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.header-img {
    box-shadow: 0 0.63rem 1.88rem #00000099;
    display: block;
    height: 22.5rem;
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.left {
    float: left;
    font-family: Arial;
    font-size: 0.88rem;
    font-style: italic;
    padding-left: 0.94rem;
    padding-top: 0.94rem;
    text-align: left;
}

.logo {
    background: linear-gradient(90deg, #00c4ff 0%, #00b8ff 25%, #f7b03b 75%, #f7b03b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03rem;
    white-space: nowrap;
}

.nav {
    background: #222222;
    border-bottom: 1px solid #00c4ff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 0.94rem;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.88rem 1.63rem;
    justify-content: flex-end;
}

.nav-links a {
    color: #b0c0e0;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links a.active {
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    background: #f7b03b;
    border-radius: 0.19rem;
    bottom: -0.38rem;
    content: '';
    height: 0.19rem;
    left: 0;
    position: absolute;
    width: 100%;
}

.nav-links a:hover {
    color: #00c4ff;
}

.photo {
    width: 75%;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quote {
    color: #b0c0e0;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 auto 2.81rem;
    max-width: 45rem;
}

.space20 {
    padding-bottom: 1.25rem;
}

table.cv {
    border: 1px solid #00c4ff;
    border-collapse: collapse;
}

table.cvass {
    border: 1px solid #00c4ff;
    border-collapse: collapse;
    border-spacing: 0;
    width: 40rem;
}

td.cv {
    border: 1px solid #00c4ff;
    font-size: 0.88rem;
    padding: 0.19rem;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

td.cvdark {
    background: #1e282e;
    border: 1px solid #00c4ff;
    font-size: 0.88rem;
    padding: 0.19rem;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

td.cvlight {
    border: 1px solid #00c4ff;
    font-size: 0.88rem;
    padding: 0.19rem;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

td.cvdarkleft {
    background: #1e282e;
    border: 1px solid #00c4ff;
    font-size: 0.88rem;
    padding: 0.19rem;
    text-align: left;
    vertical-align: top;
    width: 10.63rem;
}

td.cv_wrap {
    border: 1px solid #00c4ff;
    font-size: 0.88rem;
    padding: 0.19rem;
    text-align: left;
    vertical-align: top;
}

.title {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.11rem;
    margin: 2.19rem 0 1.56rem;
    white-space: nowrap;
}

.title .blue {
    color: #00c4ff;
}

.title .yellow {
    color: #f7b03b;
}

.ui-widget-content {
    background: none !important;
    border: none !important;
}

@keyframes scan-once {
    0%   { transform: translateY(-50%); opacity: 1; }
    100% { transform: translateY(0%); opacity: 0; }
}

/* ====================== MOBILE RESPONSIVENESS ====================== */

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        justify-content: center;
    }

    .header-img {
        height: 16rem;
    }

    .container,
    .content {
        float: none;
        max-width: 100%;
        padding: 1.25rem 1rem;
    }

    .title {
        font-size: 2.2rem;
        letter-spacing: -0.06rem;
        white-space: normal;
    }

    .quote {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    /* Tables become horizontally scrollable */
    table.cv,
    table.cvass {
        display: block;
        overflow-x: auto;
        width: 100%;
    }

    td.cv,
    td.cvdark,
    td.cvlight,
    td.cvdarkleft,
    td.cv_wrap {
        white-space: normal;
        min-width: 8rem;
    }
}

@media (max-width: 550px) {
    .title {
        font-size: 2.2rem;
        letter-spacing: -0.06rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }

    .footer {
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.95rem;
    }

    .nav {
        font-size: 0.91rem;
    }

    .quote {
        font-size: 1rem;
    }

    .title {
        font-size: 1.6rem;
        letter-spacing: -0.06rem;
    }

}

@keyframes scan-once {
    0%   { transform: translateY(-50%); opacity: 1; }
    100% { transform: translateY(0%); opacity: 0; }
}