@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0a0e17;
    --bg-card: #12182b;
    --bg-input: #1a2238;
    --accent: #5C5243;
    --accent-hover: #7a6d5a;
    --accent-dim: rgba(92, 82, 67, 0.2);
    --danger: #ff4757;
    --danger-dim: rgba(255, 71, 87, 0.15);
    --warning: #ffa502;
    --text: #e8ecf4;
    --text-muted: #6b7a99;
    --border: rgba(107, 122, 153, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(92, 82, 67, 0.15), transparent),
                      radial-gradient(ellipse 60% 40% at 100% 100%, rgba(92, 82, 67, 0.1), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.header-brand:hover {
    opacity: 0.9;
}

.brand-icon {
    font-size: 22px;
    opacity: 0.9;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.header-nav a {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #8b7d68);
    transition: width 0.3s ease;
}

.header-nav a:hover {
    color: var(--accent);
}

.header-nav a:hover::after {
    width: 100%;
}

.landing-main {
    padding-top: 72px;
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 48px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(ellipse 60% 50%, rgba(92, 82, 67, 0.18), transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(92, 82, 67, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 82, 67, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.typewriter-wrap {
    display: inline-block;
    min-width: 2ch;
}

.typewriter-cursor {
    animation: blink 0.8s step-end infinite;
    color: var(--accent);
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUpIn 0.8s ease forwards;
}

.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }
.animate-delay-3 { animation-delay: 0.6s; }

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-delay="1"] { transition-delay: 0.15s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.3s; }

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-highlight {
    display: block;
    background: linear-gradient(135deg, var(--accent), #8b7d68);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 500px;
}

.hero-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 500;
}

.hero-features .check {
    color: var(--accent);
    font-weight: 700;
}

.auth-wrapper {
    display: flex;
    justify-content: flex-end;
}

.auth-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(92, 82, 67, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(92, 82, 67, 0.15);
}

.auth-box-header {
    margin-bottom: 28px;
}

.auth-box-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.auth-box-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-page .auth-box {
    max-width: 420px;
}

.auth-page .auth-box-header h2 {
    background: linear-gradient(135deg, var(--accent), #8b7d68);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(92, 82, 67, 0.4);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.feature-card:hover .feature-icon {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
}

.how-section {
    padding: 100px 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 700;
    font-size: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.step p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.step-arrow {
    color: var(--accent);
    font-size: 24px;
    padding-top: 80px;
    opacity: 0.6;
}

.discord-section {
    padding: 80px 0 100px;
    background: rgba(0, 0, 0, 0.15);
}

.discord-section .section-title {
    margin-bottom: 40px;
}

.discord-widget-wrap {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.discord-widget-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent), rgba(139, 125, 104, 0.5));
    border-radius: 24px;
    filter: blur(20px);
    opacity: 0.4;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.discord-widget-wrap:hover .discord-widget-glow {
    opacity: 0.6;
}

.discord-widget-inner {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(92, 82, 67, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discord-widget-wrap:hover .discord-widget-inner {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px -15px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(92, 82, 67, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.discord-widget-inner iframe {
    display: block;
    width: 350px;
    height: 500px;
    max-width: 100%;
}

.discord-section .container {
    text-align: center;
}

.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.footer-brand .brand-icon {
    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-social span {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #7a6d5a);
    color: #f5f0e8;
    width: 100%;
    margin-top: 8px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text);
    border: 1px solid var(--border);
}

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

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #ff6b7a;
}

.auth-links {
    margin-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    background: var(--bg-input);
    padding: 4px;
    border-radius: 12px;
}

.tabs button {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tabs button.active {
    background: var(--accent);
    color: #f5f0e8;
}

.tabs button:hover:not(.active) {
    color: var(--text);
}

.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.navbar-dashboard {
    background: rgba(18, 24, 43, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 122, 153, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand-icon {
    font-size: 18px;
    opacity: 0.9;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.navbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.navbar-link:hover, .navbar-menu a.active {
    color: var(--accent);
}

.navbar-link-admin:hover {
    background: var(--accent-dim);
}

.navbar-link-icon {
    font-size: 14px;
    opacity: 0.8;
}

.navbar-logout {
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.navbar-logout:hover {
    background: var(--danger-dim);
    color: var(--danger);
    border-color: rgba(255, 71, 87, 0.3);
}

.page-header {
    padding: 40px 0 32px;
}

.dashboard-container {
    max-width: 720px;
}

.dashboard-header {
    padding: 48px 0 40px;
}

.dashboard-welcome {
    margin-bottom: 8px;
}

.dashboard-greeting {
    display: block;
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.dashboard-username {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

.dashboard-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-option-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-input);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-option-button {
    font: inherit;
    cursor: pointer;
}

.dashboard-option-card:hover {
    transform: translateY(-2px);
    border-color: rgba(204, 165, 80, 0.45);
    box-shadow: 0 14px 24px -18px rgba(0, 0, 0, 0.85);
}

.dashboard-option-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    flex-shrink: 0;
}

.dashboard-option-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.dashboard-option-card p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

.dashboard-support-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-support-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-input);
    padding: 16px;
}

.dashboard-support-item strong {
    display: block;
    margin-bottom: 8px;
}

.dashboard-support-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
}

.card-guide {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.card-guide-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(92, 82, 67, 0.12), transparent);
    border-bottom: 1px solid var(--border);
}

.card-guide-icon {
    font-size: 24px;
}

.card-guide-header h2 {
    font-size: 20px;
}

.card-guide-body {
    padding: 28px;
}

.guide-step {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.guide-step:last-child {
    margin-bottom: 0;
}

.guide-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
}

.guide-step-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.guide-step-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

.code-inline {
    background: var(--bg-input);
    padding: 4px 10px;
    border-radius: 8px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    color: var(--accent);
}

.code-block {
    margin-top: 12px;
    padding: 16px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow-x: auto;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    color: var(--accent);
}

.profile-section {
    margin-bottom: 28px;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.profile-value {
    font-size: 16px;
    color: var(--text);
}

.profile-password-form .form-group {
    max-width: 320px;
    margin-bottom: 14px;
}

.profile-password-form .form-group:last-of-type {
    margin-bottom: 18px;
}

.profile-licenses {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-empty {
    color: var(--text-muted);
    font-size: 15px;
}

.profile-license-item {
    padding: 16px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.profile-license-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-license-expiry {
    font-size: 14px;
    color: var(--text-muted);
}

.profile-license-key-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-license-key-masked {
    flex: 1;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px 14px;
    background: var(--bg-dark);
    border-radius: 8px;
    user-select: none;
    transition: color 0.2s;
}

.profile-license-key-masked:hover {
    color: var(--accent);
}

.profile-license-key-visible {
    color: var(--accent);
    word-break: break-all;
}

.profile-license-key-row .btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}


.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.table-wrap {
    overflow-x: auto;
    contain: layout style;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 16px 24px;
    text-align: left;
}

th {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

tr:last-child {
    border-bottom: none;
}

tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.license-key {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    color: var(--accent);
    word-break: break-all;
}

.badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: var(--accent-dim);
    color: var(--accent);
}

.badge-danger {
    background: var(--danger-dim);
    color: var(--danger);
}

.badge-warning {
    background: rgba(255, 165, 2, 0.2);
    color: var(--warning);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    max-width: 480px;
    width: 100%;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-wide {
    max-width: 640px;
}

.activations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.activation-info {
    flex: 1;
    min-width: 180px;
}

.activation-info strong {
    display: inline;
    margin-right: 6px;
}

.activation-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.activation-info-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.activation-info-stack > div {
    font-size: 14px;
}

.activation-info-stack a {
    color: var(--accent);
    word-break: break-all;
}

.activation-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.modal h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.flash {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

.flash-success {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(92, 82, 67, 0.4);
}

.flash-error {
    background: var(--danger-dim);
    color: var(--danger);
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.empty-state {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.actions {
    display: flex;
    gap: 8px;
}

.actions .btn {
    padding: 8px 14px;
    font-size: 14px;
}

.btn-icon {
    padding: 8px;
    min-width: 36px;
}

.toast-list {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}

.toast-list > * {
    pointer-events: auto;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateX(120%);
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.toast-success { border-left: 4px solid var(--accent); }
.toast-success .toast-icon { background: var(--accent-dim); color: var(--accent); }

.toast-error { border-left: 4px solid var(--danger); }
.toast-error .toast-icon { background: var(--danger-dim); color: var(--danger); }

.toast-warning { border-left: 4px solid var(--warning); }
.toast-warning .toast-icon { background: rgba(255, 165, 2, 0.2); color: var(--warning); }

.toast-info { border-left: 4px solid #8b7d68; }
.toast-info .toast-icon { background: rgba(139, 125, 104, 0.3); color: #8b7d68; }

.toast-text { flex: 1; font-size: 14px; color: var(--text); }

.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    max-width: 420px;
    width: 100%;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.confirm-overlay.active .confirm-modal {
    transform: scale(1);
}

.confirm-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.confirm-message {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-features { justify-content: center; }
    .auth-wrapper { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .step-arrow { display: none; }
}

@media (max-width: 768px) {
    .auth-box { padding: 32px 24px; }
    th, td { padding: 12px 16px; font-size: 14px; }
    .header-nav { display: none; }
    .footer-content { flex-direction: column; text-align: center; }
    .features-section, .how-section { padding: 60px 0; }
    .section-title { font-size: 28px; margin-bottom: 32px; }
    .navbar-link { padding: 8px 12px; font-size: 13px; }
    .navbar-link-icon { display: none; }
    .dashboard-header { padding: 32px 0 28px; }
    .dashboard-options-grid { grid-template-columns: 1fr; }
    .dashboard-support-list { grid-template-columns: 1fr; }
    .card-guide-body { padding: 20px; }
    .guide-step { flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .guide-step-num { width: 36px; height: 36px; font-size: 14px; }
    .discord-section { padding: 60px 0 80px; }
    .discord-widget-inner iframe { width: 100%; max-width: 350px; }
}

/* ===== Visual refresh overrides ===== */
:root {
    --bg-dark: #080b14;
    --bg-card: #10172a;
    --bg-input: #182238;
    --text: #eef3ff;
    --text-muted: #8b9bb8;
    --border: rgba(139, 155, 184, 0.24);
    --accent: #b08d62;
    --accent-hover: #caa173;
    --accent-dim: rgba(176, 141, 98, 0.18);
}

body {
    background-image:
        radial-gradient(ellipse 75% 45% at 15% -10%, rgba(176, 141, 98, 0.18), transparent),
        radial-gradient(ellipse 60% 35% at 100% 100%, rgba(114, 90, 63, 0.16), transparent),
        linear-gradient(180deg, #080b14 0%, #090f1c 100%);
}

.site-header,
.navbar {
    border-bottom: 1px solid rgba(139, 155, 184, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

.header-nav a,
.navbar-menu a {
    letter-spacing: 0.2px;
}

.navbar-link,
.navbar-menu > a:not(.navbar-logout) {
    border-radius: 10px;
    padding: 10px 14px;
}

.navbar-menu > a:hover:not(.navbar-logout),
.navbar-menu > a.active {
    background: rgba(176, 141, 98, 0.1);
}

.hero-title {
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.hero-desc {
    color: #a9b7d1;
}

.auth-box,
.feature-card,
.step,
.card,
.stat-card,
.modal,
.confirm-modal {
    background: linear-gradient(180deg, rgba(16, 23, 42, 0.95), rgba(12, 18, 33, 0.95));
    border-color: rgba(139, 155, 184, 0.2);
    box-shadow:
        0 18px 36px -20px rgba(0, 0, 0, 0.6),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.auth-box:hover,
.feature-card:hover,
.step:hover,
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(176, 141, 98, 0.42);
    box-shadow:
        0 25px 45px -22px rgba(0, 0, 0, 0.66),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.section-title {
    letter-spacing: 0.3px;
}

.feature-card p,
.step p,
.page-header p,
.dashboard-subtitle,
.profile-empty {
    color: #95a5c3;
}

.step-num,
.guide-step-num {
    box-shadow: 0 6px 18px rgba(176, 141, 98, 0.2);
}

.form-group input,
.form-group select,
.form-group textarea {
    border-color: rgba(139, 155, 184, 0.22);
    box-shadow: 0 0 0 0 rgba(176, 141, 98, 0);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(176, 141, 98, 0.75);
    box-shadow: 0 0 0 4px rgba(176, 141, 98, 0.18);
    background: #1c2944;
}

.btn {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #b08d62 0%, #8e6f4d 100%);
    box-shadow: 0 10px 22px rgba(176, 141, 98, 0.28);
}

.btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(176, 141, 98, 0.34);
}

.btn-secondary {
    background: #16213a;
}

.btn-secondary:hover {
    background: #1b2a48;
    transform: translateY(-1px);
}

.tabs {
    border: 1px solid rgba(139, 155, 184, 0.15);
}

.tabs button.active {
    background: linear-gradient(135deg, #b08d62, #8e6f4d);
    box-shadow: 0 8px 20px rgba(176, 141, 98, 0.24);
}

th {
    background: rgba(9, 13, 23, 0.8);
}

tr:hover {
    background: rgba(176, 141, 98, 0.06);
}

.table-wrap {
    border-radius: 14px;
}

.flash {
    border: 1px solid transparent;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.site-footer {
    background: linear-gradient(180deg, #0d1425 0%, #0a111f 100%);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0b1222;
}

::-webkit-scrollbar-thumb {
    background: #2a3858;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #34486f;
}

@media (max-width: 1024px) {
    .card,
    .stat-card,
    .feature-card,
    .step {
        box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.6);
    }
}

/* ===== v2 neo-glass premium theme ===== */
:root {
    --bg-dark: #050714;
    --bg-card: #0c1430;
    --bg-input: #151f43;
    --accent: #7f5dff;
    --accent-hover: #987fff;
    --accent-dim: rgba(127, 93, 255, 0.2);
    --text: #f5f8ff;
    --text-muted: #9dafd7;
    --border: rgba(178, 196, 255, 0.2);
}

body {
    background:
        radial-gradient(900px 500px at 10% -10%, rgba(127, 93, 255, 0.32), transparent 55%),
        radial-gradient(900px 450px at 100% 0%, rgba(63, 203, 255, 0.2), transparent 60%),
        radial-gradient(800px 450px at 100% 100%, rgba(255, 113, 202, 0.12), transparent 65%),
        linear-gradient(160deg, #050714 0%, #080d22 55%, #070b1c 100%);
    background-attachment: fixed;
}

.site-header,
.navbar {
    background: rgba(5, 7, 20, 0.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(178, 196, 255, 0.24);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

.header-brand,
.navbar-brand {
    color: #baa8ff;
}

.navbar-menu > a {
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 9px 14px;
}

.navbar-menu > a:hover:not(.navbar-logout),
.navbar-menu > a.active {
    background: linear-gradient(180deg, rgba(127, 93, 255, 0.17), rgba(127, 93, 255, 0.07));
    border-color: rgba(152, 127, 255, 0.46);
    box-shadow: 0 10px 26px -16px rgba(127, 93, 255, 0.85);
}

.hero-highlight {
    background: linear-gradient(135deg, #9075ff 0%, #70e2ff 58%, #ff8bd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: #b8c6e8;
}

.hero-features li {
    background: rgba(16, 25, 54, 0.56);
    border: 1px solid rgba(178, 196, 255, 0.14);
    border-radius: 999px;
    padding: 8px 14px;
}

.auth-box,
.feature-card,
.step,
.card,
.card-guide,
.stat-card,
.modal,
.confirm-modal {
    background: linear-gradient(180deg, rgba(17, 26, 56, 0.9), rgba(10, 16, 36, 0.9));
    border: 1px solid rgba(178, 196, 255, 0.2);
    box-shadow:
        0 26px 52px -30px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(178, 196, 255, 0.08) inset,
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.auth-box:hover,
.feature-card:hover,
.step:hover,
.stat-card:hover,
.card-guide:hover {
    transform: translateY(-6px);
    border-color: rgba(152, 127, 255, 0.56);
    box-shadow:
        0 30px 60px -34px rgba(0, 0, 0, 0.95),
        0 0 30px rgba(127, 93, 255, 0.3);
}

.section-title {
    letter-spacing: 0.35px;
    background: linear-gradient(120deg, #f5f8ff 0%, #9fc4ff 58%, #c4adff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p,
.step p,
.page-header p,
.dashboard-subtitle,
.profile-empty,
.guide-step-content p {
    color: #9fb2dc;
}

.step-num,
.guide-step-num {
    background: linear-gradient(135deg, rgba(127, 93, 255, 0.25), rgba(112, 226, 255, 0.2));
    color: #dce8ff;
    box-shadow: 0 12px 24px rgba(127, 93, 255, 0.32);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(21, 31, 67, 0.92);
    border-color: rgba(178, 196, 255, 0.2);
    color: #f5f8ff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8598c6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(152, 127, 255, 0.86);
    box-shadow:
        0 0 0 4px rgba(127, 93, 255, 0.2),
        0 10px 24px -14px rgba(127, 93, 255, 0.62);
    background: rgba(26, 37, 78, 0.98);
    transform: translateY(-1px);
}

.btn {
    border-radius: 12px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #7f5dff 0%, #4d83ff 55%, #44d1ff 100%);
    box-shadow: 0 12px 28px -10px rgba(77, 131, 255, 0.65);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 16px 34px -12px rgba(77, 131, 255, 0.76);
}

.btn-secondary {
    background: rgba(21, 31, 67, 0.88);
    border-color: rgba(178, 196, 255, 0.24);
}

.btn-secondary:hover {
    background: rgba(29, 43, 88, 0.9);
    border-color: rgba(178, 196, 255, 0.36);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4f7c, #ff7a5a);
    border-color: rgba(255, 145, 145, 0.36);
}

.tabs {
    background: rgba(16, 24, 52, 0.92);
    border: 1px solid rgba(178, 196, 255, 0.16);
}

.tabs button.active {
    background: linear-gradient(135deg, #7f5dff, #4d83ff);
    box-shadow: 0 8px 22px rgba(77, 131, 255, 0.42);
}

.table-wrap {
    border: 1px solid rgba(178, 196, 255, 0.14);
    border-radius: 14px;
    background: rgba(12, 18, 40, 0.58);
}

th {
    background: rgba(9, 14, 31, 0.86);
    color: #a4b8e2;
}

tr {
    border-bottom-color: rgba(178, 196, 255, 0.1);
}

tr:hover {
    background: rgba(127, 93, 255, 0.09);
}

.stat-value {
    background: linear-gradient(120deg, #d8e9ff 0%, #b39fff 62%, #7ce5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.license-key,
.code-inline,
.code-block {
    color: #a8dcff;
}

.badge-success {
    background: rgba(127, 93, 255, 0.22);
    color: #cebfff;
}

.badge-danger {
    background: rgba(255, 79, 124, 0.2);
    color: #ff95ae;
}

.badge-warning {
    background: rgba(255, 176, 85, 0.2);
    color: #ffd093;
}

.site-footer {
    background:
        radial-gradient(620px 190px at 50% 0%, rgba(127, 93, 255, 0.17), transparent 70%),
        linear-gradient(180deg, #090f25 0%, #070c1b 100%);
    border-top-color: rgba(178, 196, 255, 0.16);
}

.toast {
    background: linear-gradient(180deg, rgba(17, 25, 54, 0.96), rgba(11, 17, 36, 0.95));
    border-color: rgba(178, 196, 255, 0.24);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a1021;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3a57a6 0%, #735ce1 100%);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4770cc 0%, #8a71ff 100%);
}

@media (max-width: 1024px) {
    .auth-box:hover,
    .feature-card:hover,
    .step:hover,
    .stat-card:hover,
    .card-guide:hover {
        transform: translateY(-3px);
    }
}

/* ===== v3 single-color theme (#cca550) ===== */
:root {
    --accent: #cca550;
    --accent-hover: #d8b469;
    --accent-dim: rgba(204, 165, 80, 0.2);
    --border: rgba(204, 165, 80, 0.2);
}

body {
    background:
        radial-gradient(900px 500px at 8% -12%, rgba(204, 165, 80, 0.22), transparent 56%),
        radial-gradient(800px 440px at 100% 0%, rgba(204, 165, 80, 0.12), transparent 62%),
        radial-gradient(700px 420px at 100% 100%, rgba(204, 165, 80, 0.08), transparent 64%),
        linear-gradient(160deg, #06070f 0%, #0b0d18 52%, #070913 100%);
}

.hero-highlight,
.section-title,
.stat-value,
.dashboard-username {
    background: linear-gradient(135deg, #f3e2bb 0%, #cca550 54%, #9f7931 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-header,
.navbar {
    border-bottom-color: rgba(204, 165, 80, 0.24);
}

.navbar-menu > a:hover:not(.navbar-logout),
.navbar-menu > a.active,
.header-nav a:hover {
    color: #f0ddb4;
}

.navbar-menu > a:hover:not(.navbar-logout),
.navbar-menu > a.active {
    background: linear-gradient(180deg, rgba(204, 165, 80, 0.2), rgba(204, 165, 80, 0.08));
    border-color: rgba(204, 165, 80, 0.44);
    box-shadow: 0 10px 24px -16px rgba(204, 165, 80, 0.9);
}

.hero-features li,
.auth-box,
.feature-card,
.step,
.card,
.card-guide,
.stat-card,
.modal,
.confirm-modal,
.toast,
.table-wrap,
.tabs {
    border-color: rgba(204, 165, 80, 0.22);
}

.auth-box:hover,
.feature-card:hover,
.step:hover,
.stat-card:hover,
.card-guide:hover {
    border-color: rgba(204, 165, 80, 0.5);
    box-shadow:
        0 28px 56px -34px rgba(0, 0, 0, 0.95),
        0 0 28px rgba(204, 165, 80, 0.24);
}

.step-num,
.guide-step-num {
    background: linear-gradient(135deg, rgba(204, 165, 80, 0.26), rgba(204, 165, 80, 0.14));
    box-shadow: 0 10px 22px rgba(204, 165, 80, 0.28);
}

.form-group input,
.form-group select,
.form-group textarea {
    border-color: rgba(204, 165, 80, 0.24);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(204, 165, 80, 0.86);
    box-shadow:
        0 0 0 4px rgba(204, 165, 80, 0.2),
        0 10px 24px -14px rgba(204, 165, 80, 0.55);
}

.btn-primary,
.tabs button.active {
    background: linear-gradient(135deg, #cca550 0%, #b58b3f 60%, #8f6a2a 100%);
    box-shadow: 0 12px 28px -10px rgba(204, 165, 80, 0.62);
}

.btn-primary:hover,
.tabs button.active:hover {
    box-shadow: 0 16px 34px -12px rgba(204, 165, 80, 0.74);
}

.btn-secondary {
    border-color: rgba(204, 165, 80, 0.22);
}

.btn-secondary:hover {
    border-color: rgba(204, 165, 80, 0.36);
}

.btn-danger {
    background: linear-gradient(135deg, #cca550 0%, #b58b3f 100%);
    border-color: rgba(204, 165, 80, 0.4);
}

.badge-success,
.badge-danger,
.badge-warning {
    background: rgba(204, 165, 80, 0.2);
    color: #e7d2a8;
}

th {
    color: #d7bf93;
}

tr:hover {
    background: rgba(204, 165, 80, 0.09);
}

.license-key,
.code-inline,
.code-block,
.header-brand,
.navbar-brand,
.check,
.auth-links a {
    color: #cca550;
}

.site-footer {
    background:
        radial-gradient(620px 190px at 50% 0%, rgba(204, 165, 80, 0.16), transparent 70%),
        linear-gradient(180deg, #0a0d18 0%, #070912 100%);
    border-top-color: rgba(204, 165, 80, 0.2);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0d17;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8f6a2a 0%, #cca550 100%);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a87c31 0%, #d8b469 100%);
}

.team-section {
    padding: 90px 0;
}

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

.team-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    background: var(--bg-card);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 165, 80, 0.46);
    box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.85);
}

.team-avatar {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(204, 165, 80, 0.5);
    margin-bottom: 12px;
}

.team-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.team-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 12px;
    min-height: 48px;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.team-skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(204, 165, 80, 0.28);
    background: rgba(204, 165, 80, 0.12);
    color: #e7d2a8;
    font-size: 12px;
    font-weight: 600;
}

.team-skill-chip img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.skill-select-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.skill-select-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.skill-select-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-input);
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.skill-select-item span img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.skill-select-item input:checked + span {
    border-color: rgba(204, 165, 80, 0.55);
    background: rgba(204, 165, 80, 0.16);
    transform: translateY(-1px);
}

.team-admin-list {
    padding: 16px 24px 24px;
}

.team-admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--border);
    background: var(--bg-input);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.team-admin-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.team-admin-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(204, 165, 80, 0.4);
}

.team-admin-info strong {
    display: block;
    margin-bottom: 4px;
}

.team-admin-info p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .team-grid,
    .skill-select-grid {
        grid-template-columns: 1fr;
    }
    .team-admin-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== v4 image-based polish (assets/img) ===== */
body {
    background-image:
        linear-gradient(160deg, rgba(6, 7, 15, 0.92), rgba(8, 10, 18, 0.92)),
        url("img/hero-glow.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    background-image: url("img/grid-lines.svg");
    background-size: 720px 720px;
    opacity: 0.4;
}

.auth-box,
.feature-card,
.step,
.card,
.card-guide,
.stat-card,
.modal,
.confirm-modal {
    background-image:
        linear-gradient(180deg, rgba(17, 24, 45, 0.94), rgba(10, 15, 30, 0.94)),
        url("img/card-shine.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-card:hover,
.step:hover,
.card:hover,
.stat-card:hover,
.auth-box:hover {
    box-shadow:
        0 30px 56px -32px rgba(0, 0, 0, 0.95),
        0 0 36px rgba(204, 165, 80, 0.22);
}
