:root {
    --bg-color: #0d1117;
    --panel-bg: rgba(22, 27, 34, 0.45);
    --panel-border: rgba(255, 255, 255, 0.1);
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --accent-glow: rgba(88, 166, 255, 0.4);
    --success: #3fb950;
    --success-bg: rgba(63, 185, 80, 0.1);
    --error: #f85149;
    --error-bg: rgba(248, 81, 73, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Background Effects */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.bg-shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29,57,118,1) 0%, rgba(13,17,23,0) 70%);
    top: -200px;
    left: -200px;
}

.bg-shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(19,43,104,1) 0%, rgba(13,17,23,0) 70%);
    bottom: -150px;
    right: -100px;
}

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

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

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #fff, #8b949e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Glass Panels */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.action-card {
    transition: transform 0.3s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--panel-border);
}

.status-badge {
    background: var(--success-bg);
    color: var(--success);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Premium Button */
.button-container {
    display: flex;
    justify-content: center;
}

.glow-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 54px;
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
    background: #6cb3ff;
}

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

.glow-btn:disabled {
    background: #21262d;
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Loader */
.loader {
    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;
}

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

.hidden {
    display: none !important;
}

/* Results Section */
.results-card {
    margin-top: 1.5rem;
    animation: slideUpFade 0.5s ease forwards;
}

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

.results-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-box {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.success-box {
    border-color: rgba(63, 185, 80, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.success-box .stat-value {
    color: var(--success);
}

/* Alerts */
.alert {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    animation: slideUpFade 0.3s ease;
}

.alert.error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(248, 81, 73, 0.3);
}
