/* Color Variables */
:root {
    --primary-bg: #1a1d29;
    --secondary-bg: #252834;
    --card-bg: #2a2d3a;
    --accent-yellow: #FDB022;
    --text-primary: #ffffff;
    --text-secondary: #a0a3b5;
    --border-color: #3a3d4a;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Buttons */
.btn-primary {
    background: var(--accent-yellow);
    color: #1a1d29;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 176, 34, 0.3);
}

.btn-secondary {
    background: var(--secondary-bg);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--accent-yellow);
    background: rgba(253, 176, 34, 0.1);
}

/* Main Content */
.main-content {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Stats Cards */
.stat-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.quick-link-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.quick-link-card:hover {
    transform: translateY(-4px);
    background: var(--secondary-bg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    background: rgba(253, 176, 34, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 28px;
    color: var(--accent-yellow);
}

.quick-link-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.course-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--primary-bg);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-yellow);
    border-radius: 4px;
    transition: width 0.5s;
}

.course-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-progress-text {
    font-size: 12px;
    color: var(--text-secondary);
}

.course-progress-percent {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-yellow);
}

/* Loader */
.loader {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 18px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
