@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;800&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --card-bg: rgba(16, 17, 20, 0.85);
    --primary: #00ff66;
    --primary-glow: rgba(0, 255, 102, 0.35);
    --danger: #ff3344;
    --danger-glow: rgba(255, 51, 68, 0.35);
    --text-main: #ffffff;
    --text-dim: #8c9099;
    --border: #202228;
}

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

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

body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 520px;
    padding: 20px;
    margin: auto;
}

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

.header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.header h1 span {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.header p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 5px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.step-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.step-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 2px;
    width: 100%;
    background: var(--border);
    z-index: 1;
}

.step-node {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #141518;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    transition: 0.3s;
}

.step-node.active {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.step-node.done {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-top: 15px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.key-box {
    background: #0d0e12;
    border: 2px dashed var(--primary);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.key-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    user-select: all;
}

.copy-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(0, 255, 102, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

.cooldown-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.2rem;
    color: var(--danger);
    text-shadow: 0 0 15px var(--danger-glow);
    text-align: center;
    margin: 15px 0;
}

.alert-success {
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    text-align: center;
}