*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --teal:         #2DD4C0;
    --teal-deep:    #1AAD9A;
    --teal-glow:    #4EEADE;
    --teal-mist:    #0D8F80;

    --bg-base:      #070A0D;
    --bg-panel:     #0A0E12;
    --bg-card:      #0E1318;
    --bg-surface:   #121820;

    --cream:        #F2EDE4;
    --cream-2:      #B8AFA3;
    --cream-3:      #6A6059;
    --cream-dim:    #3A3530;

    --transition:   cubic-bezier(.4,0,.2,1);
}

html, body {
    height: 100%;
    font-family: 'Noto Serif SC', serif;
    background: var(--bg-base);
    color: var(--cream);
    overflow-x: hidden;
}

.space-bg {
    position: fixed; inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(13,143,128,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 80%, rgba(45,212,192,0.05) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(10,20,28,0.9) 0%, transparent 100%),
        var(--bg-base);
}

.aurora { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.aurora-orb {
    position: absolute; border-radius: 50%;
    filter: blur(110px);
    animation: drift ease-in-out infinite alternate;
}
.aurora-orb:nth-child(1) {
    width: 65vw; height: 65vw;
    background: radial-gradient(circle, rgba(13,80,74,0.55) 0%, transparent 65%);
    top: -20%; left: -15%;
    opacity: 1;
    animation-duration: 26s;
}
.aurora-orb:nth-child(2) {
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(8,50,46,0.5) 0%, transparent 65%);
    bottom: -20%; right: -10%;
    opacity: 1;
    animation-duration: 20s;
    animation-delay: -8s;
}
.aurora-orb:nth-child(3) {
    width: 30vw; height: 30vw;
    background: radial-gradient(circle, rgba(45,212,192,0.07) 0%, transparent 70%);
    top: 35%; left: 60%;
    opacity: 1;
    animation-duration: 30s;
    animation-delay: -15s;
}
@keyframes drift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(3vw,4vh) scale(1.06); }
}

.scanlines {
    position: fixed; inset: 0; z-index: 2; pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.04) 2px,
        rgba(0,0,0,0.04) 4px
    );
}

.grid-texture {
    position: fixed; inset: 0; z-index: 2; pointer-events: none;
    background-image:
        linear-gradient(rgba(45,212,192,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,212,192,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
}

.particles { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.particle {
    position: absolute; border-radius: 50%;
    background: var(--teal-glow);
    opacity: 0;
    animation: float-up linear infinite;
}
@keyframes float-up {
    0%   { opacity:0; transform:translateY(0) scale(1); }
    8%   { opacity:0.55; }
    92%  { opacity:0.1; }
    100% { opacity:0; transform:translateY(-75vh) scale(0); }
}

.layout {
    position: relative; z-index: 10;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.left-panel {
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    padding: 80px 60px 80px 80px;
    position: relative;
}

.brand-badge {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 60px;
}
.brand-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid rgba(45,212,192,0.25);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(45,212,192,0.15), inset 0 1px 0 rgba(45,212,192,0.1);
}
.brand-icon img { width:100%;height:100%;object-fit:cover; }
.brand-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px; font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--cream);
}
.brand-name span {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 10px; font-weight: 300;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--teal);
    margin-top: 5px;
    opacity: 0.85;
}

.hero-headline {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(36px, 4.8vw, 62px);
    font-weight: 300;
    line-height: 1.25;
    color: var(--cream);
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}
.hero-headline em {
    font-style: normal;
    background: linear-gradient(125deg, var(--teal-glow) 0%, var(--teal) 40%, #A8F0E8 80%, var(--cream) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-family: 'Lato', sans-serif;
    font-size: 14px; font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--cream-2);
    line-height: 2;
    margin-bottom: 52px;
    max-width: 360px;
}

.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-dot {
    width: 34px; height: 34px; border-radius: 9px;
    background: rgba(45,212,192,0.07);
    border: 1px solid rgba(45,212,192,0.18);
    display: flex; align-items: center; justify-content: center;
    color: var(--teal);
    font-size: 13px; flex-shrink: 0;
    transition: all 0.3s;
}
.feature-item:hover .feature-dot {
    background: rgba(45,212,192,0.13);
    border-color: rgba(45,212,192,0.4);
    box-shadow: 0 0 14px rgba(45,212,192,0.18);
}
.feature-text { font-size: 13px; color: var(--cream-2); letter-spacing: 0.04em; }

.deco-line {
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 55vh;
    background: linear-gradient(to bottom,
        transparent,
        rgba(45,212,192,0.2) 25%,
        rgba(45,212,192,0.3) 50%,
        rgba(45,212,192,0.2) 75%,
        transparent
    );
}
.deco-line::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 10px var(--teal), 0 0 20px var(--teal);
}

.right-panel {
    display: flex; align-items: center; justify-content: center;
    padding: 60px 80px 60px 60px;
}

.glass-card {
    width: 100%; max-width: 440px;
    background: rgba(14,19,24,0.82);
    backdrop-filter: blur(52px) saturate(140%);
    -webkit-backdrop-filter: blur(52px) saturate(140%);
    border: 1px solid rgba(45,212,192,0.12);
    border-radius: 24px;
    padding: 46px 42px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.5),
        0 40px 100px rgba(0,0,0,0.75),
        0 0 60px rgba(45,212,192,0.04),
        inset 0 1px 0 rgba(45,212,192,0.08),
        inset 0 -1px 0 rgba(0,0,0,0.4);
    position: relative; overflow: hidden;
    animation: fadeUp 0.65s var(--transition) both;
}
.glass-card::before {
    content: '';
    position: absolute; top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-glow), transparent);
    opacity: 0.7;
}
.glass-card::after {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,212,192,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.card-header { margin-bottom: 32px; }
.card-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px; font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.08em;
    margin-bottom: 7px;
}
.card-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 12px; font-weight: 300;
    color: var(--cream-3);
    letter-spacing: 0.1em;
}

.login-body { padding: 0; }

.form-group { margin-bottom: 18px; }
.form-label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 10px; font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream-3);
    margin-bottom: 7px;
}
.input-wrapper { position: relative; }
.form-input {
    width: 100%;
    padding: 12px 42px 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(45,212,192,0.1);
    border-radius: 11px;
    color: var(--cream);
    font-family: 'Lato', sans-serif;
    font-size: 13px; letter-spacing: 0.04em;
    outline: none;
    transition: all 0.2s var(--transition);
    caret-color: var(--teal);
}
.form-input::placeholder { color: var(--cream-dim); }
.form-input:focus {
    border-color: rgba(45,212,192,0.45);
    background: rgba(45,212,192,0.04);
    box-shadow: 0 0 0 3px rgba(45,212,192,0.08), 0 0 12px rgba(45,212,192,0.06);
}
.input-icon {
    position: absolute; right: 13px; top: 50%;
    transform: translateY(-50%);
    color: var(--cream-3); font-size: 12px;
    pointer-events: none; transition: color 0.2s;
}
.form-input:focus + .input-icon { color: var(--teal); }

.submit-btn {
    width: 100%; padding: 14px;
    border: none; border-radius: 13px;
    background: linear-gradient(135deg, var(--teal-mist) 0%, var(--teal-deep) 40%, var(--teal) 100%);
    color: #FFFFFF;
    font-family: 'Noto Serif SC', serif;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    box-shadow: 0 6px 26px rgba(26,173,154,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
    position: relative; overflow: hidden;
}
.submit-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
    opacity: 0; transition: opacity 0.3s;
}
.submit-btn:hover::before { opacity: 1; }
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(26,173,154,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.submit-btn.btn-outline {
    background: transparent;
    border: 1px solid rgba(45,212,192,0.2);
    color: var(--teal);
    box-shadow: none;
}
.submit-btn.btn-outline:hover {
    background: rgba(45,212,192,0.07);
    border-color: rgba(45,212,192,0.4);
    box-shadow: 0 0 16px rgba(45,212,192,0.15);
}

.login-error {
    color: #f87171;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    margin-top: 14px;
    display: none;
    text-align: center;
    padding: 10px 14px;
    background: rgba(248,113,113,0.1);
    border-radius: 9px;
    border: 1px solid rgba(248,113,113,0.2);
}

.profile-header { text-align: center; padding-bottom: 20px; border-bottom: 1px solid rgba(45,212,192,0.08); margin-bottom: 20px; }
.profile-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px; font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}
.profile-email { font-size: 13px; color: var(--cream-3); font-family: 'Lato', sans-serif; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-item { text-align: center; padding: 14px 12px; background: rgba(45,212,192,0.04); border-radius: 11px; border: 1px solid rgba(45,212,192,0.08); }
.stat-value { font-size: 22px; font-weight: 600; color: var(--teal); font-family: 'Lato', sans-serif; }
.stat-label { font-size: 11px; color: var(--cream-3); margin-top: 4px; font-family: 'Lato', sans-serif; letter-spacing: 0.04em; }

.vip-card { border-radius: 14px; padding: 10px; margin-bottom: 20px; }

.vip-card.access-2days { background: linear-gradient(135deg, rgba(45,212,192,0.15) 0%, rgba(26,173,154,0.08) 100%); border: 1px solid rgba(45,212,192,0.25); }
.vip-card.access-2days .vip-title { color: var(--teal); }
.vip-card.access-2days .vip-tips p { color: var(--cream-2); }
.vip-card.access-2days .vip-tips { border-top-color: rgba(45,212,192,0.2); }
.vip-card.access-2days .vip-value { color: var(--teal); }

.vip-card.access-7days { background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, rgba(22,101,52,0.06) 100%); border: 1px solid rgba(16,185,129,0.2); }
.vip-card.access-7days .vip-title { color: #4ade80; }
.vip-card.access-7days .vip-tips p { color: var(--cream-2); }
.vip-card.access-7days .vip-tips { border-top-color: rgba(16,185,129,0.15); }
.vip-card.access-7days .vip-value { color: #4ade80; }

.vip-card.access-14days { background: linear-gradient(135deg, rgba(251,191,36,0.1) 0%, rgba(146,64,14,0.05) 100%); border: 1px solid rgba(251,191,36,0.15); }
.vip-card.access-14days .vip-title { color: #fbbf24; }
.vip-card.access-14days .vip-tips p { color: var(--cream-2); }
.vip-card.access-14days .vip-tips { border-top-color: rgba(251,191,36,0.12); }
.vip-card.access-14days .vip-value { color: #fbbf24; }

.vip-card.access-expired { background: rgba(255,255,255,0.02); border: 1px solid rgba(106,96,89,0.15); }
.vip-card.access-expired .vip-title { color: var(--cream-3); }
.vip-card.access-expired .vip-tips p { color: var(--cream-3); }
.vip-card.access-expired .vip-tips { border-top-color: rgba(106,96,89,0.1); }
.vip-card.access-expired .vip-value { color: var(--cream-3); }

.vip-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; font-family: 'Noto Serif SC', serif; letter-spacing: 0.04em; }
.vip-info { display: flex; flex-direction: column; gap: 8px; }
.vip-item { font-size: 13px; display: flex; font-family: 'Lato', sans-serif; }
.vip-label { color: var(--cream-3); }
.vip-value { color: var(--cream); font-weight: 600; }
.vip-expired-tip { margin-top: 12px; padding: 10px; background: rgba(248,113,113,0.1); border-radius: 9px; font-size: 12px; color: #f87171; font-family: 'Lato', sans-serif; }
.vip-tips { margin-top: 14px; padding-top: 14px; border-top: 1px dashed; }
.vip-tips p { font-size: 11px; margin: 5px 0; line-height: 1.6; font-family: 'Lato', sans-serif; }

.service-status { background: rgba(45,212,192,0.03); border: 1px solid rgba(45,212,192,0.06); border-radius: 11px; padding: 16px; margin-bottom: 20px; }
.status-title { font-size: 13px; font-weight: 600; color: var(--cream); margin-bottom: 12px; font-family: 'Noto Serif SC', serif; letter-spacing: 0.04em; }
.status-list { display: flex; flex-direction: column; gap: 10px; }
.status-item { display: flex; justify-content: space-between; font-size: 13px; font-family: 'Lato', sans-serif; }
.status-label { color: var(--cream-3); }
.status-indicator { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.online { background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,0.4); }
.status-dot.offline { background: #ef4444; }

.mobile-brand { display: none; }

@keyframes fadeUp {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}

.left-panel > * { animation: fadeUp 0.65s var(--transition) both; }
.left-panel > *:nth-child(2) { animation-delay:.08s; }
.left-panel > *:nth-child(3) { animation-delay:.16s; }
.left-panel > *:nth-child(4) { animation-delay:.24s; }

@media (max-width: 900px) {
    .layout { grid-template-columns: 1fr; }
    .left-panel { display: none; }
    .right-panel { padding: 40px 20px; min-height: 100vh; }
    .glass-card { padding: 34px 26px; }
    .mobile-brand { display:flex;align-items:center;gap:12px;margin-bottom:26px; }
}

@media (min-width: 901px) { .mobile-brand { display: none; } }