/* Ultra Compact CashYeah Platform - Complete CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #4ade80;
    --primary-green-dark: #22c55e;
    --primary-green-light: #86efac;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #475569;
    --card-bg: #1e293b;
    --card-hover: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 13px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Navigation - Ultra Compact */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-green);
}

.logo-icon {
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 12px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: rgba(74, 222, 128, 0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-balance {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--card-bg);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    font-size: 11px;
}

.balance-amount {
    font-weight: 600;
    color: var(--primary-green);
}

.channel-selector select {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    border: 1px solid var(--primary-green);
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    gap: 2px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Hero Section - Ultra Compact */
.hero {
    background: var(--bg-primary);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(74, 222, 128, 0.1);
    color: var(--primary-green);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 400px;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.6rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

/* Phone Mockup - Compact */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    transform: perspective(800px) rotateY(-10deg) rotateX(3deg);
    transition: transform 0.3s ease;
}

.phone-frame {
    width: 240px;
    height: 480px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 15px 12px;
    overflow: hidden;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.app-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-green);
}

.balance-card {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 15px;
}

.balance-value {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 3px;
}

.balance-change {
    font-size: 0.7rem;
    opacity: 0.8;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.7rem;
}

.task-reward {
    font-weight: 700;
    color: var(--primary-green);
    margin-left: auto;
}

/* Trust Stats - Compact */
.trust-stats {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
   
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.stat-description {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Features Section - Compact */
.features {
    padding: 40px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.feature-icon {
    margin-bottom: 1rem;
}

.icon-bg {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.feature-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.feature-stats {
    display: flex;
    gap: 0.5rem;
}

.feature-stats .stat {
    background: rgba(74, 222, 128, 0.1);
    color: var(--primary-green);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* How to Earn - Compact */
.how-to-earn {
    padding: 40px 0;
    background: var(--bg-primary);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    max-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.step-features {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.step-features .feature {
    background: rgba(74, 222, 128, 0.1);
    color: var(--primary-green);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: bold;
    align-self: center;
}

/* Earn Page Specific - Ultra Compact */
.how-it-works-earn {
    padding: 80px 0 40px;
    background: var(--bg-primary);
}

.page-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Filters Section - Compact */
.filters-section {
    padding: 1rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.filters-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.filter-group select,
.search-group input {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.search-group {
    display: flex;
    gap: 0.3rem;
}

.search-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Featured Offers - Ultra Compact */
.featured-offers {
    padding: 2rem 0;
    background: var(--bg-primary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.offer-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.offer-icon {
    width: 35px;
    height: 35px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid var(--border-color);
}

.offer-info {
    flex: 1;
}

.offer-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.offer-provider {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.offer-reward {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-green);
}

.offer-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.offer-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.offer-tag {
    background: rgba(74, 222, 128, 0.1);
    color: var(--primary-green);
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 500;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.offer-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.offer-actions {
    display: flex;
    gap: 0.3rem;
}

.offer-btn {
    flex: 1;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

.offer-btn-secondary {
    background: var(--card-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Pagination - Compact */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    gap: 0.3rem;
}

.page-btn {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8rem;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.results-info {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Offer Walls - Compact */
.offer-walls {
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.walls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.wall-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wall-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.wall-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.wall-logo {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid var(--border-color);
}

.wall-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.wall-rating {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.wall-status.online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.wall-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.wall-stats .stat {
    text-align: center;
}

.wall-stats .stat-number {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 0.8rem;
    display: block;
}

.wall-stats .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.wall-description {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.wall-btn {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Surveys - Compact */
.surveys {
    padding: 2rem 0;
    background: var(--bg-primary);
}

.surveys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

.survey-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.survey-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.survey-logo {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    font-weight: 800;
}

.survey-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.survey-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.survey-features {
    margin-bottom: 1rem;
}

.survey-features .feature {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.survey-btn {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Social Tasks - Compact */
.social-tasks {
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.social-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.social-content h3 {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.social-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.social-reward {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.reward-amount {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.social-progress {
    margin-top: 0.8rem;
}

.progress-bar {
    background: var(--bg-tertiary);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.progress-fill {
    background: var(--primary-green);
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

/* Login/Register Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 80px 20px 20px;
}

.auth-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.form-input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.auth-submit {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

/* Dashboard */
.dashboard {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.dashboard-header {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.welcome-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.welcome-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dashboard-balance {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 150px;
}

.balance-label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.balance-value {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.balance-change {
    font-size: 0.7rem;
    opacity: 0.8;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}

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

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.recent-activity {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.activity-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.activity-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.activity-amount {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quick-action {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quick-action:hover {
    background: var(--card-hover);
    border-color: var(--primary-green);
}

.action-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.action-content {
    flex: 1;
}

.action-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.action-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Cashout Page */
.cashout-page {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.region-selector {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.region-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.region-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.region-value {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.9rem;
}

.region-change {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.cashout-section {
    margin-bottom: 2rem;
}

.cashout-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.payout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.payout-option {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.payout-option:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
}

.payout-option.bonus::before {
    content: '+30% bonus';
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--primary-green);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.payout-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.payout-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.payout-min {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.balance-info {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.balance-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.balance-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Help Center */
.help-center {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.help-search {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.help-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-link {
    background: var(--card-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.category-link.active,
.category-link:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.help-section {
    margin-bottom: 3rem;
}

.help-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.help-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

.help-article {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.help-article:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
}

.help-article h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.help-article p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.contact-support {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.contact-support h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-support p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.chat-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Footer - Compact */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.footer-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-stat {
    text-align: center;
}

.footer-stat .stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.footer-stat .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-link {
    width: 35px;
    height: 35px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.language-selector h4 {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.language-selector select {
    width: 100%;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.legal-section ul {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Modal Styles - Compact */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.9rem;
}

.modal-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

/* Notification Styles - Compact */
.notification {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    font-size: 0.8rem;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 3px solid var(--success);
}

.notification.error {
    border-left: 3px solid var(--error);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notification-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 0.7rem;
}

/* Loading Styles - Compact */
.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--bg-tertiary);
    border-top: 3px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    color: var(--text-primary);
}

.loading-text {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design - Ultra Compact */
@media (max-width: 1200px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links,
    .nav-right {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .phone-mockup {
        transform: none;
    }
    
    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .filters-container {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0.5rem 10px;
    }
    
    .hero {
        padding: 70px 0 30px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .page-title {
        font-size: 1.4rem;
    }
    
    .offers-grid,
    .walls-grid,
    .surveys-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1rem;
    }
    
    .wall-stats,
    .survey-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-container {
        padding: 0 10px;
    }
    
    .help-search {
        padding: 0 10px;
    }
    
    .help-articles {
        grid-template-columns: 1fr;
    }
}

/* Additional compact styles for very small elements */
.btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
}

.text-xs {
    font-size: 0.7rem;
}

.text-sm {
    font-size: 0.8rem;
}

.gap-xs {
    gap: 0.3rem;
}

.gap-sm {
    gap: 0.5rem;
}

.p-xs {
    padding: 0.3rem;
}

.p-sm {
    padding: 0.5rem;
}

.m-xs {
    margin: 0.3rem;
}

.m-sm {
    margin: 0.5rem;
}

/* Blog Styles - Missing CSS */
.blog-page {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--primary-green);
    text-decoration: none;
}

.blog-search {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 0.5rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.blog-main {
    display: flex;
    flex-direction: column;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.blog-author {
    color: var(--primary-green);
    font-weight: 600;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-green-light);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
}

.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.recent-post {
    padding: 0.8rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recent-post:hover {
    background: var(--card-hover);
}

.recent-post h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.recent-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.language-select {
    width: 100%;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
}

/* Partners Section - Missing CSS */
.partners {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.partner-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
}

.partner-logo {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.partner-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Blog Preview Section - Missing CSS */
.blog-preview {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.blog-preview .blog-image {
    height: 120px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1rem;
}

.blog-category {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--primary-green);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.blog-placeholder {
    font-size: 2rem;
}

.blog-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.blog-stats .stat {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* FAQ Section - Missing CSS */
.faq {
    padding: 40px 0;
    background: var(--bg-primary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-green);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-toggle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.2rem 1.2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.8rem;
}

/* Step Visual for How to Earn */
.step-visual {
    margin-top: 1rem;
    text-align: center;
}

.visual-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(74, 222, 128, 0.3);
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* Missing button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--card-hover);
    border-color: var(--primary-green);
}

.btn-icon {
    font-size: 0.9rem;
}

/* Tutorial Toggle for Earn Page */
.tutorial-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tutorial-btn {
    background: var(--card-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.tutorial-btn.active,
.tutorial-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.step-card.detailed {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.step-card.detailed:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
}

/* Dashboard Missing CSS */
.dashboard-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 80px 0 40px;
    min-height: 100vh;
}

.dashboard-welcome {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.dashboard-welcome h1 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-welcome p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-stat:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.quick-actions {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.quick-actions h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.action-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--card-hover);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.action-icon {
    font-size: 1rem;
}

.recent-activity {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.recent-activity h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.activity-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.activity-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.activity-amount {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Help page missing CSS */
.help-page {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    min-height: 100vh;
}

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

.help-search {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 0.5rem;
}

.help-search input {
    flex: 1;
    padding: 0.8rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.help-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-link {
    background: var(--card-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.category-link.active,
.category-link:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.help-content {
    max-width: 800px;
    margin: 0 auto;
}

.help-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

.help-article {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.help-article:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
}

.help-article h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.help-article p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.8rem;
}

.help-article .article-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Login/Register pages missing footer */
.auth-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

.auth-footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.auth-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-footer .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.auth-footer .footer-links a:hover {
    color: var(--primary-green);
}

/* Fix header balance and auth buttons */
.user-balance {
    background: linear-gradient(135deg, #000000, #00762c);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
    min-width: 80px;
}

.balance-icon {
    font-size: 0.9rem;
}

.balance-amount {
    font-size: 0.8rem;
    font-weight: 700;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn, .register-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn {
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
}

.login-btn:hover {
    background: var(--card-hover);
    border-color: var(--primary-green);
}

.register-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border: 1px solid var(--primary-green);

    display: flex;
    flex-direction: column;
}

.auth-container {
    flex: 1;
    
    align-items: center;
 
    padding: 80px 0 2rem;
}

/* Missing no-offers styles */
.no-offers {
    text-align: center;
    padding: 3rem 1rem;
    grid-column: 1 / -1;
}

.no-offers-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-offers h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.no-offers p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Filter tags */
.filter-tag {
    background: var(--primary-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.2rem;
}

.filter-tag .remove {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.filter-tag .remove:hover {
    opacity: 1;
}

/* ===== COMPLETE DASHBOARD STYLES ===== */

/* Dashboard Page Layout */
.dashboard-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding: 6rem 0 2rem;
}

/* Dashboard Welcome Section - Fixed colors */
.dashboard-welcome {
    text-align: center;
    margin-bottom: 2.5rem;
}

.dashboard-welcome h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary) !important; /* Force dark text */
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.dashboard-welcome p {
    font-size: 1.1rem;
    color: var(--text-muted) !important; /* Force readable text */
    font-weight: 500;
}

/* Dashboard Stats Grid */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-stat {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: auto;
}

.dashboard-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    padding: 0.6rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.stat-details {
    flex: 1;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Dashboard Main Content */
.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Quick Actions */
.quick-actions {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.quick-actions h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.action-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
}

.action-icon {
    font-size: 1rem;
}

/* Recent Activity */
.recent-activity {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(74, 222, 128, 0.1);
    transform: translateX(4px);
}

.activity-icon {
    font-size: 1.5rem;
    background: var(--primary-green);
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.activity-amount {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 0.9rem;
}

/* Active Tasks */
.active-tasks {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.tasks-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-card {
    background: var(--bg-secondary);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.task-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.2);
    transform: translateY(-1px);
}

.task-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.task-icon {
    font-size: 1.5rem;
}

.task-info {
    flex: 1;
}

.task-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.task-provider {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.task-reward {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1rem;
}

.task-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    background: var(--border-color);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.task-actions {
    display: flex;
    gap: 0.5rem;
}

/* Earnings Chart */
.earnings-chart {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.chart-container {
    margin-top: 1.5rem;
}

.chart-placeholder {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 200px;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.chart-bar {
    background: linear-gradient(180deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 4px 4px 0 0;
    flex: 1;
    display: flex;
    align-items: start;
    justify-content: center;
    padding-top: 8px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Achievements */
.achievements {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.achievement-count {
    background: var(--primary-green);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.achievement-item {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.achievement-item.completed {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.2);
}

.achievement-item:not(.completed) {
    background: var(--bg-secondary);
    opacity: 0.7;
}

.achievement-icon {
    font-size: 1.2rem;
}

.achievement-details {
    flex: 1;
}

.achievement-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
}

.achievement-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.achievement-progress {
    font-size: 0.7rem;
    color: var(--primary-green);
    font-weight: 500;
}

/* Referral Section */
.referral-section {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.referral-card {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
}

.referral-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.referral-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.referral-desc {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.referral-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.referral-stat {
    text-align: center;
}

.referral-number {
    font-size: 1.2rem;
    font-weight: 700;
}

.referral-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Support Section */
.support-section {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-option:hover {
    background: rgba(74, 222, 128, 0.1);
    transform: translateX(4px);
}

.support-icon {
    font-size: 1.2rem;
}

.support-text {
    flex: 1;
}

.support-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
}

.support-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== COMPLETE AUTH FORMS STYLES ===== */

/* Auth Page Layout */
.auth-page {
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-container {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: 0 1rem;
    
    min-height: 600px;
    border: 1px solid var(--border-color);
}

/* Auth Visual Section */
.auth-visual {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.auth-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.signup-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 1.2rem;
}

.benefit-text {
    font-weight: 600;
}

.auth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(74, 222, 128, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Auth Form Container */
.auth-form-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Form Elements */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.country-code {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 10px 0 0 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    border-right: none;
    min-width: 80px;
}

.country-code + .form-input {
    border-radius: 0 10px 10px 0;
    border-left: none;
    padding-left: 0.8rem;
}

.password-toggle {
    position: absolute;
    right: 0.8rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.strength-fill {
    height: 100%;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--primary-green);
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.forgot-password {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Auth Submit Button */
.auth-submit {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

.btn-text {
    flex: 1;
}

.btn-icon {
    font-size: 1.1rem;
}

/* Social Login */
.social-login {
    margin: 1.5rem 0;
}

.divider {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: var(--card-bg);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-buttons {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

.social-btn:hover {
    border-color: var(--primary-green);
    background: rgba(74, 222, 128, 0.05);
}

.social-icon {
    font-size: 1rem;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-switch {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

/* ===== MODAL STYLES ===== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
}

.modal-body {
    padding: 1.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-sidebar {
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        margin: 0 0.5rem;
    }
    
    .auth-visual {
        padding: 1.5rem;
        order: 2;
    }
    
    .auth-form-container {
        padding: 1.5rem;
        order: 1;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-right .user-balance {
        display: none;
    }
}

@media (max-width: 480px) {
    .dashboard-welcome h1 {
        font-size: 1.8rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ===== NOTIFICATION SYSTEM ===== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
    border-left: 4px solid;
    border: 1px solid var(--border-color);
}

.notification.success {
    border-left-color: var(--primary-green);
}

.notification.error {
    border-left-color: #ff4444;
}

.notification.warning {
    border-left-color: #ff8800;
}

.notification.info {
    border-left-color: #4488ff;
}

.notification-content {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    padding: 1rem;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.notification-message {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.2rem;
    flex-shrink: 0;
}

.notification-close:hover {
    color: var(--text-primary);
}

/* ===== LOADING OVERLAY ===== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.loading-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-message {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* ===== MODAL ADDITIONAL STYLES ===== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.chart-mini {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 60px;
    gap: 4px;
    margin-bottom: 0.8rem;
}

.chart-mini .chart-bar {
    background: var(--primary-green);
    border-radius: 2px;
    flex: 1;
}

.category-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
    font-size: 0.85rem;
}

.achievement-progress {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.progress-item span {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
}

.task-modal-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.task-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.task-modal-reward {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
}

.task-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: end;
}

.task-provider {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.task-difficulty {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.task-difficulty.easy {
    background: rgba(74, 222, 128, 0.2);
    color: var(--primary-green);
}

.task-difficulty.medium {
    background: rgba(255, 187, 0, 0.2);
    color: #cc8800;
}

.task-difficulty.hard {
    background: rgba(255, 68, 68, 0.2);
    color: #cc0000;
}

.task-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.task-description h3,
.task-requirements h3,
.task-tips h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.task-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.task-requirements ul,
.task-tips ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.task-requirements li,
.task-tips li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.task-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Referral Modal Styles */
.referral-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.referral-bonus {
    text-align: center;
    padding: 1rem;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.referral-bonus h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.referral-code-section,
.referral-link-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.referral-code-section label,
.referral-link-section label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.code-input {
    display: flex;
    gap: 0.5rem;
}

.code-input input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    font-size: 0.85rem;
    color: var(--text-primary);
}

.copy-btn {
    padding: 0.8rem 1rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
}

.share-buttons h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

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

.share-btn {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.share-btn:hover {
    border-color: var(--primary-green);
    background: rgba(74, 222, 128, 0.05);
    transform: translateY(-1px);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

/* ===== ADDITIONAL RESPONSIVE IMPROVEMENTS ===== */

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        order: -1;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        margin: 0 0.5rem;
    }
    
    .auth-visual {
        order: 2;
        padding: 1.5rem;
    }
    
    .auth-form-container {
        order: 1;
        padding: 1.5rem;
    }
    
    .dashboard-page {
        padding: 5rem 0 2rem;
    }
    
    .dashboard-welcome h1 {
        font-size: 1.8rem;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .dashboard-stat {
        padding: 0.8rem;
    }
    
    .stat-icon {
        font-size: 1.2rem;
        min-width: 35px;
        height: 35px;
        padding: 0.5rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-share {
        grid-template-columns: 1fr;
    }
    
    .referral-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .task-actions {
        flex-direction: column;
    }
    
    .nav-right .user-balance {
        display: none;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-sidebar {
        order: -1;
    }
}

@media (max-width: 480px) {
    .dashboard-page {
        padding: 4rem 0 2rem;
    }
    
    .dashboard-welcome h1 {
        font-size: 1.4rem;
    }
    
    .dashboard-welcome p {
        font-size: 0.9rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .dashboard-stat {
        padding: 0.6rem;
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }
    
    .stat-icon {
        font-size: 1rem;
        min-width: 30px;
        height: 30px;
        padding: 0.4rem;
    }
    
    .stat-value {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .auth-title {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .notification {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }
    
    .container {
        padding: 0 10px;
    }
}

/* ===== OFFERWALL MODAL STYLES ===== */

.offerwall-modal-content {
    max-width: 1000px;
    width: 95%;
    height: 90vh;
    max-height: 90vh;
}

.offerwall-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.offerwall-info h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.offerwall-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.close-offerwall {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-offerwall:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.offerwall-iframe-container {
    position: relative;
    height: calc(90vh - 160px);
    background: var(--bg-primary);
}

#offerwallIframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    display: none;
}

.iframe-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.iframe-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.iframe-loading p {
    font-size: 0.9rem;
}

.offerwall-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.offerwall-tips {
    text-align: center;
}

.offerwall-tips p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
}

.error-message h4 {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.error-message p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .offerwall-modal-content {
        width: 98%;
        height: 95vh;
        max-height: 95vh;
    }
    
    .offerwall-iframe-container {
        height: calc(95vh - 140px);
    }
    
    .offerwall-header {
        padding: 0.8rem 1rem;
    }
    
    .offerwall-footer {
        padding: 0.8rem 1rem;
    }
}

/* ===== LEADERBOARD STYLES ===== */

.leaderboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.leaderboard-content {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 2rem;
}

.podium-container {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.podium-place {
    text-align: center;
    position: relative;
    padding: 1rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.podium-place.first {
    order: 2;
    transform: scale(1.1);
    border-color: var(--primary-green);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.2);
}

.podium-place.second {
    order: 1;
}

.podium-place.third {
    order: 3;
}

.podium-rank {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.podium-avatar {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.podium-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.podium-earnings {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.podium-badge {
    font-size: 1.2rem;
}

.leaderboard-table {
    background: var(--card-bg);
}

.table-header {
    display: grid;
    grid-template-columns: 60px 1fr 120px 80px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-body {
    max-height: 400px;
    overflow-y: auto;
}

.table-row {
    display: grid;
    grid-template-columns: 60px 1fr 120px 80px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    align-items: center;
}

.table-row:hover {
    background: var(--bg-secondary);
}

.table-row:last-child {
    border-bottom: none;
}

.rank-number {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-avatar {
    font-size: 1.5rem;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.user-country {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.col-earnings {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.col-tasks {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.level-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.your-position {
    margin: 2rem 0;
    padding: 0 1.5rem;
}

.position-card {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 60px 1fr 120px 80px 100px;
    gap: 1rem;
    align-items: center;
}

.position-rank {
    font-weight: 700;
    font-size: 1rem;
}

.position-user {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.position-avatar {
    font-size: 1.5rem;
}

.position-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.position-country {
    font-size: 0.75rem;
    opacity: 0.8;
}

.position-earnings {
    font-weight: 700;
    font-size: 0.9rem;
}

.position-tasks {
    font-size: 0.9rem;
}

.position-level .level-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.leaderboard-rewards {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.leaderboard-rewards h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.reward-card {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.reward-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.reward-rank {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.reward-prize {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.reward-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .leaderboard-tabs {
        flex-direction: column;
    }
    
    .podium-container {
        flex-direction: column;
        align-items: center;
    }
    
    .podium-place.first {
        order: 1;
        transform: scale(1);
    }
    
    .podium-place.second {
        order: 2;
    }
    
    .podium-place.third {
        order: 3;
    }
    
    .table-header,
    .table-row,
    .position-card {
        grid-template-columns: 50px 1fr 80px;
        gap: 0.8rem;
    }
    
    .col-tasks,
    .col-level,
    .position-tasks,
    .position-level {
        display: none;
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== COMPACT AUTH STYLES ===== */

.auth-page.compact {
    padding: 1rem 0;
    min-height: calc(100vh - 80px);
}

.auth-container.compact {
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
}

.auth-visual.compact {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.auth-icon.compact {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-title.compact {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.auth-subtitle.compact {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.signup-benefits.compact {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.benefit.compact {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--bg-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.benefit-icon.compact {
    font-size: 0.9rem;
}

.benefit-text.compact {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-form-container .auth-form {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    display: block;
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.7rem 0.7rem 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-submit {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.social-login {
    margin: 1.5rem 0;
}

.divider {
    text-align: center;
    margin: 1rem 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.divider span {
    background: var(--card-bg);
    padding: 0 0.8rem;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border-color);
    z-index: -1;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.social-btn {
    padding: 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.social-btn:hover {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

.social-icon {
    font-size: 0.9rem;
}

.auth-footer.compact {
    text-align: center;
    margin-top: 1rem;
}

.auth-switch {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.country-code {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    padding: 0.7rem 0.5rem;
    font-size: 0.75rem;
    color: var(--text-primary);
    width: 80px;
}

.input-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.strength-fill {
    height: 100%;
    background: var(--primary-green);
    width: 30%;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 0.75rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input {
    width: 16px;
    height: 16px;
}

.forgot-password {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.75rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.password-toggle {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .auth-container.compact {
        max-width: 350px;
        padding: 0.8rem;
    }
    
    .auth-form-container .auth-form {
        padding: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .signup-benefits.compact {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .auth-container.compact {
        max-width: 300px;
        padding: 0.5rem;
    }
    
    .auth-title.compact {
        font-size: 1.3rem;
    }
    
    .auth-subtitle.compact {
        font-size: 0.8rem;
    }
    
    .benefit-text.compact {
        font-size: 0.7rem;
    }
}

/* ===== ANIMATION ADDITIONS ===== */

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== UTILITY CLASSES ===== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

.slide-up {
    animation: slideUp 0.3s ease;
}

.bounce {
    animation: bounce 2s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}