:root {
    --bg-dark: #0a0a0f;
    --panel-bg: rgba(20, 20, 30, 0.6);
    --primary: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.5);
    --secondary: #7000ff;
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.85)), url('wallpaper/wallpaper.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--secondary);
    animation: float 20s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--primary);
    animation: float 15s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10%, 10%); }
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    z-index: 10;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.glitch {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px var(--primary-glow);
    letter-spacing: 2px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.state-section {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
}

.state-section.active {
    display: flex;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.icon-container {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border: 1px solid var(--primary-glow);
}

.icon-container.success {
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Payment Grid */
.payment-grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    text-align: left;
}

.payment-info h3, .payment-action h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.pay-id-box {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.pay-id {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--primary);
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Form */
input[type="text"] {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

.btn-glow {
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Loader */
.loader-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.pulse-ring {
    content: '';
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: pulsate 1.5s infinite;
}

.pulse-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--primary-glow);
}

@keyframes pulsate {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success State */
.password-box {
    background: rgba(0,0,0,0.5);
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 2rem;
}

.pwd-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.pwd-flex code {
    font-size: 1.5rem;
    color: #00ff88;
    letter-spacing: 2px;
}

.expiration-warning {
    color: #ff3366;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 600;
}
