/* ===== RzCash - Ana Stil Dosyası ===== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 0.6rem 0;
    z-index: 1050;
}

.navbar-brand {
    font-size: 1.3rem;
    color: var(--text) !important;
}

.navbar .nav-link {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar .nav-link:hover {
    color: var(--primary);
    background: rgba(99,102,241,0.08);
}

.coins-badge {
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Main Content */
.main-content {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 80px 0;
    margin-top: -10px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card-header {
    background: white;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

/* Stats Cards */
.stat-card {
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-card .stat-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 2.5rem;
    opacity: 0.2;
}

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

.stat-card .stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
}

.stat-gradient-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.stat-gradient-2 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.stat-gradient-3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-gradient-4 { background: linear-gradient(135deg, #10b981, #059669); }

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.balance-card .balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
}

.balance-card .balance-equiv {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* How It Works */
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-card .step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
}

.step-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Offerwall Cards */
.offerwall-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.offerwall-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.offerwall-card .offerwall-header {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.offerwall-card .offerwall-header i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Task Cards */
.task-card {
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: white;
    transition: all 0.2s;
}

.task-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.task-reward {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99,102,241,0.4);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 10px;
    font-weight: 600;
}

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

/* Tables */
.table {
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    border: none;
    padding: 0.8rem 1rem;
}

.table tbody td {
    padding: 0.8rem 1rem;
    vertical-align: middle;
    border-color: #f1f5f9;
}

/* Status Badges */
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-completed { background: #dbeafe; color: #1e40af; }

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 0.6rem 1rem;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
}

/* Footer */
.site-footer {
    background: #8894a9;
    color: #94a3b8;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.site-footer h5, .site-footer h6 {
    color: white;
}

.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: white;
}

/* Auth Pages */
.auth-container {
    max-width: 480px;
    margin: 2rem auto;
    padding: 2rem;
}

.auth-card {
    border-radius: 20px;
    padding: 2.5rem;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.auth-card h2 {
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Referral */
.referral-link-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.referral-link-box input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 0.9rem;
}

/* Withdrawal Method Cards */
.method-card {
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.method-card:hover, .method-card.active {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(99,102,241,0.15);
}

.method-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: none;
    color: var(--text);
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .balance-card .balance-amount {
        font-size: 1.8rem;
    }
    .stat-card .stat-value {
        font-size: 1.4rem;
    }
    .auth-container {
        padding: 1rem;
    }
    .auth-card {
        padding: 1.5rem;
    }
    .navbar .coins-badge {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 70px;
    }
    .hero-section h1 {
        font-size: 1.6rem;
    }
    .balance-card {
        padding: 1.5rem;
    }
    .balance-card .balance-amount {
        font-size: 1.5rem;
    }
}

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

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

/* Offerwall iframe container */
.offerwall-iframe-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.offerwall-iframe-container iframe {
    width: 100%;
    min-height: 600px;
    border: none;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}
