:root {
    --primary: #ff4d4d;
    --secondary: #2d3436;
    --accent: #00d2ff;
    --bg: #0f0f0f;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --text-dim: #b2bec3;
    --glass: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.container {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

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

.system-info {
    margin-bottom: 2rem;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    border-left: 4px solid var(--accent);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.apply-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, #d63031 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(255, 77, 77, 0.3);
    position: relative;
    overflow: hidden;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(255, 77, 77, 0.4);
    filter: brightness(1.1);
}

.apply-btn:active {
    transform: translateY(0);
}

.apply-btn:disabled {
    background: #636e72;
    cursor: not-allowed;
    box-shadow: none;
}

#status-message {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.loading {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: none;
    margin: 10px auto;
}

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

.success { color: #55efc4; }
.error { color: #ff7675; }

/* Background Decoration */
.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.blob-1 { top: -100px; left: -100px; animation: move 10s infinite alternate; }
.blob-2 { bottom: -100px; right: -100px; animation: move 15s infinite alternate-reverse; }

@keyframes move {
    from { transform: translate(0,0); }
    to { transform: translate(50px, 50px); }
}
