/* ===== Reset & Variables ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #08090d;
    --card: #12141c;
    --card-border: #1e2235;
    --gui-bar: #0b0c12;
    --gui-row: #16161e;
    --gui-dropdown: #1e2130;
    --gui-content: #000000;
    --accent: #3d5afe;
    --accent-glow: rgba(61, 90, 254, 0.4);
    --text: #ffffff;
    --text-muted: #6b7080;
    --text-secondary: #8b90a8;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Consolas', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #6b8aff;
}

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Background Effects ===== */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.bg-orb--1 {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(61, 90, 254, 0.2), transparent 70%);
}

.bg-orb--2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(100, 80, 255, 0.15), transparent 70%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(30, 34, 53, 0.5) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.3;
}

/* ===== Site Header ===== */
.site-header {
    position: relative;
    z-index: 10;
    padding: 20px 24px;
    animation: fadeUp 0.6s ease both;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.site-logo__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    flex-shrink: 0;
}

.site-logo__name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.site-logo__tag {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 1px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #2a2d3a;
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-telegram:hover {
    border-color: var(--accent);
    color: var(--text);
    background: rgba(61, 90, 254, 0.08);
}

.btn-discord:hover {
    border-color: #5865f2;
    color: var(--text);
    background: rgba(88, 101, 242, 0.12);
}

.version-badge {
    padding: 6px 12px;
    background: var(--gui-row);
    border: 1px solid #2a2d3a;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Page Layout ===== */
.page {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 40px 0 48px;
    animation: fadeUp 0.6s ease 0.1s both;
}

.hero__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--accent), #7b8fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

.hero__subtitle a {
    font-weight: 500;
}

/* ===== Main Grid ===== */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* ===== Script Card ===== */
.script-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.6s ease 0.2s both;
    transition: box-shadow 0.3s;
}

.script-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.script-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(61, 90, 254, 0.06);
}

.btn-get-key {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3d5afe 0%, #5d6fff 50%, #3d5afe 100%);
    background-size: 200% 200%;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s, background-position 0.3s;
    text-decoration: none;
}

.btn-get-key:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(61, 90, 254, 0.55);
    background-position: 100% 0;
    color: var(--text);
}

.btn-get-key:active {
    transform: translateY(0);
}

.script-hint {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin: 14px 0 24px;
}

.code-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.code-block pre {
    background: #0a0b10;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
}

.code-block .kw { color: #c792ea; }
.code-block .obj { color: #82aaff; }
.code-block .fn { color: #ffcb6b; }
.code-block .str { color: #c3e88d; }

.btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gui-dropdown);
    border: 1px solid #2a2d3a;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    align-self: flex-start;
}

.btn-copy:hover {
    border-color: var(--accent);
    background: rgba(61, 90, 254, 0.1);
}

.btn-copy:focus-visible,
.gui-btn-min:focus-visible,
.gui-btn-close:focus-visible,
.gui-tab:focus-visible,
.gui-toggle:focus-visible,
.gui-dropdown__btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== GUI Preview ===== */
.gui-preview {
    animation: fadeUp 0.6s ease 0.3s both;
}

.gui-window {
    --gui-accent: #3d5afe;
    --gui-accent-glow: rgba(61, 90, 254, 0.6);
    --gui-bar: #0b0c12;
    --gui-row: #16161e;
    --gui-dropdown: #1e2130;
    --gui-content: #000000;
    --gui-text: #ffffff;
    --gui-text-muted: #6b7080;
    --gui-text-secondary: #8b90a8;
    --gui-track: #25284d;
    background: var(--gui-content);
    border-radius: var(--radius-lg);
    overflow: visible;
    border: 1px solid #1a1d28;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: max-height 0.3s ease, opacity 0.4s ease, transform 0.4s ease, background 0.3s, border-color 0.3s;
    max-height: 680px;
}

.gui-window.theme-light {
    --gui-accent: #4a76fd;
    --gui-accent-glow: rgba(74, 118, 253, 0.5);
    --gui-bar: #f5f7ff;
    --gui-row: #eef0ff;
    --gui-dropdown: #ffffff;
    --gui-content: #ffffff;
    --gui-text: #1a1d2e;
    --gui-text-muted: #8b90a8;
    --gui-text-secondary: #5a5f72;
    --gui-track: #d8dcf0;
    border-color: #e2e6f5;
    box-shadow: 0 12px 40px rgba(74, 118, 253, 0.12);
}

.gui-window.theme-neon {
    --gui-accent: #00e5ff;
    --gui-accent-glow: rgba(0, 229, 255, 0.6);
    --gui-bar: #0a0a14;
    --gui-row: #121221;
    --gui-dropdown: #1a1a2e;
    --gui-content: #05050c;
    --gui-text: #ffffff;
    --gui-text-muted: #6b7080;
    --gui-text-secondary: #8b90a8;
    --gui-track: #1e1e35;
    border-color: #1a1a30;
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.08), 0 0 0 1px rgba(0, 229, 255, 0.1);
}

.gui-window.menu-compact .gui-content {
    padding: 14px 16px;
}

.gui-window.menu-compact .gui-section-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.gui-window.menu-compact .gui-row {
    padding: 10px 14px;
    margin-bottom: 8px;
}

.gui-window.menu-compact .gui-titlebar {
    padding: 10px 14px;
}

.gui-window.menu-compact .gui-tab {
    padding: 10px 18px;
}

.gui-window.minimized {
    max-height: 72px;
}

.gui-window.minimized .gui-tabs,
.gui-window.minimized .gui-content {
    display: none;
}

.gui-window.closing {
    opacity: 0;
    transform: scale(0.95);
}

/* Title Bar */
.gui-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--gui-bar);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s;
}

.gui-window.theme-light .gui-titlebar {
    border-bottom-color: #e2e6f5;
}

.gui-title-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gui-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gui-accent);
    box-shadow: 0 0 8px var(--gui-accent-glow);
    flex-shrink: 0;
    transition: background 0.3s, box-shadow 0.3s;
}

.gui-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gui-text);
    line-height: 1.3;
    transition: color 0.3s;
}

.gui-version {
    font-size: 11px;
    color: var(--gui-text-muted);
    line-height: 1.3;
    transition: color 0.3s;
}

.gui-window-controls {
    display: flex;
    gap: 8px;
}

.gui-btn-min,
.gui-btn-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gui-dropdown);
    border: 1px solid var(--gui-track);
    color: var(--gui-text-secondary);
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gui-window.theme-light .gui-btn-min,
.gui-window.theme-light .gui-btn-close {
    background: #eef0ff;
    border-color: #d8dcf0;
}

.gui-btn-min:hover,
.gui-btn-close:hover {
    background: var(--gui-row);
    color: var(--gui-text);
}

/* Tabs */
.gui-tabs {
    display: flex;
    background: var(--gui-bar);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s;
}

.gui-window.theme-light .gui-tabs {
    border-bottom-color: #e2e6f5;
}

.gui-tab {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gui-text-muted);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s;
    position: relative;
}

.gui-tab:hover:not(.active) {
    color: var(--gui-text-secondary);
}

.gui-tab.active {
    color: var(--gui-accent);
    background: rgba(255, 255, 255, 0.03);
    border-bottom-color: var(--gui-accent);
}

.gui-window.theme-light .gui-tab.active {
    background: #eef0ff;
}

.gui-content {
    padding: 20px;
    background: var(--gui-content);
    min-height: 320px;
    transition: background 0.3s, padding 0.3s;
    overflow: visible;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.gui-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gui-text);
    margin-bottom: 4px;
    transition: color 0.3s;
}

.gui-section-subtitle {
    font-size: 13px;
    color: var(--gui-text-muted);
    margin-bottom: 14px;
    transition: color 0.3s;
}

.gui-divider {
    border: none;
    border-top: 1px solid var(--gui-track);
    margin: 0 0 16px;
    transition: border-color 0.3s;
}

.gui-panel-footer {
    margin-top: 20px;
    font-size: 11px;
    color: var(--gui-text-muted);
    transition: color 0.3s;
}

.gui-panel[data-panel="home"] .gui-section-title {
    margin-bottom: 16px;
}

/* Rows */
.gui-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gui-row);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: background 0.3s, padding 0.3s;
    position: relative;
    overflow: visible;
}

.gui-row-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gui-text);
    flex-shrink: 0;
    transition: color 0.3s;
}

.gui-slider-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gui-accent);
    transition: color 0.3s;
}

.gui-slider-wrap {
    position: relative;
    width: 100%;
    height: 18px;
    margin-top: 4px;
}

.gui-slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gui-track);
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}

.gui-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 18px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.gui-slider::-webkit-slider-runnable-track {
    height: 18px;
    background: transparent;
    border: none;
}

.gui-slider::-moz-range-track {
    height: 18px;
    background: transparent;
    border: none;
}

.gui-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    margin-top: 4px;
}

.gui-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.gui-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transform: translateY(2px);
}

.gui-row-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 4px;
}

.gui-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.gui-row:last-child {
    margin-bottom: 0;
}

.gui-panel {
    display: none;
}

.gui-panel.active {
    display: block;
    animation: panelIn 0.25s ease;
}

.gui-title-text {
    display: flex;
    flex-direction: column;
}

/* Dropdown */
.gui-dropdown {
    position: relative;
    flex: 1;
    max-width: 68%;
    margin-left: 16px;
    min-height: 40px;
    z-index: 1;
}

.gui-dropdown.open {
    z-index: 30;
}

.gui-dropdown__surface {
    border: 1px solid var(--gui-track);
    border-radius: 8px;
    background: var(--gui-dropdown);
    overflow: hidden;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.3s;
}

.gui-dropdown.open .gui-dropdown__surface {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-color: var(--gui-accent);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    z-index: 31;
}

.gui-window.theme-light .gui-dropdown.open .gui-dropdown__surface {
    box-shadow: 0 12px 28px rgba(74, 118, 253, 0.12);
}

.gui-dropdown__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--gui-text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.gui-dropdown__value {
    flex: 1;
    text-align: left;
}

.gui-dropdown__arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--gui-text-muted);
    margin-left: 10px;
    transition: transform 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.gui-dropdown.open .gui-dropdown__arrow {
    transform: rotate(180deg);
    border-top-color: var(--gui-text-secondary);
}

.gui-dropdown__menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--gui-dropdown);
    transition: background 0.3s;
}

.gui-window.theme-light .gui-dropdown__menu {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.gui-dropdown.open .gui-dropdown__menu {
    display: block;
    animation: panelIn 0.15s ease;
}

.gui-dropdown__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gui-window.theme-light .gui-dropdown__item {
    color: rgba(26, 29, 46, 0.45);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.gui-dropdown__item:last-child {
    border-bottom: none;
    border-radius: 0 0 7px 7px;
}

.gui-dropdown__check {
    font-size: 14px;
    color: var(--gui-accent);
    opacity: 0;
    font-weight: 700;
    line-height: 1;
    transition: opacity 0.15s, color 0.3s;
}

.gui-dropdown__item.active {
    color: var(--gui-text);
    background: transparent;
}

.gui-window.theme-light .gui-dropdown__item.active {
    color: var(--gui-text);
}

.gui-dropdown__item.active .gui-dropdown__check {
    opacity: 1;
}

.gui-dropdown__item:hover {
    color: var(--gui-text);
    background: rgba(255, 255, 255, 0.03);
}

.gui-window.theme-light .gui-dropdown__item:hover {
    background: rgba(74, 118, 253, 0.06);
}

.gui-toggle {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--gui-track);
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
    border: none;
    padding: 0;
}

.gui-toggle.on {
    background: var(--gui-accent);
}

.gui-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.gui-toggle.on .gui-toggle__thumb {
    transform: translateX(20px);
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 24px;
    animation: fadeUp 0.6s ease 0.4s both;
}

.site-footer p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.site-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.site-footer__links a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.site-footer__links a:hover {
    color: var(--accent);
}

.site-footer__sep {
    color: var(--text-muted);
    font-size: 13px;
}

.site-footer a {
    color: var(--text-secondary);
    font-weight: 500;
}

.site-footer a:hover {
    color: var(--accent);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #1a1d2e;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== Animations ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .gui-preview {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

.btn-copy.copied {
    border-color: #4ade80;
    color: #4ade80;
}

@media (max-width: 600px) {
    .site-header {
        padding: 16px;
    }

    .page {
        padding: 0 16px 40px;
    }

    .hero {
        padding: 28px 0 36px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .script-card {
        padding: 24px 20px;
    }

    .gui-content {
        padding: 16px;
    }

    .gui-section-title {
        font-size: 22px;
    }

    .gui-dropdown {
        min-width: 50%;
    }

    .btn-social {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* ===== Key System GUI extras ===== */
.gui-input {
    flex: 1;
    max-width: 68%;
    margin-left: 16px;
    padding: 10px 14px;
    background: var(--gui-dropdown);
    border: 1px solid var(--gui-track);
    border-radius: 8px;
    color: var(--gui-text);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s, background 0.3s;
}

.gui-input::placeholder {
    color: var(--gui-text-muted);
}

.gui-input:focus {
    border-color: var(--gui-accent);
}

.gui-btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    margin-top: 12px;
    background: var(--gui-accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    text-decoration: none;
}

.gui-btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--gui-accent-glow);
    color: #ffffff;
}

.gui-btn-action--link {
    display: flex;
}

.gui-window.theme-neon .gui-btn-action {
    background: linear-gradient(90deg, #00ffc2 0%, #00a8ff 50%, #0047ff 100%);
    box-shadow: 0 4px 24px rgba(0, 229, 255, 0.25);
}

.gui-window.theme-light .gui-btn-action {
    background: #4a76fd;
}

.gui-panel[data-panel="auth"] .gui-section-title {
    margin-bottom: 16px;
}

/* ===== Checkpoint / Key pages ===== */
.page--center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
}

.checkpoint-card,
.key-result-card {
    width: 100%;
    max-width: 480px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    animation: fadeUp 0.5s ease both;
}

.checkpoint-card__title,
.key-result-card__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
}

.checkpoint-card__text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.checkpoint-card__error {
    color: #f87171;
    font-size: 14px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(248, 113, 113, 0.08);
    border-radius: var(--radius-sm);
}

.checkpoint-card__hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.checkpoint-card__back {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkpoint-card__back:hover {
    color: var(--accent);
}

.btn-get-key--secondary {
    margin-top: 12px;
    background: var(--gui-row);
    box-shadow: none;
    border: 1px solid var(--card-border);
}

.key-display {
    font-family: var(--mono);
    font-size: clamp(14px, 3vw, 18px);
    padding: 20px 16px;
    background: #0a0b10;
    border: 1px dashed var(--card-border);
    border-radius: var(--radius-sm);
    word-break: break-all;
    margin: 20px 0;
    color: #c3e88d;
}

.key-result-card__meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.btn-copy--large {
    width: 100%;
    justify-content: center;
}

.btn-get-key--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.checkpoint-timer {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin: 8px 0 20px;
}

.key-result-card--error .key-result-card__title {
    color: #f87171;
}
