﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

:root {
    /* Base */
    --bg: #0E1014; /* obsidian */
    --bg2: #12151B; /* slightly lifted */
    --surface: rgba(255,255,255,0.03);
    --surface2: rgba(255,255,255,0.05);
    /* Borders & dividers */
    --border: rgba(255,255,255,0.10);
    --border2: rgba(255,255,255,0.14);
    --divider: rgba(255,255,255,0.10);
    /* Text */
    --text: rgba(255,255,255,0.90);
    --muted: rgba(255,255,255,0.72);
    --subtle: rgba(255,255,255,0.56);
    /* Accents (Wuwa-like) */
    --gold: #D3B06A;
    --goldSoft: rgba(211,176,106,0.18);
    --goldBorder: rgba(211,176,106,0.35);
    --aqua: #86B7FF; /* cool counter-accent */
    --aquaSoft: rgba(134,183,255,0.14);
    /* Shadows */
    --shadow: 0 18px 60px rgba(0,0,0,0.55);
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}





.project {
    display: grid;
    margin: 0 auto;
    align-content: center; /* centers the grid content vertically */
}



.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.12);
}

    /* Optional readability gradient (like many game UIs) */
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 45%, rgba(0,0,0,.70));
        pointer-events: none;
    }



.nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.35);
    color: white;
    font-size: 26px;
    display: grid;
    place-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.thumb-strip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120px;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 10px;

    width: min(900px, calc(100vw - 32px));
}


.thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
    /* 👇 IMPORTANT: do NOT use flex: 1 here */
    flex: 0 1 auto;
}

    .thumbs::-webkit-scrollbar {
        display: none;
    }
/* chrome */

.thumb {
    flex: 0 1 auto;
    width: 200px;
    height: 85px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.20);
    background-size: cover;
    background-position: center;
    background-color: rgba(0,0,0,.25);
}

    .thumb.active {
        outline: 2px solid rgba(255,255,255,.75);
        outline-offset: 2px;
    }

/* Bottom overlay */
.project-description {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 35px 22px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.18);
    color: white;
    /* 🔥 THIS is the key */
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
}

.project-description-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
}

.project-description-description {
    font-weight: 500;
    opacity: 0.85;
    max-width: none; /* let grid control width */
}

@media (max-width: 700px) {
    .project-description {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}



/* ===== THEME ===== */
.home {
    background: var(--bg);
    min-height: 100vh;
    color: var(--text);
}


/* ===== HERO ===== */
/* full-screen section with internal scroll */
.hero-home {
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 84px; /* space for your top bar */
        padding-bottom: 28px;
        background: radial-gradient(1200px 700px at 18% 0%, rgba(211,176,106,0.10), rgba(0,0,0,0) 60%), radial-gradient(900px 600px at 78% 18%, rgba(134,183,255,0.10), rgba(0,0,0,0) 55%), linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(255,255,255,0.00));
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;

    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 26px;
    align-items: start;
}

/* HERO layout */
.heroRow {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 26px;
    align-items: start;
}
/* section spacing */
.sectionBlock {
    display: grid;
    gap: 14px;
}

/* subtle dividers give “chapters” */
.sectionDivider {
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.00), rgba(255,255,255,0.12), rgba(255,255,255,0.00));
    margin: 6px 0;
}
/* THE structure: fixed content width + consistent side padding */
.pageShell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px 40px 30px;
    display: grid;
    gap: 26px;
}
.kicker {
    color: rgba(211,176,106,0.92);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
}

.hero-title {
    margin: 10px 0 10px 0;
    font-size: 52px;
    letter-spacing: 0.02em;
    line-height: 1.05;
    color: rgba(255,255,255,0.94);
    text-shadow: 0 4px 18px rgba(0,0,0,0.55);
}

.hero-lead {
    margin: 0;
    max-width: 58ch;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

.hero-cta {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
}

    .btn.primary {
        background: var(--goldSoft);
        border-color: var(--goldBorder);
        color: rgba(255,255,255,0.92);
    }

        .btn.primary:hover {
            background: rgba(211,176,106,0.24);
        }

    .btn.ghost {
        background: rgba(255,255,255,0.03);
        color: rgba(255,255,255,0.86);
    }

        .btn.ghost:hover {
            background: rgba(0,0,0,0.28);
        }

.hero-meta {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.hero-card {
    border-radius: 18px;
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}
.card-title {
    color: var(--text);
}

.hero-card-top {
    padding: 16px 16px 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-card-title {
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.92);
}

.hero-card-sub {
    margin-top: 6px;
    font-size: 13px;
    color: var(--subtle);
}

.hero-card-body {
    padding: 14px 16px;
    display: grid;
    gap: 12px;
}

.stat-label {
    font-size: 12px;
    color: var(--subtle);
}

.stat-value {
    margin-top: 4px;
    font-weight: 700;
    color: var(--text);
}

.hero-card-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.miniLink {
    color: rgba(211,176,106,0.92);
    text-decoration: none;
    font-weight: 700;
}

    .miniLink:hover {
        text-decoration: underline;
    }

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 46px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(42,40,43,1));
}

/* ===== SECTIONS ===== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 30px 10px 30px;
}

.section-header {
    display: grid;
    gap: 10px;
    padding-bottom: 14px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(211,176,106,0.92);
}

.section-rule {
    height: 2px;
    background: linear-gradient(to right, rgba(211,176,106,0.55), rgba(255,255,255,0.12));
}

/* ===== CARDS ===== */
/* grids: make them visually even */
.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* equalize service cards a bit */
.card {
    height: 100%;
    display: grid;
    align-content: start;
    gap: 8px;
}
.cards .card {
    border-radius: 16px;
    background: rgba(0,0,0,0.16);
}
.section-sub {
    margin-top: -6px;
    color: var(--subtle);
    font-size: 13px;
}

.card-title {
    font-weight: 800;
    color: rgba(255,255,255,0.92);
}

.card-text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.72);
}

.tagRow {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.16);
    color: rgba(255,255,255,0.74);
}

/* ===== WORK ===== */
.workWrap {
    margin-top: 8px;
}

/* --- Carousel (peek + no drift) --- */
.imgViewport {
    height: 60vh;
    position: relative;
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    --peek: 10%;
    --gap: 18px;
    --slideW: calc(100% - var(--peek));
    --step: calc(var(--slideW) + var(--gap));
}

.imgTrack {
    height: 100%;
    display: flex;
    gap: var(--gap);
    transition: transform 450ms ease;
    will-change: transform;
    /* reserve peek-space so the next slide is visible */
    padding-right: var(--peek);
    box-sizing: border-box;
}

.imgSlide {
    flex: 0 0 var(--slideW);
    height: 100%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    outline: none;
    background-color: transparent;
}

    .imgSlide:focus-visible {
        box-shadow: 0 0 0 3px rgba(211,176,106,0.55);
    }

.imgOverlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.70), rgba(0,0,0,0));
}

.imgTitle {
    color: #d3b06a;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.imgSubtitle {
    margin-top: 6px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

/* Nav buttons */
.navBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.35);
    color: rgba(255,255,255,0.9);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    z-index: 5;
}

    .navBtn:hover {
        background: rgba(0,0,0,0.55);
    }

    .navBtn.prev {
        left: 14px;
    }

    .navBtn.next {
        right: 14px;
    }

/* Dots */
.dots {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    cursor: pointer;
}

    .dot.active {
        background: #d3b06a;
        border-color: rgba(211,176,106,0.9);
    }

.hero-bottom {
    margin-left: 2px;
    margin-top: 16px;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #f0eadc;
    text-shadow: 0 4px 18px rgba(0,0,0,0.75), 0 0 30px rgba(0,0,0,0.6);
}

/* ===== WHY ===== */

/* why grid is lighter + tighter */
.whyGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.whyCard {
    border-radius: 18px;
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px;
}

.whyTitle {
    font-weight: 800;
    color: var(--text);
}

.whyText {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

/* ===== ABOUT + CTA ===== */
.aboutCta {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
    align-items: stretch;
}

.about, .cta {
    border-radius: 18px;
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px;
}

.aboutTitle, .ctaTitle {
    font-weight: 900;
    color: var(--text);
    letter-spacing: 0.02em;
}

.aboutText, .ctaText {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.ctaButtons {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== MODAL ===== */
.modalBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modalPanel--wide {
    width: 100%;
    height: 100%;
}

.modalClose {
    position: sticky;
    top: 0;
    margin-left: auto;
    margin-bottom: 30px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.35);
    color: rgba(255,255,255,0.9);
    font-size: 26px;
    cursor: pointer;
    z-index: 1;
}

/* ===== RESPONSIVE ===== */
/* responsive: keep structure */
@media (max-width: 1100px) {
    .heroRow {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .whyGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .whyGrid {
        grid-template-columns: 1fr;
    }
}




/* ===== PAGE ===== */
.contactPage {
    min-height: 100vh;
    max-height: 100vh;
    background: #2A282B;
    display: flex;
    align-items: center;
}

.contactWrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 90px 30px 30px 30px; /* space for top nav */
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
}

/* ===== LEFT ===== */
.kicker {
    color: rgba(211,176,106,0.92);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
}

.contactTitle {
    margin: 12px 0 12px 0;
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: #f0eadc;
}

.contactLead {
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.78);
}

.contactFacts {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.factLabel {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.factValue {
    margin-top: 4px;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
}

.factLink {
    margin-top: 4px;
    display: inline-block;
    font-weight: 700;
    color: rgba(211,176,106,0.95);
    text-decoration: none;
}

    .factLink:hover {
        text-decoration: underline;
    }

/* ===== RIGHT CARD ===== */
.contactCard {
    border-radius: 18px;
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 22px;
    display: flex;
    align-items: center;
}

.contactForm {
    width: 100%;
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 6px;
}

label {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
}

input, textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.28);
    padding: 12px 14px;
    color: rgba(255,255,255,0.92);
    font-size: 14px;
    outline: none;
}

    input:focus, textarea:focus {
        border-color: rgba(211,176,106,0.65);
        box-shadow: 0 0 0 3px rgba(211,176,106,0.15);
    }

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== ACTIONS ===== */
.formActions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.formNote {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

/* ===== BUTTON ===== */
.btn {
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.14);
    cursor: pointer;
}

    .btn.primary {
        background: rgba(211,176,106,0.18);
        border-color: rgba(211,176,106,0.35);
        color: #f0eadc;
    }

        .btn.primary:hover {
            background: rgba(211,176,106,0.26);
        }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .contactWrap {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }

    .contactTitle {
        font-size: 40px;
    }
}







.app-shell {
    min-height: 100vh;
    width: 100%;
    background: #0b0d10;
    display:flex;
}


.topbar {
    position: absolute;
    display: flex;
    left: 1px;
    right: 1px;
    z-index: 10;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100% );
    backdrop-filter: blur(12px);
    mask-image: linear-gradient( to bottom, black 0%, black 60%, transparent 100% );
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.topbar-inner {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto; /* brand | centered nav | profile */
    align-items: center;
    padding: 10px 18px; /* optional */
    box-sizing: border-box;
}

.brand {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: white;
    white-space: nowrap;
}

/* This makes the center nav truly centered regardless of left/right width */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    padding: 8px 10px;
    border-radius: 10px;
}

    .nav-link:hover {
        color: #fff;
        background: rgba(255,255,255,0.08);
    }

    /* Blazor adds .active to NavLink when it matches */
    .nav-link.active {
        color: #fff;
        background: rgba(255,255,255,0.14);
    }

.nav-right {
    margin-left: auto; /* pushes this container to the far right */
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 40px; /* helps keep center stable */
    justify-content: flex-end;
}

.content {
    flex: 1;
    
    
}





/*REGISTER*/
/* Shared look with Login */
.auth-page {
    min-height: 100vh;
    background: #0b0d10;
    position: relative;
    overflow: hidden;
}

.auth-bg {
    position: absolute;
    inset: -20%;
    background: radial-gradient(closest-side at 20% 20%, rgba(211,176,106,0.18), transparent 60%), radial-gradient(closest-side at 80% 30%, rgba(120,170,255,0.14), transparent 60%), radial-gradient(closest-side at 50% 90%, rgba(255,255,255,0.06), transparent 60%);
    filter: blur(6px);
    opacity: 0.9;
    pointer-events: none;
}

.auth-shell {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 18px;
}

.auth-card {
    width: min(520px, 96vw);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(15,18,22,0.78);
    box-shadow: 0 30px 120px rgba(0,0,0,0.65);
    backdrop-filter: blur(12px);
    padding: 22px 22px 18px;
}

.auth-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(0,0,0,0.9);
    background: linear-gradient(135deg, rgba(211,176,106,1), rgba(255,255,255,0.75));
    box-shadow: 0 10px 30px rgba(211,176,106,0.18);
}

.brand-name {
    color: rgba(255,255,255,0.90);
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 14px;
}

.brand-sub {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    margin-top: 2px;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .grid2 {
        grid-template-columns: 1fr;
    }
}

.field {
    margin-top: 14px;
}

label {
    display: block;
    color: rgba(255,255,255,0.70);
    font-size: 13px;
    margin-bottom: 8px;
}

.input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.86);
    padding: 12px 12px;
    outline: none;
    box-sizing: border-box;
}

    .input:focus {
        border-color: rgba(211,176,106,0.65);
        box-shadow: 0 0 0 3px rgba(211,176,106,0.18);
    }

.password-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.ghost-btn {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.80);
    padding: 10px 12px;
    cursor: pointer;
}

    .ghost-btn:hover {
        background: rgba(255,255,255,0.10);
    }

.row {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.check {
    position: relative; /* ✅ anchor the absolute native input */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: rgba(255,255,255,0.70);
    font-size: 13px;
    line-height: 1.2;
}

/* ✅ hide native checkbox but keep it focusable/accessibility-friendly */
.checkNative {
    position: absolute;
    inset: 0 auto auto 0; /* top-left of label */
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
}

/* visible custom box */
.checkCustom {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.25);
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    box-shadow: 0 0 0 3px rgba(0,0,0,0);
}

    .checkCustom::after {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 2px;
        background: rgba(211,176,106,0.95);
        transform: scale(0);
        transition: transform 140ms ease;
    }

.checkNative:checked + .checkCustom::after {
    transform: scale(1);
}

.checkNative:focus-visible + .checkCustom {
    border-color: rgba(211,176,106,0.65);
    box-shadow: 0 0 0 3px rgba(211,176,106,0.18);
}

.checkText {
    transform: translateY(1px);
}


.link {
    color: rgba(211,176,106,0.92);
    text-decoration: none;
    font-size: 13px;
}

    .link:hover {
        text-decoration: underline;
    }

.primary-btn {
    width: 100%;
    margin-top: 16px;
    border-radius: 16px;
    border: 1px solid rgba(211,176,106,0.55);
    background: rgba(211,176,106,0.14);
    color: rgba(255,255,255,0.90);
    padding: 12px 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
}

    .primary-btn:hover {
        background: rgba(211,176,106,0.20);
    }

    .primary-btn:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.footer {
    margin-top: 14px;
    text-align: center;
    color: rgba(255,255,255,0.52);
    font-size: 12px;
}

.val-summary {
    color: rgba(255,120,120,0.95);
    font-size: 13px;
    margin-top: 10px;
}

.val {
    color: rgba(255,120,120,0.95);
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.status {
    margin-top: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 12px;
    color: rgba(255,255,255,0.80);
    background: rgba(0,0,0,0.25);
}




/* --- Modern layout tweaks --- */
.heroRow.modern {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
}

/* On smaller screens, stack */
@media (max-width: 920px) {
    .heroRow.modern {
        grid-template-columns: 1fr;
    }
}

/* --- Info panel: not a “card”, more like a crisp panel --- */
.infoPanel {
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 18px 18px 14px;
    backdrop-filter: saturate(120%);
}

.infoSpec {
    background: rgba(10,12,16,0.55); /* not pure black */
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.infoPanelHeader {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 12px;
}

.infoTitle {
    font-weight: 650;
    letter-spacing: 0.2px;
}

.infoHint {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.60);
}

/* Definition list “spec” look */
.specList {
    margin: 0;
    padding: 0;
}

.specRow {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 10px 0;
}

    .specRow + .specRow {
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .specRow dt {
        margin: 0;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.60);
        text-transform: none;
        letter-spacing: 0.2px;
    }

    .specRow dd {
        margin: 0;
        font-weight: 520;
        color: rgba(255,255,255,0.92);
        line-height: 1.35;
    }

@media (max-width: 520px) {
    .specRow {
        grid-template-columns: 1fr;
        gap: 6px;
    }

        .specRow dt {
            font-size: 0.8rem;
        }
}

/* --- Section header modernization --- */
.section-header.modern {
    margin-top: 44px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
}

    .section-header.modern .section-rule {
        height: 1px;
        background: rgba(255,255,255,0.10);
    }

/* --- Why Yakoru: “features” instead of “cards” --- */
.featureGrid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
}

@media (max-width: 920px) {
    .featureGrid {
        grid-template-columns: 1fr;
    }
}

.feature {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    border-radius: 14px;
    padding: 14px 16px;
}

.featureHead {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.featureIcon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.featureTitle {
    font-weight: 650;
    letter-spacing: 0.2px;
}

.featureText {
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
    max-width: 60ch;
}

/* Optional: make everything feel less “soft” */
.hero-home .btn {
    border-radius: 12px;
}