:root {
    --bg-main: #060911;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-active: rgba(16, 185, 129, 0.4);
    
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.35);
    --cyan: #06b6d4;
    --discord: #5865f2;
    --discord-hover: #4752c4;
    --steam: #171a21;
    --steam-btn: #1b2838;
    --steam-hover: #2a475e;
    --warning: #facc15;
    --danger: #ef4444;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Rajdhani', monospace, monospace;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Lighting */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.25;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #10b981;
    top: -100px;
    left: 10%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: #5865f2;
    bottom: -150px;
    right: 5%;
    animation-duration: 25s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #06b6d4;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(40px) scale(1.08); }
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 10;
    background: rgba(6, 9, 17, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-badge {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--primary-glow);
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.accent-text {
    color: var(--primary);
}

.brand-subtitle {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.discord-link {
    background: rgba(88, 101, 242, 0.15);
    color: #8ea1e1;
    border: 1px solid rgba(88, 101, 242, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-link:hover {
    background: var(--discord);
    color: #fff;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
}

.logout-link {
    color: var(--text-dim);
}

.logout-link:hover {
    color: var(--danger);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    flex: 1;
}

/* Hero */
.hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.hero-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 20%, var(--primary) 70%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Alert Banner */
.alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.alert-warning {
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.alert-icon {
    font-size: 24px;
}

.alert-body h4 {
    color: var(--warning);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.alert-body p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.alert-actions {
    display: flex;
    gap: 12px;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Steps Progress */
.steps-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid var(--border-color);
    color: var(--text-dim);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    transition: all 0.3s ease;
    text-align: center;
}

.step-item.active .step-circle {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.step-item.active .step-label {
    color: #fff;
}

.step-item.active.warning .step-circle {
    border-color: var(--warning);
    color: var(--warning);
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
}

.step-item.completed .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: -18px 8px 0;
    transition: all 0.4s ease;
}

.step-line.filled {
    background: linear-gradient(90deg, var(--primary), var(--cyan));
}

/* Auth Cards */
.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.auth-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.auth-card.card-connected {
    border-color: var(--border-active);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}

.auth-card.card-warning {
    border-color: rgba(250, 204, 21, 0.4);
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.08);
}

.card-warning-msg {
    margin-top: 14px;
    padding: 12px;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 8px;
    font-size: 12px;
    color: var(--warning);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steam-icon {
    background: rgba(23, 26, 33, 0.9);
    color: #c7d5e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-icon {
    background: rgba(88, 101, 242, 0.15);
    color: var(--discord);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
}

.service-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.action-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 40px;
}

/* Form Card */
.activation-form-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border: 1px solid var(--border-active);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.form-header {
    margin-bottom: 24px;
}

.form-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #fff;
    margin-bottom: 6px;
}

.form-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-wrap label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon svg {
    position: absolute;
    left: 16px;
    color: var(--text-dim);
}

.custom-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 14px 16px 14px 48px;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: all 0.25s ease;
}

.custom-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
}

/* Details Grid for Active Whitelist */
.status-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.25);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

@media (max-width: 600px) {
    .status-details-grid {
        grid-template-columns: 1fr;
    }
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    color: #fff;
}

.text-accent {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.detail-code {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 13px;
}

.status-pill-success {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    width: fit-content;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-steam {
    background: linear-gradient(135deg, var(--steam-btn), var(--steam-hover));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-steam:hover {
    box-shadow: 0 4px 16px rgba(42, 71, 94, 0.5);
    transform: translateY(-1px);
}

.btn-discord {
    background: var(--discord);
    color: #fff;
}

.btn-discord:hover {
    background: var(--discord-hover);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--primary-glow);
    transform: scale(1.02);
}

/* User Connected Box */
.user-connected-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 12px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.user-uid {
    font-size: 11px;
    color: var(--text-muted);
}

.user-uid code {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-weight: 600;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.success-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.warning-badge {
    background: rgba(250, 204, 21, 0.15);
    color: var(--warning);
    border: 1px solid rgba(250, 204, 21, 0.3);
}

/* Whitelist Status Panel */
.whitelist-status-panel {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.whitelist-status-panel.status-active {
    border: 1px solid var(--border-active);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(16, 185, 129, 0.08));
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.15);
}

.status-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.success-icon {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.6;
    animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

.status-content {
    flex: 1;
}

.status-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.text-success { color: var(--primary); }

.status-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.info-icon {
    color: var(--cyan);
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.info-card p {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
}

.info-card code {
    color: var(--primary);
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    background: rgba(6, 9, 17, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 12px;
    color: var(--text-dim);
}

.footer-sub {
    font-size: 11px;
    margin-top: 4px;
    color: #475569;
}
