* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #e2e8f0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(90deg, #7c3aed, #db2777);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #fde047;
}

.auth-buttons button {
    margin-left: 12px;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-size: 1rem;
}

.btn-primary {
    background: #db2777;
    color: white;
}

.btn-primary:hover {
    background: #be185d;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #7c3aed;
    color: white;
}

.btn-outline:hover {
    background: rgba(124,58,237,0.15);
}

.large {
    padding: 16px 36px;
    font-size: 1.2rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 140px 20px 100px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&q=80') center/cover;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Ticker (scrolling banner) */
.ticker {
    background: rgba(30, 41, 59, 0.7);
    overflow: hidden;
    padding: 14px 0;
    border-top: 1px solid #7c3aed44;
    border-bottom: 1px solid #db277744;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 35s linear infinite;
    color: #fde047;
    font-weight: 700;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 80px auto;
}

.card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #7c3aed33;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #c084fc;
}

.number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #f472b6;
    margin: 8px 0;
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to bottom, #0f0c29, #1e293b);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.proof-teaser {
    margin-top: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(30,41,59,0.5);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #db277733;
}

.proof-teaser ul {
    list-style: none;
    text-align: left;
    margin-top: 16px;
}

.proof-teaser li {
    margin: 12px 0;
    color: #cbd5e1;
}

/* Footer */
footer {
    background: #0f0c29;
    padding: 60px 0 30px;
    border-top: 1px solid #7c3aed33;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

footer ul {
    list-style: none;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 2;
}

footer a:hover {
    color: #c084fc;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    color: #64748b;
    font-size: 0.95rem;
}
/* ── Dashboard Specific ── */
.dashboard-body {
    background: linear-gradient(135deg, #0f0c29, #1e1e3f, #302b63);
}

.dashboard-header {
    background: linear-gradient(90deg, #7c3aed, #db2777);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.dashboard-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    font-weight: 700;
}

.points-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fde047;
    font-size: 1.2rem;
    font-weight: 700;
}

.logout-btn {
    padding: 8px 20px;
    font-size: 0.95rem;
}

/* Drawer */
.drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    height: 100%;
    background: #1e293b;
    box-shadow: 4px 0 25px rgba(0,0,0,0.6);
    transition: left 0.3s ease;
    z-index: 300;
    color: white;
}

.drawer.open {
    left: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 250;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    padding: 20px;
    background: linear-gradient(90deg, #7c3aed, #db2777);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-menu {
    list-style: none;
    padding: 20px 0;
}

.drawer-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.05rem;
    transition: 0.2s;
}

.drawer-menu li a:hover,
.logout-item a {
    background: rgba(124,58,237,0.2);
    color: #fde047;
}

.logout-item a {
    color: #ff6b6b;
}

/* Cards & Sections */
.instructions-card, .tasks-section {
    background: rgba(30,41,59,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid #7c3aed44;
    border-radius: 16px;
    padding: 28px;
    margin: 30px 0;
}

.quick-actions .action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.action-card {
    text-align: center;
    padding: 32px 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.action-card:hover {
    transform: translateY(-8px);
}

.action-card i {
    font-size: 3rem;
    color: #c084fc;
    margin-bottom: 16px;
}

.task-list {
    margin-top: 20px;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #7c3aed33;
}

.task-item:last-child {
    border-bottom: none;
}

.task-info h4 {
    margin-bottom: 4px;
}

.small {
    padding: 10px 18px;
    font-size: 0.95rem;
}