/* CoinClickers - Professional GPT Site Styles */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e1e2e;
    --dark-light: #2a2a3e;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.navbar-brand i {
    color: var(--warning);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-admin {
    color: var(--warning);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-coins {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-100);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--warning);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-success {
    background: var(--secondary);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 4px 8px;
    font-size: 0.75rem;
}

.btn-block {
    width: 100%;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    margin: 0;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--warning);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-buttons .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.hero-stats .stat-label {
    opacity: 0.8;
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    height: 400px;
}

.coin-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    color: var(--warning);
    opacity: 0.3;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-800);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-1 i { color: var(--secondary); }

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
}

.card-2 i { color: var(--primary); }

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.card-3 i { color: var(--warning); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Sections */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 40px;
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-500);
}

/* Earn Ways */
.earn-ways {
    padding: 80px 0;
}

.earn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.earn-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.2s;
}

.earn-card:hover {
    transform: translateY(-5px);
}

.earn-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.earn-icon.surveys { background: #dbeafe; color: #2563eb; }
.earn-icon.videos { background: #fce7f3; color: #db2777; }
.earn-icon.offers { background: #d1fae5; color: #059669; }
.earn-icon.referrals { background: #fef3c7; color: #d97706; }
.earn-icon.daily { background: #e0e7ff; color: #4f46e5; }
.earn-icon.promo { background: #fce7f3; color: #be185d; }

.earn-card h3 {
    margin-bottom: 10px;
}

.earn-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.earn-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.earn-badge.hot {
    background: var(--danger);
}

/* Rewards Preview */
.rewards-preview {
    padding: 80px 0;
    background: var(--white);
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.reward-preview-card {
    text-align: center;
    padding: 30px;
    background: var(--gray-100);
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.reward-preview-card:hover {
    transform: translateY(-5px);
}

.reward-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.reward-icon.paypal { background: #003087; color: var(--white); }
.reward-icon.amazon { background: #ff9900; color: var(--white); }
.reward-icon.steam { background: #1b2838; color: var(--white); }
.reward-icon.bitcoin { background: #f7931a; color: var(--white); }
.reward-icon.giftcard { background: var(--primary); color: var(--white); }
.reward-icon.crypto { background: #2775ca; color: var(--white); }

.reward-preview-card h4 {
    margin-bottom: 5px;
}

.reward-preview-card p {
    color: var(--gray-500);
}

/* CTA */
.cta {
    background: var(--dark);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--gray-400);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-content strong {
    color: var(--warning);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 60px 0 30px;
    margin-top: auto;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h4 i {
    color: var(--warning);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: 30px;
    text-align: center;
}

/* Auth Pages */
.auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-card {
    padding: 50px;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray-500);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.auth-form .input-icon input {
    padding-left: 45px;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.bonus-notice {
    background: #fef3c7;
    color: #92400e;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    color: var(--gray-500);
}

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

.auth-info {
    background: var(--gradient);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-info h2 i {
    color: var(--warning);
}

.auth-benefits {
    list-style: none;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.auth-benefits i {
    color: var(--secondary);
}

/* Dashboard */
.dashboard {
    padding: 40px 0;
    flex: 1;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.dashboard-header p {
    color: var(--gray-500);
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.page-header h1 i {
    color: var(--primary);
}

.page-header p {
    color: var(--gray-500);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card.primary {
    background: var(--gradient);
    color: var(--white);
}

.stat-card.primary .stat-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.stat-card.primary .stat-label {
    color: rgba(255,255,255,0.8);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

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

.stat-label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

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

.dashboard-main,
.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.card-header h3 i {
    color: var(--primary);
}

.card-body {
    padding: 25px;
}

/* Daily Bonus */
.daily-bonus-card .card-body {
    text-align: center;
}

.daily-available .streak-info {
    margin-bottom: 20px;
}

.streak-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.streak-label {
    color: var(--gray-500);
}

.streak-tip {
    margin-top: 15px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.daily-claimed {
    color: var(--gray-500);
}

.daily-claimed i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.streak-current {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin: 10px 0;
}

.next-claim {
    font-size: 0.9rem;
}

/* Offer List */
.offer-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.offer-item.featured {
    border-left: 4px solid var(--warning);
}

.offer-item.completed {
    opacity: 0.7;
}

.offer-info .offer-type {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.offer-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.offer-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

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

.offer-coins {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 8px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.action-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--gray-700);
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.action-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.action-card span {
    font-weight: 600;
}

/* Promo Form */
.promo-form {
    display: flex;
    gap: 10px;
}

.promo-form input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

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

/* Referral Link */
.referral-info {
    margin-bottom: 15px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.referral-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.referral-link-box input {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    background: var(--gray-100);
}

.referral-code {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 15px;
}

/* Activity List */
.activity-list {
    list-style: none;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.activity-icon.positive {
    background: #d1fae5;
    color: #059669;
}

.activity-icon.negative {
    background: #fee2e2;
    color: #dc2626;
}

.activity-info {
    flex: 1;
}

.activity-desc {
    display: block;
    font-size: 0.9rem;
}

.activity-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.activity-amount {
    font-weight: 700;
}

.activity-amount.positive {
    color: #059669;
}

.activity-amount.negative {
    color: #dc2626;
}

/* Earn Categories */
.earn-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.earn-category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--gray-800);
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.earn-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.earn-category-card .category-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.category-icon.offers { background: #cffafe; color: #0e7490; }
.category-icon.surveys { background: #dbeafe; color: #2563eb; }
.category-icon.videos { background: #fce7f3; color: #db2777; }
.category-icon.signups { background: #d1fae5; color: #059669; }
.category-icon.downloads { background: #fef3c7; color: #d97706; }
.category-icon.polls { background: #e0e7ff; color: #4f46e5; }
.category-icon.all { background: var(--gray-200); color: var(--gray-600); }

.category-info {
    flex: 1;
}

.category-info h3 {
    margin-bottom: 3px;
}

.category-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 3px;
}

.category-count {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.earn-category-card > i {
    color: var(--gray-400);
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tip i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.tip h4 {
    margin-bottom: 5px;
}

.tip p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.offerwall-toolbar {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.offerwall-frame {
    width: 100%;
    height: min(80vh, 900px);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
}

.offerwall-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Offer Filters */
.offer-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border-radius: 25px;
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

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

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.offer-card.featured {
    border: 2px solid var(--warning);
}

.offer-card.completed {
    opacity: 0.7;
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.offer-badge.featured {
    background: var(--warning);
    color: var(--white);
}

.offer-badge.completed {
    background: var(--secondary);
    color: var(--white);
}

.offer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.offer-type-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.offer-type-icon.survey { background: #dbeafe; color: #2563eb; }
.offer-type-icon.video { background: #fce7f3; color: #db2777; }
.offer-type-icon.signup { background: #d1fae5; color: #059669; }
.offer-type-icon.download { background: #fef3c7; color: #d97706; }
.offer-type-icon.poll { background: #e0e7ff; color: #4f46e5; }

.offer-header .offer-coins {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--warning);
}

.offer-body {
    flex: 1;
    margin-bottom: 20px;
}

.offer-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.offer-body p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.offer-requirements {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* Rewards Page */
.rewards-balance {
    margin-bottom: 30px;
}

.balance-card {
    background: var(--gradient);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
}

.balance-label {
    display: block;
    opacity: 0.8;
    margin-bottom: 5px;
}

.balance-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.reward-section {
    margin-bottom: 40px;
}

.reward-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reward-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.reward-card:hover {
    transform: translateY(-5px);
}

.reward-card.locked {
    opacity: 0.6;
}

.reward-card .reward-icon {
    margin: 0 auto 15px;
}

.reward-card h3 {
    margin-bottom: 8px;
}

.reward-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.reward-cost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 15px;
}

.rewards-footer {
    text-align: center;
    margin-top: 30px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-400);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Referral Page */
.referral-hero {
    background: var(--gradient);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.referral-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

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

.ref-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.ref-stat-label {
    opacity: 0.8;
}

.referral-share {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: var(--radius-sm);
}

.referral-share h3 {
    margin-bottom: 15px;
}

.share-box {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.share-box input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.referral-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.how-it-works-list {
    list-style: none;
    counter-reset: item;
}

.how-it-works-list li {
    counter-increment: item;
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
}

.how-it-works-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.how-it-works-list li strong {
    display: block;
    margin-bottom: 5px;
}

.how-it-works-list li p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.reward-tier {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
}

.reward-tier:last-child {
    border-bottom: none;
}

.tier-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tier-info strong {
    display: block;
    margin-bottom: 3px;
}

.tier-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive .table th,
.table-responsive .table td {
    white-space: nowrap;
}

.sort-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.sort-icon {
    opacity: 0.6;
    font-size: 0.85em;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
}

.table tbody tr:hover {
    background: var(--gray-100);
}

.table-sm th,
.table-sm td {
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-survey { background: #dbeafe; color: #2563eb; }
.badge-video { background: #fce7f3; color: #db2777; }
.badge-signup { background: #d1fae5; color: #059669; }
.badge-download { background: #fef3c7; color: #d97706; }
.badge-poll { background: #e0e7ff; color: #4f46e5; }
.badge-paypal { background: #003087; color: var(--white); }
.badge-giftcard { background: var(--primary); color: var(--white); }
.badge-crypto { background: #2775ca; color: var(--white); }
.badge-user { background: var(--gray-200); color: var(--gray-700); }
.badge-admin { background: var(--warning); color: var(--white); }
.badge-offer, .badge-bonus, .badge-referral, .badge-promo, .badge-admin, .badge-withdrawal, .badge-refund {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* Status */
.status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active, .status-completed { background: #d1fae5; color: #065f46; }
.status-open { background: #dbeafe; color: #1e40af; }
.status-closed { background: #e5e7eb; color: #374151; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-inactive, .status-rejected, .status-suspended, .status-banned, .status-deleted {
    background: #fee2e2;
    color: #991b1b;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.page-info {
    color: var(--gray-500);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--gray-700);
}

.empty-state .btn {
    margin-top: 15px;
}

.empty-state.full-width {
    grid-column: 1 / -1;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group.checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-group.checkbox input {
    width: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.settings-form .form-group {
    margin-bottom: 15px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    color: var(--gray-500);
}

.info-value {
    font-weight: 500;
}

/* Status Legend */
.status-legend {
    margin-top: 30px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.status-legend h4 {
    margin-bottom: 15px;
}

.status-legend ul {
    list-style: none;
}

.status-legend li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Info Banner */
.info-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #e0e7ff;
    color: #3730a3;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
}

.info-banner i {
    font-size: 1.5rem;
}

/* Admin */
.admin-dashboard {
    padding: 40px 0;
    flex: 1;
}

.admin-header {
    margin-bottom: 20px;
}

.admin-header h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
}

.admin-header h1 i {
    color: var(--warning);
}

.admin-nav {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 5px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-nav-link {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.2s;
}

.admin-nav-link:hover {
    background: var(--gray-100);
}

.admin-nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-icon.users { background: #dbeafe; color: #2563eb; }
.stat-icon.active { background: #d1fae5; color: #059669; }
.stat-icon.offers { background: #fef3c7; color: #d97706; }
.stat-icon.pending { background: #fce7f3; color: #db2777; }
.stat-icon.coins { background: #fef3c7; color: #d97706; }
.stat-icon.paid { background: #d1fae5; color: #059669; }

.admin-stat-card .stat-value {
    font-size: 1.5rem;
}

.wallet-address {
    display: inline-block;
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82rem;
    line-height: 1.1rem;
    word-break: break-all;
    cursor: pointer;
}

.wallet-address:hover {
    color: var(--gray-900);
    text-decoration: underline;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.admin-analytics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.admin-analytics-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-analytics-label {
    color: var(--gray-600);
    font-weight: 600;
}

.admin-analytics-select {
    padding: 8px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-800);
    font-weight: 600;
}

.admin-analytics-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 10px;
}

.admin-analytics-summary-item {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.admin-analytics-summary-label {
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-analytics-summary-value {
    margin-top: 4px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-800);
}

.admin-analytics-note {
    margin-top: 6px;
}

.admin-chart {
    position: relative;
    height: 340px;
}

.inline-form {
    display: inline;
}

.search-form {
    display: flex;
    gap: 5px;
}

.search-form input {
    padding: 8px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
}

.status-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

tr.inactive {
    opacity: 0.5;
}

.text-warning {
    color: var(--warning);
}

.text-muted {
    color: var(--gray-300);
}

.positive {
    color: #059669;
}

.negative {
    color: #dc2626;
}

/* Error Page */
.error-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

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

.error-icon {
    font-size: 5rem;
    color: var(--warning);
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.error-content p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .earn-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .referral-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        flex-direction: column;
        box-shadow: var(--shadow);
    }

    .navbar-menu.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .features-grid,
    .earn-grid,
    .earn-categories {
        grid-template-columns: 1fr;
    }

    .rewards-grid {
        grid-template-columns: 1fr;
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-info {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-nav {
        flex-wrap: wrap;
    }

	    .admin-grid {
	        grid-template-columns: 1fr;
	    }

	    .admin-analytics-summary {
	        grid-template-columns: repeat(2, 1fr);
	    }

	    .table {
	        display: block;
	        overflow-x: auto;
	    }

    .referral-stats {
        flex-direction: column;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
}
