﻿:root {
    --ink: #14213d;
    --muted: #5d667a;
    --line: #e8edf5;
    --orange: #f97316;
    --gold: #fbbf24;
    --blue: #123c7c;
    --soft: #fff8e8;
    --panel: #ffffff;
    --shadow: 0 18px 50px rgba(22, 32, 54, 0.14);
    --circuit-bg: none;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 24%, rgba(36, 144, 255, 0.42), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(42, 214, 255, 0.2), transparent 24%),
        linear-gradient(180deg, #061427 0%, #0b2f60 48%, #0754a8 100%);
    font-family: "Times New Roman", Times, serif;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    isolation: isolate;
}

body > main {
    overflow-x: clip;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: var(--circuit-bg);
    background-size: cover;
    background-position: center top;
    background-repeat: repeat-y;
    opacity: 0.34;
    filter: drop-shadow(0 0 4px rgba(88, 223, 255, 0.24));
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 280px;
    z-index: 10;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(224, 251, 255, 0.52), rgba(0, 185, 255, 0.2) 34%, rgba(0, 122, 255, 0) 72%);
    opacity: 0;
    transform: translate3d(-9999px, -9999px, 0);
    contain: layout paint style;
    will-change: transform, opacity;
}

.cursor-glow.active {
    opacity: 1;
}

main,
.site-footer {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(16px, 4vw, 48px);
    background: rgba(10, 32, 56, 0.78);
    border-bottom: 1px solid rgba(116, 231, 255, 0.24);
    box-shadow: 0 10px 30px rgba(6, 20, 39, 0);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    font-family: "Times New Roman", Times, serif;
    transition: padding 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
    background: rgba(10, 32, 56, 0.82);
    border-bottom-color: rgba(99, 230, 255, 0.28);
    box-shadow: 0 14px 42px rgba(6, 20, 39, 0.18);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 0.4px;
    font-size: 18px;
    line-height: 1;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.brand code {
    color: var(--orange);
    font-family: Consolas, "Courier New", monospace;
    font-size: 15px;
    letter-spacing: 0;
    text-shadow: 0 0 16px rgba(249, 115, 22, 0.16);
}

.site-header .brand,
.site-header .brand:visited {
    color: #dbeafe;
}

.site-header .brand:hover,
.site-header .brand:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(18, 60, 124, 0.08), 0 0 24px rgba(99, 230, 255, 0.14);
    transform: translateY(-1px);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: var(--blue);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(22, 32, 54, 0.08);
    backdrop-filter: blur(10px);
}

.menu-toggle span {
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav a,
.nav button,
.small-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #dbeafe;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: "Times New Roman", Times, serif;
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    transition: color 160ms ease, text-shadow 160ms ease, transform 160ms ease;
}

.nav a::after,
.nav button::before,
.small-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(99, 230, 255, 0), rgba(99, 230, 255, 0.95), rgba(249, 115, 22, 0.55));
    opacity: 0;
    transform: scaleX(0.45);
    transform-origin: center;
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active,
.nav button:hover,
.nav button:focus-visible,
.small-link:hover,
.small-link:focus-visible {
    color: #fff;
    text-shadow: 0 0 18px rgba(99, 230, 255, 0.28);
    transform: translateY(-1px);
}

.nav a.active {
    transform: none;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.active::after,
.nav button:hover::before,
.nav button:focus-visible::before,
.small-link:hover::after,
.small-link:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
    z-index: 9995;
}

.nav-drop-trigger::after {
    content: "\25BE";
    margin-left: 6px;
    font-size: 11px;
}

.nav-drop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000;
    display: none;
    min-width: 170px;
    padding: 10px 8px 8px;
    border: 1px solid rgba(116, 231, 255, 0.24);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(6, 20, 39, 0.96), rgba(6, 20, 39, 0.9));
    box-shadow: var(--shadow);
}

.nav-drop-menu.open,
.nav-dropdown:hover .nav-drop-menu {
    display: grid;
    gap: 4px;
}

.nav-drop-menu a {
    display: block;
    white-space: nowrap;
    color: #dbeafe;
}

.nav-drop-menu a:hover,
.nav-drop-menu a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.account-menu {
    position: relative;
    z-index: 9995;
}

.account-trigger {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(22, 32, 54, 0.08);
    overflow: hidden;
    padding: 0;
}

.account-trigger img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.password-warning-icon {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 2;
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.account-dropdown {
    position: absolute;
    z-index: 10000;
    top: 100%;
    right: 0;
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    display: none;
}

.account-dropdown.open,
.account-menu:hover .account-dropdown {
    display: grid;
    gap: 4px;
}

.account-dropdown strong {
    padding: 9px 10px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.account-dropdown a {
    padding: 10px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 800;
}

.account-dropdown button {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.account-dropdown .password-warning-link {
    color: #b45309;
    background: #fffbeb;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
    color: var(--blue);
    background: #f4f7fb;
}

.hero {
    display: grid;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    grid-template-columns: minmax(0, 680px) minmax(380px, 500px);
    gap: clamp(40px, 4.2vw, 76px);
    align-items: center;
    justify-content: center;
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: clamp(38px, 5vw, 66px) clamp(24px, 4vw, 56px) clamp(42px, 5vw, 66px);
    background: transparent;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    display: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-copy {
    position: relative;
    isolation: isolate;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 680px;
    padding: clamp(24px, 2.5vw, 34px);
    padding-top: 22px;
    border: 1px solid rgba(147, 224, 255, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(4, 18, 39, 0.94), rgba(7, 42, 83, 0.88)),
        radial-gradient(circle at 8% 10%, rgba(99, 230, 255, 0.13), transparent 42%);
    box-shadow:
        0 24px 64px rgba(0, 8, 24, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.hero-copy::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12px;
    pointer-events: none;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(99, 230, 255, 0.05), transparent 45%, rgba(249, 115, 22, 0.04));
}

.hero-copy h1 {
    margin: 50px 0 0;
    font-size: clamp(40px, 3.15vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.34), 0 0 26px rgba(255, 255, 255, 0.14);
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.hero-title-accent {
    margin-top: 5px;
    color: #ffad45;
    text-shadow: 0 4px 0 rgba(113, 43, 0, 0.28), 0 0 24px rgba(249, 115, 22, 0.28);
}

.hero-copy p {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-copy .home-hero-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 17px;
    color: #a8efff;
    font-family: Consolas, "Courier New", monospace;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.17em;
    line-height: 1.25;
    text-transform: uppercase;
}

.home-hero-kicker span {
    width: 34px;
    height: 2px;
    flex: 0 0 34px;
    background: linear-gradient(90deg, #63e6ff, var(--orange));
    box-shadow: 0 0 14px rgba(99, 230, 255, 0.65);
}

.hero-copy .home-hero-description {
    max-width: 680px;
    margin: 22px 0 0;
    color: #eaf6ff;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
}

.home-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    transform: translateY(-12px);
}

.home-hero-lower {
    margin-top: auto;
}

.home-hero-features a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 11px 18px;
    border: 1px solid rgba(179, 231, 255, 0.72);
    border-radius: 999px;
    background: rgba(244, 250, 255, 0.94);
    color: #0b3975;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 12, 32, 0.16);
    backdrop-filter: blur(7px);
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-hero-features a:hover,
.home-hero-features a:focus-visible {
    border-color: #ffffff;
    background: #ffffff;
    color: #082f69;
    box-shadow: 0 12px 24px rgba(0, 12, 32, 0.24), 0 0 22px rgba(99, 230, 255, 0.2);
    transform: translateY(-2px);
}

.hero-copy .home-hero-teacher {
    position: relative;
    max-width: 670px;
    margin: 21px 0 0;
    padding-left: 16px;
    color: #d9edff;
    font-size: 18px;
    line-height: 1.55;
}

.home-hero-teacher::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #63e6ff, var(--orange));
    box-shadow: 0 0 14px rgba(99, 230, 255, 0.35);
}

.home-hero-teacher strong {
    color: #ffd08e;
}

.hero-copy .hero-actions::before {
    background: linear-gradient(90deg, rgba(112, 219, 255, 0), rgba(255, 255, 255, 0.66), rgba(249, 115, 22, 0.62));
}

.hero-copy .hero-actions {
    margin-top: 18px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--orange);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-actions {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
    width: fit-content;
    margin-top: 24px;
}

.hero-actions::before,
.hero-actions::after {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    pointer-events: none;
}

.hero-actions::before {
    width: calc(100% + 82px);
    max-width: 340px;
    height: 2px;
    background: linear-gradient(90deg, rgba(112, 219, 255, 0), rgba(112, 219, 255, 0.78), rgba(112, 219, 255, 0.38));
    transform: translate(-50%, -50%);
}

.hero-actions::after {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #76e7ff;
    box-shadow: 0 0 16px rgba(118, 231, 255, 0.82);
    transform: translate(-50%, -50%);
}

.btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: var(--orange);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
    box-shadow: 0 14px 30px rgba(252, 101, 18, 0.28);
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.btn.secondary {
    background: var(--blue);
}

.btn.secondary:hover {
    box-shadow: 0 14px 30px rgba(16, 62, 132, 0.28);
}

.btn.light {
    background: #fff;
    color: var(--blue);
    border: 1px solid var(--line);
}

.hero-image {
    position: relative;
    overflow: hidden;
    margin: 0;
    justify-self: center;
    width: min(100%, 500px);
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: #edc5a6;
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    cursor: zoom-in;
    transition: filter 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.hero-image:hover img {
    filter: brightness(1.04) saturate(1.06);
    transform: translateY(-3px);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 36px);
    background: rgba(4, 12, 25, 0.78);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    backdrop-filter: blur(8px);
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

body.image-lightbox-open {
    overflow: hidden;
}

.image-lightbox-frame {
    max-width: min(1180px, 96vw);
    max-height: 92vh;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    overflow: hidden;
    transform: scale(0.96);
    transition: transform 180ms ease;
}

.image-lightbox.active .image-lightbox-frame {
    transform: scale(1);
}

.image-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 92vh;
    object-fit: contain;
    cursor: default;
}

.section {
    padding: clamp(34px, 5vw, 64px) clamp(16px, 4vw, 56px);
}

.section.alt {
    background: transparent;
    backdrop-filter: none;
}

.section-divider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 2px;
    margin: 0;
    border: 0;
    background:
        linear-gradient(90deg, rgba(118, 231, 255, 0), rgba(202, 246, 255, 0.56), rgba(118, 231, 255, 0)),
        linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    box-shadow: 0 0 18px rgba(118, 231, 255, 0.34);
}

.section-title {
    max-width: 1280px;
    margin-bottom: 24px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(26px, 3.05vw, 50px);
    color: #f6fbff;
}

@media (min-width: 1024px) {
    .section-title h2 {
        white-space: nowrap;
    }
}

@media (min-width: 1500px) {
    .hero-copy h1 {
        font-size: clamp(48px, 3vw, 56px);
    }
}

.section-title p {
    color: rgba(219, 234, 254, 0.82);
    line-height: 1.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.feature {
    position: relative;
    overflow: hidden;
    min-height: 158px;
    padding: 20px;
    border: 1px solid rgba(219, 234, 254, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(99, 230, 255, 0.16), rgba(249, 115, 22, 0.08) 52%, rgba(99, 230, 255, 0)),
        linear-gradient(90deg, rgba(99, 230, 255, 0), rgba(99, 230, 255, 0.32), rgba(99, 230, 255, 0));
    opacity: 0;
    transform: translateX(-22%);
    transition: opacity 180ms ease, transform 260ms ease;
}

.feature::after {
    content: "";
    position: absolute;
    inset: auto 18px 14px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(99, 230, 255, 0), rgba(99, 230, 255, 0.82), rgba(249, 115, 22, 0.78));
    opacity: 0;
    transform: scaleX(0.32);
    transform-origin: left;
    transition: opacity 180ms ease, transform 220ms ease;
}

.feature:hover {
    border-color: rgba(99, 230, 255, 0.48);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(99, 230, 255, 0.08);
    transform: translateY(-4px);
}

.feature:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.feature:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.feature strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 18px;
}

.feature p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}


.achievement-section {
    padding-top: clamp(36px, 5vw, 68px);
    padding-right: clamp(24px, 4vw, 56px);
    padding-bottom: clamp(42px, 6vw, 76px);
    padding-left: clamp(24px, 4vw, 56px);
}

.achievement-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.6fr) minmax(620px, 1fr);
    gap: 28px;
    align-items: stretch;
    width: min(1256px, 100%);
    max-width: none;
    margin: 0 auto;
}

.achievement-intro,
.achievement-board {
    border: 1px solid rgba(219, 234, 254, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
}

.achievement-intro {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: clamp(22px, 3vw, 34px);
}

.achievement-intro::after {
    content: "</>";
    position: absolute;
    right: 22px;
    bottom: 12px;
    color: rgba(18, 60, 124, 0.08);
    font-size: clamp(74px, 9vw, 118px);
    font-weight: 900;
    line-height: 1;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff7d6;
    color: #8a5a00;
    font-size: 14px;
    font-weight: 900;
}

.achievement-intro h2 {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 18px 0 14px;
    color: var(--blue);
    font-size: clamp(28px, 2.55vw, 38px);
    line-height: 1.12;
}

.achievement-intro p {
    position: relative;
    z-index: 1;
    max-width: 570px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.achievement-summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.achievement-summary article {
    min-height: 92px;
    padding: 16px;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    background: #f8fbff;
}

.achievement-summary strong {
    display: block;
    color: var(--blue);
    font-size: 28px;
    line-height: 1;
}

.achievement-summary span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}


.achievement-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: 100%;
    padding: 24px;
}

.achievement-year-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    height: 100%;
    padding: 20px;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.achievement-year-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 82% 12%, rgba(246, 184, 23, 0.18), rgba(99, 230, 255, 0.08) 34%, rgba(255, 255, 255, 0) 62%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.achievement-year-card:hover {
    border-color: rgba(16, 62, 132, 0.22);
    box-shadow: 0 16px 34px rgba(16, 62, 132, 0.14);
    transform: translateY(-3px);
}

.achievement-year-card:hover::before {
    opacity: 1;
}

.achievement-year-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #dbe6f4;
}

.achievement-year-top > strong {
    color: var(--blue);
    font-size: 34px;
    line-height: 1;
}

.achievement-medals {
    display: flex;
    align-items: center;
}

.achievement-medal {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(22, 32, 54, 0.16);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.achievement-year-card:hover .achievement-medal {
    box-shadow: 0 10px 22px rgba(22, 32, 54, 0.22);
    transform: translateY(-2px);
}

.achievement-medal:first-child {
    margin-left: 0;
}

.achievement-medal.gold {
    background: linear-gradient(135deg, #f6c343, #d89b00);
}

.achievement-medal.silver {
    background: linear-gradient(135deg, #cbd5e1, #64748b);
}

.achievement-medal.bronze {
    background: linear-gradient(135deg, #d97706, #92400e);
}

.achievement-medal.green {
    background: linear-gradient(135deg, #34d399, #15803d);
}

.achievement-result {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.achievement-result h3,
.achievement-score h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
}

.achievement-result h3 span,
.achievement-score h3 span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eaf3ff;
    color: var(--blue);
    font-size: 17px;
}

.achievement-list {
    display: grid;
    gap: 8px;
}

.achievement-list p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #e7edf6;
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
}

.achievement-list strong {
    color: var(--blue);
    font-size: 17px;
}

.achievement-proof {
    display: inline-flex;
    align-items: center;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(18, 60, 124, 0.28);
    color: var(--muted);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.achievement-proof:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.achievement-score {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #f6dfa0;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff7d6 0%, #ffffff 82%);
}

.achievement-score div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.achievement-score div span {
    color: #8a5a00;
    font-weight: 900;
}

.achievement-score div strong {
    color: var(--orange);
    font-size: 38px;
    line-height: 1;
}

.achievement-exam-stars {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.achievement-exam-stars a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #f6dfa0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: #8a5a00;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.achievement-exam-stars a span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.achievement-exam-stars a:hover {
    transform: translateY(-2px);
    border-color: #f97316;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.16);
}

.achievement-exam-stars a strong {
    flex: none;
    color: var(--orange);
    font-size: 28px;
    line-height: 1;
}

.achievement-updating {
    margin-top: 14px;
    padding: 16px;
    border: 1px dashed #b7c7dc;
    border-radius: 8px;
    background: #f8fbff;
    color: var(--muted);
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
}


.learning-system-section {
    padding-top: clamp(44px, 6vw, 80px);
    padding-bottom: clamp(46px, 6vw, 82px);
}

.learning-system-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
    gap: 28px;
    align-items: center;
    width: min(1320px, calc(100vw - clamp(28px, 5vw, 72px)));
    margin: 0 auto;
}

.learning-system-copy h2 {
    max-width: 620px;
    margin: 0 0 16px;
    color: #f8fbff;
    font-size: clamp(32px, 3vw, 54px);
    line-height: 1.1;
}

.learning-system-copy p:not(.eyebrow) {
    max-width: 640px;
    margin: 0;
    color: rgba(219, 234, 254, 0.86);
    font-size: 18px;
    line-height: 1.7;
}

.learning-system-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.learning-system-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f8fbff;
    font-weight: 900;
}

.learning-system-list span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
    background: rgba(99, 230, 255, 0.16);
    color: #63e6ff;
}

.learning-dashboard {
    padding: 24px;
    border: 1px solid rgba(219, 234, 254, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
}

.learning-dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.learning-dashboard-head strong {
    color: var(--blue);
    font-size: 22px;
}

.learning-dashboard-head div {
    display: flex;
    gap: 8px;
}

.learning-dashboard-head span {
    padding: 7px 10px;
    border-radius: 8px;
    background: #eef6ff;
    color: var(--blue);
    font-weight: 900;
}

.learning-chart {
    display: flex;
    align-items: end;
    gap: 14px;
    height: 190px;
    padding: 18px;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    background: #f8fbff;
}

.learning-chart i {
    flex: 1;
    min-height: 42px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #63e6ff 0%, var(--blue) 100%);
}

.learning-chart i:last-child {
    background: linear-gradient(180deg, #f6b817 0%, var(--orange) 100%);
}

.learning-table {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.learning-table div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px 80px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e7edf6;
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
}

.learning-table strong {
    color: var(--blue);
}

.learning-table em {
    color: var(--muted);
    font-style: normal;
}

.register-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
    gap: 28px;
    align-items: start;
}

.register-card,
.form-card {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
}

.register-card {
    padding: 28px;
}

.register-card ul {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.form-card {
    padding: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 800;
    color: var(--ink);
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    padding: 12px 13px;
    font-family: inherit;
    font-size: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    resize: vertical;
}

.notice {
    margin-bottom: 16px;
    padding: 13px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.notice.success {
    color: #166534;
    background: #dcfce7;
}

.notice.error {
    color: #991b1b;
    background: #fee2e2;
}

.consultation-page {
    scroll-behavior: smooth;
}

.consultation-page .site-header {
    background: rgba(10, 32, 56, 0.82);
    box-shadow: 0 12px 34px rgba(6, 20, 39, 0.2);
}

.consultation-main {
    position: relative;
    z-index: 1;
    overflow-x: clip;
}

.consultation-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: clamp(470px, 66vh, 650px);
    padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
    text-align: center;
    overflow: hidden;
}

.consultation-hero::before,
.consultation-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.consultation-hero::before {
    width: min(680px, 70vw);
    height: min(680px, 70vw);
    top: -58%;
    left: -10%;
    background: radial-gradient(circle, rgba(45, 212, 255, 0.2), rgba(45, 212, 255, 0) 68%);
}

.consultation-hero::after {
    width: min(620px, 66vw);
    height: min(620px, 66vw);
    right: -8%;
    bottom: -70%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0) 68%);
}

.consultation-hero-inner {
    width: min(1220px, 100%);
    min-width: 0;
    margin: 0 auto;
}

.consultation-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #8eeaff;
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.consultation-kicker span {
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, #63e6ff, var(--orange));
    box-shadow: 0 0 14px rgba(99, 230, 255, 0.7);
}

.consultation-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 6.2vw, 94px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
    text-shadow: 0 5px 0 rgba(0, 0, 0, 0.22), 0 0 34px rgba(88, 190, 255, 0.3);
}

.consultation-hero h1 span,
.consultation-hero h1 strong {
    display: block;
}

.consultation-hero h1 span {
    color: #dff8ff;
    font-size: 0.68em;
    letter-spacing: 0.035em;
}

.consultation-hero h1 strong {
    margin-top: 10px;
    color: #fff;
    font-weight: 900;
}

.consultation-lead {
    max-width: none;
    margin: 26px auto 0;
    color: rgba(224, 242, 254, 0.88);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.65;
    white-space: nowrap;
}

.consultation-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin-top: 32px;
}

.consultation-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.consultation-highlights span {
    padding: 9px 13px;
    border: 1px solid rgba(99, 230, 255, 0.26);
    border-radius: 999px;
    color: #dff8ff;
    background: rgba(6, 20, 39, 0.42);
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.consultation-cta {
    min-width: 154px;
}

.consultation-section {
    min-height: min(720px, calc(100vh - 70px));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consultation-intro .section-title h2 {
    margin: 0;
    color: #f6fbff;
    font-size: clamp(30px, 3.05vw, 50px);
    line-height: 1.08;
}

.consultation-intro .section-title,
.consultation-intro .grid,
.consultation-register-section .register-wrap {
    width: min(1520px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.consultation-register-section .register-wrap {
    grid-template-columns: minmax(300px, 0.8fr) minmax(520px, 1.2fr);
}

.consultation-page .form-card .hero-actions {
    margin-top: 18px;
}

.consultation-page .form-card .hero-actions .btn {
    filter: none !important;
    transform: none !important;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.consultation-page .form-card .hero-actions .btn::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 6px;
    left: 16px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(99, 230, 255, 0), rgba(255, 255, 255, 0.96), rgba(99, 230, 255, 0.9), rgba(249, 115, 22, 0));
    box-shadow: 0 0 10px rgba(99, 230, 255, 0.55);
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: center;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.consultation-page .form-card .hero-actions .btn:hover::after,
.consultation-page .form-card .hero-actions .btn:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.consultation-page .form-card .hero-actions .btn:hover,
.consultation-page .form-card .hero-actions .btn:focus-visible {
    background: #fb812f;
    filter: none !important;
    transform: none !important;
    box-shadow: 0 10px 24px rgba(252, 101, 18, 0.28);
}

.consultation-page .form-card .hero-actions .btn:active {
    filter: none !important;
    transform: none !important;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

.consultation-page .consultation-zalo {
    background: #0068ff;
    text-decoration: none;
    white-space: nowrap;
}

.consultation-page .form-card .hero-actions .consultation-zalo:hover,
.consultation-page .form-card .hero-actions .consultation-zalo:focus-visible {
    background: #1476ff;
    box-shadow: 0 10px 24px rgba(0, 104, 255, 0.28);
}

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 34px clamp(16px, 4vw, 56px);
    border-top: 1px solid rgba(99, 230, 255, 0.28);
    color: #dbeafe;
    background: rgba(10, 32, 56, 0.82);
    box-shadow: 0 -14px 42px rgba(6, 20, 39, 0.18);
    font-family: "Times New Roman", Times, serif;
    text-align: center;
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
}

.section-divider + .site-footer {
    margin-top: 6px;
}

.site-footer span {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-shadow: 0 0 18px rgba(99, 230, 255, 0.22);
}

.site-footer a {
    color: #fff;
    font-weight: 800;
}

.site-footer .site-visits {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin: 10px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.site-footer .site-visits span {
    font-size: inherit;
    font-weight: 600;
    letter-spacing: 0;
    text-shadow: none;
}

.site-footer .site-visits strong {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.site-footer .site-visits-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 2px;
    border-radius: 50%;
    background: #3ccf91;
    box-shadow: 0 0 0 3px rgba(60, 207, 145, 0.25);
    vertical-align: 1px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 20, 35, 0.72);
}

.modal-overlay.active {
    display: flex;
}

.auth-card {
    position: relative;
    width: min(430px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.auth-close {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 3;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.76);
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.auth-close span {
    font: 400 24px/1 Arial, sans-serif;
    transform: translateY(-1px);
}

.auth-close:hover {
    border-color: rgba(180, 83, 9, 0.3);
    background: #fff8ed;
    color: #9a4c16;
    box-shadow: 0 7px 18px rgba(146, 64, 14, 0.13);
    transform: rotate(4deg) scale(1.04);
}

.auth-close:focus-visible {
    outline: 3px solid rgba(255, 208, 0, 0.48);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .auth-tabs .tab-trigger:last-child {
        padding-right: 44px;
    }
}

.auth-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}

.tab-trigger {
    flex: 1;
    padding: 18px 16px;
    border: 0;
    background: transparent;
    color: #a8b0bc;
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.tab-trigger.active {
    color: #8b4513;
}

.tab-trigger.active::after {
    content: "";
    position: absolute;
    left: 25%;
    right: 25%;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: #ffd000;
}

.auth-body {
    padding: 24px 30px 18px;
    min-height: 420px;
}

.tab-pane {
    display: none;
    flex-direction: column;
    gap: 12px;
    min-height: 326px;
}

.tab-pane.active {
    display: flex;
}

.input-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-item label {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

.game-input {
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    padding: 12px 16px;
    background: #e8eef9;
    color: #111827;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
}

.game-input::placeholder {
    color: #a8b0bc;
}

.game-input:focus {
    outline: 3px solid rgba(255, 208, 0, 0.55);
    background: #fff;
}

.submit-btn {
    min-height: 54px;
    margin-top: 8px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffd400, #eab308);
    color: #92400e;
    cursor: pointer;
    font-family: inherit;
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 12px 24px rgba(234, 179, 8, 0.22);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.google-auth-btn {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.google-auth-btn:hover {
    border-color: #c7d2fe;
    transform: translateY(-1px);
}

.google-auth-btn.disabled {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
}

.google-mark {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.cancel-btn {
    display: block;
    margin: 10px auto 0;
    border: 0;
    background: transparent;
    color: #a8b0bc;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
}

.auth-message {
    margin-bottom: 18px;
    padding: 13px 16px;
    border-radius: 14px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 800;
}

.auth-message.ok {
    background: #dcfce7;
    color: #166534;
}

.admin-page {
    background: #f6f8fc;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.admin-shell {
    padding: 32px;
}

.admin-heading {
    max-width: 760px;
}

.admin-heading h1 {
    margin: 0;
    font-size: 36px;
}

.admin-heading p {
    color: var(--muted);
}

.admin-table-wrap {
    margin-top: 24px;
    overflow-x: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--blue);
    background: #f8fafc;
}

.admin-table span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.status-form {
    display: grid;
    gap: 8px;
}

.status-form button {
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.status-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.status-form .delete-button {
    background: #e5e7eb;
    color: #374151;
}

.status-form .delete-button:hover {
    background: #d1d5db;
}

.empty-state {
    padding: 28px;
    color: var(--muted);
}

@media (max-width: 1120px) {
    .hero {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 30px;
    }

    .hero-copy {
        align-self: auto;
        justify-self: center;
        max-width: 720px;
    }

    .hero-copy .hero-actions {
        margin-top: 24px;
    }

    .hero-copy h1 {
        margin-top: 24px;
    }

    .home-hero-lower {
        margin-top: 20px;
    }

    .hero-image {
        justify-self: center;
    }

    .hero-title-line {
        white-space: normal;
    }
}

@media (min-width: 641px) and (max-width: 1120px) {
    .hero {
        width: min(720px, calc(100% - 48px));
        padding-right: 0;
        padding-left: 0;
    }

    .hero-copy,
    .hero-image,
    .achievement-shell {
        width: min(720px, 100%);
        max-width: 720px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 980px) {
    .learning-system-wrap,
    .achievement-shell,
    .hero,
    .register-wrap {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 24px;
        width: 100%;
        padding-top: 30px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 7vw, 56px);
    }

    .hero-title-line {
        white-space: normal;
    }

    .hero-image {
        justify-self: center;
        max-width: 760px;
    }

    .achievement-board,
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .achievement-summary {
        grid-template-columns: 1fr;
    }

    .learning-system-wrap {
        width: min(100%, calc(100vw - 28px));
    }

    .consultation-register-section .register-wrap {
        grid-template-columns: 1fr;
    }

    .consultation-section {
        min-height: auto;
    }

    .consultation-lead {
        white-space: normal;
    }

    .consultation-lead span {
        display: block;
    }
}

@media (max-width: 640px) {
    .consultation-hero {
        min-height: auto;
        padding: 66px 15px 62px;
    }

    .consultation-kicker {
        margin-bottom: 16px;
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .consultation-hero h1 {
        font-size: clamp(42px, 13.5vw, 60px);
        line-height: 1.01;
        letter-spacing: -0.035em;
    }

    .consultation-hero h1 span {
        font-size: 0.62em;
        line-height: 1.15;
    }

    .consultation-lead {
        margin-top: 22px;
        font-size: 16px;
        white-space: normal;
    }

    .consultation-lead span {
        display: block;
    }

    .consultation-hero-bottom {
        margin-top: 25px;
    }

    .consultation-highlights {
        gap: 7px;
    }

    .consultation-highlights span {
        padding: 7px 10px;
        font-size: 12px;
    }

    .consultation-cta {
        flex: 0 0 auto !important;
        min-width: 170px !important;
    }

    .consultation-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .consultation-intro .section-title h2 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .consultation-page .learning-system-wrap {
        width: 100%;
    }

    .consultation-page .learning-dashboard,
    .consultation-page .form-card,
    .consultation-page .register-card {
        padding: 18px;
    }

    .consultation-page .learning-chart {
        height: 150px;
        gap: 8px;
        padding: 12px;
    }

    .consultation-page .learning-table div {
        grid-template-columns: minmax(0, 1fr) 52px 48px;
        font-size: 14px;
    }

    .consultation-page .form-grid {
        grid-template-columns: 1fr;
    }

    .consultation-page .field.full {
        grid-column: auto;
    }

    .site-header {
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
    }

    .header-actions {
        flex: 1;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .nav {
        flex: 1;
        min-width: 0;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 2px;
        overflow: visible;
    }

    .nav a,
    .nav button {
        min-height: 38px;
        padding: 7px 6px;
        border-radius: 7px;
        font-size: 13px;
        line-height: 1.15;
        white-space: nowrap;
    }

    .nav-drop-trigger::after {
        margin-left: 3px;
        font-size: 10px;
    }

    .account-trigger {
        width: 40px;
        height: 40px;
    }

    .achievement-board,
    .grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 24px 14px 26px;
    }

    .hero-copy {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.08;
    }

    .hero-copy .home-hero-kicker {
        margin-bottom: 14px;
        font-size: 13px;
        letter-spacing: 0.11em;
    }

    .hero-copy .home-hero-description {
        margin-top: 18px;
        font-size: 16px;
    }

    .home-hero-features {
        gap: 7px;
        margin-top: 17px;
        transform: translateY(-6px);
    }

    .home-hero-features a {
        min-height: 44px;
        padding: 9px 13px;
        font-size: 14px;
    }

    .hero-copy .home-hero-teacher {
        margin-top: 18px;
        font-size: 16px;
    }

    .hero-actions {
        width: 100%;
    }

    .achievement-intro h2 {
        font-size: clamp(25px, 8vw, 32px);
    }

    .learning-dashboard {
        padding: 18px;
    }

    .learning-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .learning-chart {
        height: 150px;
        gap: 9px;
        padding: 14px;
    }

    .learning-table div {
        grid-template-columns: 1fr;
    }
    .hero-actions .btn {
        flex: 1 1 160px;
        min-width: 0;
        padding-right: 12px;
        padding-left: 12px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .hero-image img,
    .image-lightbox,
    .image-lightbox-frame,
    .feature,
    .feature::before,
    .feature::after,
    .achievement-year-card,
    .achievement-year-card::before,
    .achievement-medal {
        transition: none;
    }

    .hero-image:hover img,
    .feature:hover,
    .achievement-year-card:hover,
    .achievement-year-card:hover .achievement-medal {
        transform: none;
    }
}

@media (max-width: 430px) {
    .site-header {
        position: sticky;
    }

    .header-actions {
        flex: 0 0 auto;
        min-width: auto;
        justify-content: flex-end;
        gap: 8px;
        margin-left: auto;
    }

    .brand {
        font-size: 14px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        z-index: 40;
        display: none;
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .nav.open {
        display: grid;
    }

    .nav a,
    .nav button {
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        text-align: left;
    }

    .nav > a,
    .nav-dropdown > button {
        color: var(--blue);
        text-shadow: none;
    }

    .nav > a:hover,
    .nav > a:focus-visible,
    .nav-dropdown > button:hover,
    .nav-dropdown > button:focus-visible {
        color: #082f69;
        background: #eef6ff;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-drop-menu {
        position: static;
        min-width: 0;
        margin-top: 4px;
        box-shadow: none;
    }
}
