:root {
    --primary: #ffd700; /* Gold */
    --hover: #ffea00;
    --bg-dark: #0f111a;
    --card-bg: rgba(20, 25, 40, 0.7);
    --border: rgba(255, 215, 0, 0.3);
    
    --coins-color: #ffd700;
    
    --text-glow: 0 0 10px rgba(255, 215, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.bg-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.6);
    transform: scale(1.1);
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(15,17,26,0.3) 0%, rgba(15,17,26,0.8) 100%);
    z-index: 1;
}

.ambient-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 60vh;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 60%);
    z-index: 2;
    filter: blur(50px);
    animation: pulseBg 4s infinite alternate;
}

@keyframes pulseBg {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Recent Activity Feed */
.recent-activity {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    width: 90%;
    max-width: 320px;
}

.activity-item {
    background: rgba(10, 15, 25, 0.85);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: slideInDown 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, fadeOutUp 0.5s 4.5s forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.act-avatar i {
    font-size: 24px;
    color: var(--primary);
    text-shadow: var(--text-glow);
}

.act-info {
    font-size: 0.8rem;
    line-height: 1.3;
}

.act-user {
    font-weight: 700;
    color: var(--primary);
}

.act-res {
    font-weight: 500;
    color: #fff;
    margin-top: 2px;
}

.act-time {
    font-size: 0.7rem;
    color: #aaa;
    display: block;
    margin-top: 3px;
}

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

@keyframes fadeOutUp {
    to { opacity: 0; transform: translateY(-20px); }
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.status-badge {
    display: flex;
    width: max-content;
    margin: 0 auto 20px auto;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.5);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}

.dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
    animation: blink 1s infinite alternate;
}

@keyframes blink { to { opacity: 0.4; } }

.logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 170px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
}

h1 {
    font-size: 1.8rem;
    font-weight: 900;
    text-shadow: var(--text-glow);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

p {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Cards / Steps */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 0 20px rgba(255, 215, 0, 0.05);
    display: none;
    position: relative;
    overflow: hidden;
}

.card.active {
    display: block;
    animation: fadeInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-glow {
    position: absolute;
    top: -50px; left: -50px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}
h2 i { color: var(--primary); }

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px; top: 50%;
    transform: translateY(-50%);
    color: #888;
}

input[type="text"] {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 15px 16px 45px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.platform-selector {
    display: flex;
    gap: 15px;
}

.platform-btn {
    flex: 1;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.platform-btn i { font-size: 1.2rem; color: #aaa; transition: all 0.3s; }

.platform-btn:hover {
    background: rgba(255, 215, 0, 0.05);
}

.platform-btn.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--primary);
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.1);
}

.platform-btn.active i {
    color: var(--primary);
}

.btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #d4af37, #ffd700, #ffea00);
    color: #000;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Resources */
.resource-group {
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.resource-title {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coins-icon { color: var(--coins-color); }

.resource-value {
    font-size: 1.4rem;
    font-weight: 900;
    font-family: monospace;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.premium-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    outline: none;
    transition: .2s;
}

.premium-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border: 3px solid #333;
}
.coins-range::-webkit-slider-thumb { border-color: var(--coins-color); box-shadow: 0 0 15px var(--coins-color); }

/* Console */
.console-wrapper {
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    height: 220px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.console-box {
    padding: 15px;
    height: 100%;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
}

.console-box::-webkit-scrollbar { width: 4px; }
.console-box::-webkit-scrollbar-thumb { background: #0f0; border-radius: 2px; }

.console-line { margin-bottom: 4px; opacity: 0; animation: fadeIn 0.2s forwards; }
.console-line.error { color: #ff3333; text-shadow: 0 0 5px #ff3333; }
.console-line.success { color: #00ffff; text-shadow: 0 0 5px #00ffff; }
.console-line.warning { color: #ffeb3b; text-shadow: 0 0 5px #ffeb3b; }

@keyframes fadeIn { to { opacity: 1; } }

.scanner-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 15px 2px #0f0;
    animation: scan 2s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.progress-bar-container {
    width: 100%;
    height: 15px;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0f0, #00ff88);
    box-shadow: 0 0 10px #0f0;
    transition: width 0.3s ease;
}

.highlight-pulse {
    position: relative;
    overflow: hidden;
}

.highlight-pulse::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: pulse 1.5s infinite;
}

@keyframes pulse { to { left: 200%; } }

/* Verification */
.verification {
    text-align: center;
}

.error-glow {
    background: radial-gradient(circle, rgba(255,51,51,0.2) 0%, transparent 70%);
}

.shield-icon {
    font-size: 3.5rem;
    color: #ff3333;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255,51,51,0.5);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

.verification h2 {
    justify-content: center;
    color: #ff3333;
    border: none;
    margin-bottom: 15px;
}

.highlight-text {
    color: var(--primary);
    font-size: 1.1em;
}

.resources-summary {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.2);
}

.rs-item {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-verify {
    background: linear-gradient(45deg, #ff3333, #ff0055);
    color: #fff;
    box-shadow: 0 5px 20px rgba(255, 51, 51, 0.4);
    margin-top: 10px;
    text-decoration: none;
}

.btn-verify:hover {
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.6);
}

@media (max-width: 480px) {
    .container { padding: 15px; }
    h1 { font-size: 1.5rem; }
    .card { padding: 25px 15px; }
}
