/* Ký Ức Sin: glacier blue, cyan and midnight navy. */
:root {
    --ink: #12304e;
    --muted: #58738c;
    --purple-950: #071f39;
    --purple-800: #104f82;
    --purple-700: #0879bb;
    --purple-100: #e7f6ff;
    --gold: #80eaff;
    --gold-dark: #06749e;
    --surface: #fff;
    --surface-soft: #f3faff;
    --line: #cce3f1;
    --shadow: 0 12px 34px rgba(8, 49, 87, .10);
}

body.kyucsin-theme {
    background:
        radial-gradient(ellipse at 7% 0%, #cbefff 0, transparent 36rem),
        radial-gradient(ellipse at 96% 12%, #dcecff 0, transparent 32rem),
        #f4f9fd;
}

.site-header {
    background: linear-gradient(115deg, #061b32, #0b355b 65%, #105c85);
    border-color: #316c91;
    box-shadow: 0 14px 35px rgba(5, 37, 68, .18);
}
.site-header-main { gap: 16px; padding: 10px 20px; }
.site-brand img {
    width: 174px;
    height: 98px;
    max-width: 174px;
    max-height: 98px;
    filter: drop-shadow(0 3px 12px rgba(34, 191, 255, .25));
}
.site-brand:hover img { filter: drop-shadow(0 3px 14px rgba(94, 220, 255, .5)); }
.site-navigation { gap: 2px; }
.site-navigation a { padding: 9px 8px; }
.site-navigation a.is-active,
.site-navigation a:hover { background: rgba(108, 218, 255, .17); }
.quick-links { border-top-color: rgba(150, 224, 255, .16); gap: 18px; }
.quick-links a { color: #d2efff !important; }
.button-primary {
    color: #062b47 !important;
    background: linear-gradient(135deg, #c5f7ff, #60d7ff);
    border-color: #83e3ff;
    box-shadow: 0 7px 20px rgba(23, 169, 225, .22);
}
.button-secondary { background: linear-gradient(135deg, #1686c8, #10528b); }
.button-outline { border-color: #6093b3; background: rgba(134, 215, 255, .08); }

.home-hero {
    min-height: 420px;
    background:
        radial-gradient(ellipse at 83% 46%, rgba(25, 172, 232, .36), transparent 55%),
        linear-gradient(120deg, #061b32, #0a3556 70%, #0b486d);
    border: 1px solid #2f7095;
    box-shadow: 0 16px 40px rgba(5, 42, 76, .17);
}
.home-hero-image {
    inset: auto 10px auto auto;
    top: 50%;
    width: 53%;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transform: translateY(-50%);
    filter: drop-shadow(0 15px 25px rgba(0, 5, 20, .3));
    animation: none;
}
.home-hero-shade {
    background: linear-gradient(90deg, rgba(5, 24, 44, .94), rgba(5, 24, 44, .64) 40%, transparent 70%);
}
.home-hero-content { max-width: 520px; }
.home-hero .eyebrow { color: #9eeaff; }
.home-hero h1 { color: #f5fcff; }
.home-hero h1 span {
    color: #8ae6ff;
    background: linear-gradient(100deg, #f1fdff, #70d7ff, #b9edff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.home-hero p { color: #d1e7f4; max-width: 430px; }
.home-hero-note { color: #b9d6e8; }
.community-banner { border-color: #c7e7f5; }
.site-footer { background: linear-gradient(120deg, #061e36, #0b3a60); color: #e5f5ff; }
.footer-brand img { width: 210px; height: auto; max-width: 210px; max-height: none; }
.footer-grid h2 { color: #9be8ff; }
.footer-grid p { color: #bed7e9; }
.account-menu > summary { border-color: #5e98be; }
.account-menu-panel .account-logout { background: #edf7fe; color: #155783; }
.nro-chat .nro-chat-dau img { border-radius: 6px; width: 58px; height: 36px; background: transparent; }

@media (max-width: 980px) {
    .site-header-main { gap: 10px; }
    .site-navigation { padding-top: 10px; }
}
@media (max-width: 640px) {
    .site-brand img { width: 145px; height: 82px; max-width: 145px; max-height: 82px; }
    .site-header-main { padding: 8px 10px 12px; }
    .quick-links { gap: 5px; }
    .home-hero { min-height: 510px; padding: 190px 22px 28px; }
    .home-hero-image { top: 12px; right: 6%; width: 88%; transform: none; opacity: .9; }
    .home-hero-shade { background: linear-gradient(0deg, #061b32 0%, rgba(6, 27, 50, .94) 43%, transparent 92%); }
    .home-hero-content { width: 100%; }
    .home-hero h1 { font-size: 32px; }
    .home-hero p { max-width: 100%; }
    .home-hero .eyebrow { font-size: 12px !important; }
    .footer-brand img { width: 190px; max-width: 190px; }
}
