/* Atlas Panel Surface System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --bg-900: #04060d;
    --bg-800: #070b14;
    --bg-700: #0d1323;
    --surface-100: #11182b;
    --surface-200: #161e33;
    --surface-300: #1d2742;
    --surface-400: #202f52;
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-strong: rgba(255, 255, 255, 0.12);
    --accent: #7c7bff;
    --accent-soft: #5de0c1;
    --accent-warm: #ffb374;
    --success: #4ade80;
    --warning: #facc15;
    --error: #fb7185;
    --text-strong: #f5f6ff;
    --text-default: #c7cbe6;
    --text-muted: #8d96bc;
    --shadow-soft: 0 25px 45px rgba(2, 6, 23, 0.45);
    --shadow-card: 0 18px 35px rgba(3, 7, 18, 0.55);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --transition-base: 200ms cubic-bezier(.4,0,.2,1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    background: radial-gradient(circle at top left, rgba(92, 224, 193, 0.12), transparent 45%),
                radial-gradient(circle at 80% 20%, rgba(124, 123, 255, 0.15), transparent 50%),
                var(--bg-900);
    color: var(--text-default);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.4;
    pointer-events: none;
    background: url('data:image/svg+xml,%3Csvg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-opacity="0.08"%3E%3Cpath stroke="%23ffffff" stroke-width="0.5" d="M0 0h400v400H0z"/%3E%3Cpath d="M0 50h400M0 100h400M0 150h400M0 200h400M0 250h400M0 300h400M0 350h400M50 0v400M100 0v400M150 0v400M200 0v400M250 0v400M300 0v400M350 0v400" stroke="%23ffffff" stroke-width="0.3"/%3E%3C/g%3E%3C/svg%3E');
}

a {
    color: var(--accent-soft);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent);
}

p {
    margin: 0 0 1rem 0;
    color: var(--text-default);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

code {
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: rgba(124, 123, 255, 0.08);
    border: 1px solid rgba(124, 123, 255, 0.2);
    color: var(--accent);
    font-size: 0.9rem;
}

/* Scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 123, 255, 0.7) rgba(20, 26, 45, 0.7);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 26, 45, 0.7);
}

::-webkit-scrollbar-thumb {
    background: rgba(124, 123, 255, 0.7);
    border-radius: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-strong);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 2.6vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2vw, 2.2rem); }
h3 { font-size: 1.4rem; }

/* Forms */
label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: var(--text-strong);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(15, 20, 34, 0.75);
    color: var(--text-strong);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-soft);
    outline: none;
    box-shadow: 0 0 0 3px rgba(93, 224, 193, 0.25);
    background: rgba(20, 27, 46, 0.95);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

/* Buttons */
.btn,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
    color: white;
    box-shadow: 0 15px 30px rgba(92, 224, 193, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(92, 224, 193, 0.35);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-strong);
}

.btn-secondary:hover {
    border-color: var(--accent-soft);
    color: var(--accent-soft);
}

.btn-soft {
    background: rgba(124, 123, 255, 0.1);
    color: var(--accent);
}

.btn-soft:hover {
    background: rgba(124, 123, 255, 0.2);
}

.btn-link {
    background: transparent;
    color: var(--accent-soft);
    padding-left: 0;
    padding-right: 0;
}

.btn-link:hover {
    color: var(--accent);
}

.btn[disabled],
button[disabled],
input[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Layout */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    padding: clamp(32px, 3vw, 52px);
    width: calc(100% - 280px);
    box-sizing: border-box;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-header-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(124, 123, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
}

.page-header h1 {
    margin: 0;
    color: var(--text-strong);
    font-size: 2rem;
}

.page-header .subtitle {
    margin: 0;
    color: var(--text-muted);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 1024px) {
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 2.5rem 1.5rem;
    }
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(17, 24, 39, 0.75);
    color: var(--text-default);
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 1rem 0;
}

.alert i {
    font-size: 1.1rem;
}

.alert-error {
    border-color: rgba(251, 113, 133, 0.4);
    color: var(--error);
    background: rgba(251, 113, 133, 0.08);
}

.alert-success {
    border-color: rgba(74, 222, 128, 0.35);
    color: var(--success);
    background: rgba(74, 222, 128, 0.08);
}

.alert-warning {
    border-color: rgba(250, 204, 21, 0.45);
    color: var(--warning);
    background: rgba(250, 204, 21, 0.08);
}

/* Tables */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: rgba(17, 24, 39, 0.6);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.modern-table th,
.modern-table td {
    padding: 0.9rem 1.1rem;
    text-align: left;
}

.modern-table th {
    background: rgba(255, 255, 255, 0.02);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.modern-table tr + tr td {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.modern-table tr:hover td {
    background: rgba(124, 123, 255, 0.05);
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 13, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base);
    z-index: 90;
}

.modal-overlay.shown {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: min(620px, 92vw);
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(13, 19, 35, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base), opacity var(--transition-base);
    z-index: 99;
}

.modal.shown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-default);
}

.modal-close:hover {
    border-color: var(--accent-soft);
    color: var(--accent-soft);
}

/* Utility text colors */
.text-success { color: var(--success) !important; }
.text-error { color: var(--error) !important; }
.text-warning { color: var(--warning) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center !important; }

/* Badges */
.badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-badge.active,
.badge-active {
    background: rgba(74, 222, 128, 0.16);
    color: var(--success);
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.status-badge.expired,
.badge-expired {
    background: rgba(251, 113, 133, 0.16);
    color: var(--error);
    border: 1px solid rgba(251, 113, 133, 0.4);
}

.badge-premium {
    background: rgba(124, 123, 255, 0.18);
    border: 1px solid rgba(124, 123, 255, 0.3);
    color: var(--accent);
}

.badge-admin {
    background: rgba(255, 179, 116, 0.16);
    border: 1px solid rgba(255, 179, 116, 0.4);
    color: var(--accent-warm);
}

.badge-free {
    background: rgba(141, 150, 188, 0.12);
    border: 1px solid rgba(141, 150, 188, 0.25);
    color: var(--text-muted);
}

/* Clipboard helper button */
.btn-copy {
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: rgba(17, 24, 39, 0.8);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-copy:hover {
    background: rgba(124, 123, 255, 0.12);
    border-color: rgba(124, 123, 255, 0.35);
    color: var(--text-strong);
}

/* Comments */
.comment {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(14, 20, 35, 0.8);
    border: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}

.comment .author {
    font-weight: 600;
    color: var(--accent-soft);
}

.comment .contents {
    margin-top: 0.4rem;
    color: var(--text-default);
}

.leave-comment form {
    margin-top: 1rem;
}

/* Responsive helpers */
@media (max-width: 992px) {
    body {
        background-position: center;
    }
}

@media (max-width: 640px) {
    .modal {
        padding: 1.5rem;
    }

    .btn,
    button {
        width: 100%;
    }
}

/* Dashboard - Profile */
.profile-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: rgba(11, 15, 28, 0.92);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
}

.profile-avatar-large {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
}

.profile-header-info h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    color: var(--text-strong);
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.profile-member-since {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 1.5rem;
    align-items: flex-start;
}

.profile-card {
    background: rgba(11, 15, 28, 0.92);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-header {
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
    margin: 0;
    font-size: 1.05rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.card-body {
    padding: 1.35rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
}

.info-label i {
    color: var(--accent-soft);
}

.info-value {
    color: var(--text-strong);
    font-weight: 600;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-strong);
    text-decoration: none;
    transition: transform var(--transition-base), border var(--transition-base);
}

.action-link + .action-link {
    margin-top: 0.75rem;
}

.action-link:hover {
    border-color: rgba(124, 123, 255, 0.4);
    transform: translateX(4px);
}

.comments-card {
    min-height: 420px;
}

.comments-list {
    max-height: 520px;
    overflow-y: auto;
}

.comment-item {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(124, 123, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.comment-author {
    font-weight: 600;
    color: var(--accent-soft);
}

.comment-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-leave-comment {
    width: 100%;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--accent-soft);
    font-weight: 600;
}

.comment-input-group textarea {
    min-height: 140px;
}

.comment-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.btn-cancel {
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
}

.btn-submit {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
    color: white;
    border: none;
}

.hwid-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hwid-button {
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-strong);
    font-weight: 600;
}

@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Billing & Purchase */
.subscription-status {
    width: 100%;
}

.status-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: rgba(11, 15, 28, 0.92);
    box-shadow: var(--shadow-card);
}

.status-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.status-icon.active {
    background: rgba(74, 222, 128, 0.16);
    color: var(--success);
}

.status-icon.expired {
    background: rgba(251, 113, 133, 0.16);
    color: var(--error);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: rgba(11, 15, 28, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    position: relative;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-card.featured {
    border-color: rgba(124, 123, 255, 0.5);
}

.pricing-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    padding: 0.3rem 0.75rem;
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(124, 123, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.4rem;
}

.pricing-desc {
    color: var(--text-muted);
    margin: 0;
}

.pricing-select label {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    color: var(--text-strong);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.plan-select {
    width: 100%;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--text-strong);
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-features li {
    display: flex;
    gap: 0.5rem;
    color: var(--text-default);
}

.btn-purchase,
.btn-redeem {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
    box-shadow: 0 18px 35px rgba(124, 123, 255, 0.25);
}

.redeem-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: rgba(11, 15, 28, 0.92);
    padding: 1.4rem;
    box-shadow: var(--shadow-card);
}

.redeem-input-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.redeem-input-group input {
    flex: 1;
    min-width: 220px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(14, 18, 32, 0.85);
}

.feature-icon-small {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.feature-icon-small.purple { background: rgba(124, 123, 255, 0.25); }
.feature-icon-small.blue { background: rgba(91, 167, 255, 0.25); }
.feature-icon-small.pink { background: rgba(251, 113, 133, 0.25); }
.feature-icon-small.cyan { background: rgba(93, 224, 193, 0.25); }

/* FAQ Page */
.faq-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(11, 16, 30, 0.85);
    margin: 1rem 0 1.5rem;
}

.faq-search input {
    background: transparent;
    border: none;
    padding: 0;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.category-btn {
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    background: transparent;
    color: var(--text-default);
    font-weight: 600;
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-btn.active,
.category-btn:hover {
    border-color: rgba(124, 123, 255, 0.4);
    color: var(--accent);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(11, 16, 30, 0.9);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    cursor: pointer;
    gap: 0.75rem;
}

.faq-answer {
    padding: 0 1.2rem 1rem;
    display: none;
    color: var(--text-default);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-item.open .faq-answer {
    display: block;
}

.error-codes {
    display: grid;
    gap: 0.5rem;
}

.error-badge {
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    background: rgba(124, 123, 255, 0.15);
    border: 1px solid rgba(124, 123, 255, 0.3);
    font-size: 0.85rem;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.faq-tip,
.faq-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-public {
    padding: clamp(28px, 4vw, 60px);
}

.navbar-public {
    margin-bottom: 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--text-strong);
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: var(--text-strong);
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        padding: 0.75rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-mobile-toggle {
        display: flex;
    }
}

.btn-nav-login,
.btn-nav-register {
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.btn-nav-login {
    border: 1px solid var(--border-subtle);
    color: var(--text-strong);
}

.btn-nav-register {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
    color: #fff;
}

/* Public Landing */
.navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(5, 7, 13, 0.8);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
}

.hero {
    min-height: 80vh;
    padding: clamp(48px, 6vw, 96px) 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-background,
.hero-gradient,
.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-gradient {
    background: radial-gradient(circle at 25% 45%, rgba(124, 123, 255, 0.15), transparent 60%), radial-gradient(circle at 70% 70%, rgba(93, 224, 193, 0.12), transparent 55%);
    animation: gradientPulse 18s ease-in-out infinite alternate;
}

.hero-particles {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.25;
    animation: drift 35s linear infinite;
}

.hero-content {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(93, 224, 193, 0.12);
    color: var(--accent-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin: 1rem 0;
    color: var(--text-strong);
}

.gradient-text {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-default);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
}

.btn-hero-primary {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-soft) 100%);
    color: #fff;
}

.btn-hero-secondary {
    border: 1px solid var(--border-subtle);
    color: var(--text-strong);
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-strong);
}

.stat-label {
    color: var(--text-muted);
}

.features,
.about {
    padding: clamp(48px, 6vw, 80px) 5vw;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: rgba(11, 15, 28, 0.92);
    transition: transform var(--transition-base), border var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 123, 255, 0.35);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(124, 123, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.feature-icon.purple { background: rgba(124, 123, 255, 0.2); color: var(--accent); }
.feature-icon.blue { background: rgba(91, 167, 255, 0.2); color: #7fb4ff; }
.feature-icon.pink { background: rgba(251, 113, 133, 0.2); color: var(--error); }
.feature-icon.cyan { background: rgba(93, 224, 193, 0.2); color: var(--accent-soft); }
.feature-icon.green { background: rgba(74, 222, 128, 0.2); color: var(--success); }
.feature-icon.orange { background: rgba(241, 147, 25, 0.2); color: #f6c343; }

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-default);
    margin-bottom: 0.4rem;
}

.visual-card {
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    text-align: center;
    color: var(--text-muted);
}

.site-footer {
    background: rgba(5, 7, 13, 0.9);
    border-top: 1px solid var(--border-subtle);
    padding: clamp(32px, 4vw, 60px) 5vw;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 0.5rem;
    color: var(--text-strong);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
}

@keyframes gradientPulse {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50px, -50px, 0); }
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.auth-left {
    background: radial-gradient(circle at top, rgba(124, 123, 255, 0.15), transparent 55%), var(--bg-900);
    padding: clamp(32px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}

.auth-branding h1 {
    font-size: 2.4rem;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-default);
}

.auth-right {
    background: rgba(5, 7, 13, 0.9);
    padding: clamp(32px, 5vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-container {
    width: min(420px, 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    background: rgba(11, 15, 28, 0.95);
    box-shadow: var(--shadow-card);
}

.auth-header h2 {
    margin: 0;
    color: var(--text-strong);
}

.form-group {
    margin-bottom: 1rem;
}

.auth-divider {
    text-align: center;
    margin: 1.2rem 0;
    color: var(--text-muted);
}

.auth-links {
    text-align: center;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--accent-soft);
}

/* Banned Page */
.banned-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at top, rgba(124, 123, 255, 0.12), transparent 50%);
}

.banned-card {
    max-width: 520px;
    width: 100%;
    text-align: center;
    padding: 2.5rem;
    background: rgba(11, 15, 28, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.banned-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    background: rgba(251, 113, 133, 0.18);
    color: var(--error);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}

.banned-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
