:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --accent-color: #fbbf24;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 75%, #93c5fd 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#home-screen {
    background: var(--gradient-hero);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#home-screen::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#home-screen::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Login & Register Wrapper */
.login-wrapper, .register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.login-wrapper::before, .register-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.modal-content {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.modal-content.large {
    max-width: 900px;
}

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

.register-container {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.login-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.register-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-header {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.brand-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-header .logo {
    font-size: 56px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

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

.brand-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.brand-header .tagline {
    font-size: 18px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Forms */
.login-form, .register-form {
    padding: 50px 40px;
    background: white;
    position: relative;
}

.login-form h2, .register-form h2 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 24px;
}

.form-note {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
    padding: 12px;
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.form-group label i {
    margin-right: 5px;
    color: var(--primary-color);
}

.required {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
    transform: translateY(-2px);
}

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

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-secondary);
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-logout {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color), var(--primary-light));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: var(--light-color);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

.btn-large {
    padding: 14px 28px;
    font-size: 17px;
    width: 100%;
    justify-content: center;
}

.btn-logout {
    background: var(--danger-color);
    color: white;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-logout:hover {
    background: #dc2626;
}

/* Navbar */
.navbar {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand i {
    font-size: 24px;
}

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

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

.points-display {
    background: var(--gradient-gold);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.tab {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-secondary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    position: relative;
}

.tab:hover {
    color: var(--primary-color);
    background: #f9fafb;
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.badge {
    background: var(--danger-color);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-left-color: var(--primary-light);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.stat-card h4 {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stat-card p {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h3 {
    color: var(--text-primary);
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tasks Grid */
.tasks-grid, .users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.task-card, .user-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.task-card::before, .user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.task-card:hover::before, .user-card:hover::before {
    transform: scaleX(1);
}

.task-card:hover, .user-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.task-card h4, .user-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 18px;
}

.task-card p, .user-card p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.task-card .points {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
}

.task-card .points::before {
    content: "💰";
    font-size: 20px;
}

.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.pending {
    background: #fef3c7;
    color: #92400e;
}

.status.approved {
    background: #d1fae5;
    color: #065f46;
}

.status.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status.available {
    background: #dbeafe;
    color: #1e40af;
}

.status.waiting {
    background: #f3f4f6;
    color: #374151;
}

/* User Cards */
.user-card {
    cursor: pointer;
}

.user-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
}

.social-link:hover {
    background: #e5e7eb;
}

/* Withdraw Section */
.withdraw-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
}

.balance-card {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.balance-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.balance-amount {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.balance-amount small {
    font-size: 20px;
    opacity: 0.8;
}

.balance-tl {
    font-size: 24px;
    opacity: 0.9;
}

.withdraw-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.info {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    overflow: auto;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-content.large {
    max-width: 900px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    color: white;
}

.modal-content h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-info-box {
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.task-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.task-info-box p {
    margin: 8px 0;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    /* Genel */
    .container {
        padding: 20px 15px;
    }

    /* Navbar */
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .navbar-menu {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .home-navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .navbar-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-nav {
        padding: 8px 16px;
        font-size: 14px;
        flex: 1;
        min-width: 120px;
    }

    /* Hero Section */
    .hero-section {
        grid-template-columns: 1fr;
        padding: 30px 15px;
        gap: 30px;
        min-height: auto;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero-stats-mini {
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mini-stat {
        flex: 1;
        min-width: 100px;
    }

    .mini-stat-number {
        font-size: 20px;
    }

    .mini-stat-label {
        font-size: 11px;
    }

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

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
    }

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

    .floating-card {
        min-width: 90px;
        padding: 12px 8px;
        font-size: 12px;
        position: absolute;
    }

    .floating-card i {
        font-size: 20px;
    }

    .floating-card span {
        font-size: 11px;
    }

    .center-circle {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    /* Mobilde kartları daha iyi konumlandır */
    .card-1 {
        top: 10%;
        left: 10%;
    }

    .card-2 {
        top: 10%;
        right: 10%;
    }

    .card-3 {
        bottom: 25%;
        left: 10%;
    }

    .card-4 {
        bottom: 10%;
        right: 10%;
    }

    .card-1 {
        top: 5%;
        left: 5%;
    }

    .card-2 {
        top: 5%;
        right: 5%;
    }

    .card-3 {
        bottom: 15%;
        left: 5%;
    }

    .card-4 {
        bottom: 5%;
        right: 5%;
    }

    /* Why Section */
    .why-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .why-icon {
        margin: 0 auto;
    }

    .success-stories {
        margin-top: 20px;
    }

    .story-card {
        flex-direction: column;
        text-align: center;
    }

    .story-avatar {
        margin: 0 auto;
    }

    /* How It Works */
    .how-it-works {
        flex-direction: column;
        gap: 20px;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        font-size: 24px;
    }

    /* Platforms */
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .platform-card {
        padding: 30px 15px;
    }

    .platform-card {
        padding: 25px 15px;
    }

    .platform-card {
        padding: 20px 12px;
    }

    .platform-card i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .platform-card h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .platform-card p {
        font-size: 10px;
    }

    /* Stats */
    .stats-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    /* Forms */
    .tasks-grid, .users-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

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

    .withdraw-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 14px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-header h3 {
        font-size: 20px;
    }

    /* Modal */
    .modal-overlay {
        padding: 10px;
    }

    .modal-content {
        max-width: 100%;
        border-radius: 20px;
        padding: 30px 20px;
    }

    .register-container {
        max-height: 95vh;
        border-radius: 20px;
    }

    .login-container {
        max-width: 100%;
        border-radius: 20px;
    }

    .login-form, .register-form {
        padding: 30px 20px;
    }

    .brand-header {
        padding: 30px 20px;
    }

    .brand-header {
        padding: 25px 15px;
    }

    .brand-header .logo {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .brand-header h1 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .brand-header .tagline {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .btn-large {
        padding: 14px 24px;
    }

    /* Cards */
    .task-card, .user-card {
        padding: 15px;
    }

    .task-card h4, .user-card h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .task-card p, .user-card p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .points {
        font-size: 18px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .stat-card h4 {
        font-size: 12px;
    }

    .stat-card p {
        font-size: 24px;
    }

    /* Points Display */
    .points-display {
        padding: 6px 12px;
        font-size: 12px;
    }

    .points-display i {
        font-size: 14px;
    }

    /* Close Button */
    .close {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

/* Küçük Ekranlar (480px ve altı) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-stats-mini {
        flex-direction: column;
        gap: 15px;
    }

    .mini-stat {
        width: 100%;
    }

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

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

    .hero-visual {
        height: 350px;
        min-height: 350px;
    }

    .floating-card {
        min-width: 75px;
        padding: 10px 6px;
    }

    .floating-card i {
        font-size: 18px;
    }

    .floating-card span {
        font-size: 10px;
    }

    .center-circle {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    /* Küçük ekranlarda kartları daha da uzaklaştır */
    .card-1 {
        top: 8%;
        left: 8%;
    }

    .card-2 {
        top: 8%;
        right: 8%;
    }

    .card-3 {
        bottom: 30%;
        left: 8%;
    }

    .card-4 {
        bottom: 8%;
        right: 8%;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .section-header h3 {
        font-size: 18px;
    }

    .step-card {
        padding: 30px 20px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .step-card h3 {
        font-size: 15px;
    }

    .step-card p {
        font-size: 12px;
    }

    .container {
        padding: 15px 10px;
    }

    .home-navbar {
        padding: 12px 15px;
    }

    .navbar-brand {
        font-size: 16px;
    }

    .navbar-brand i {
        font-size: 18px;
    }

    .btn-nav {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Ana Sayfa Stilleri */
.home-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.navbar-actions {
    display: flex;
    gap: 15px;
}

.btn-nav {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-nav-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-nav-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    min-height: 600px;
    position: relative;
    z-index: 1;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-stats-mini {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.mini-stat {
    display: flex;
    flex-direction: column;
}

.mini-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.mini-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    border: 2px solid white;
}

.btn-hero-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: var(--gradient-gold);
    color: white;
    border-color: transparent;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 400px;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    z-index: 10;
}

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

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    animation: float 3s ease-in-out infinite;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.floating-card i {
    font-size: 32px;
    color: var(--primary-color);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    text-align: center;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #E1306C, #F56040);
    color: white;
}

.card-1 i,
.card-1 span {
    color: white;
}

.card-2 {
    top: 10%;
    right: 10%;
    animation-delay: 0.5s;
    background: linear-gradient(135deg, #000000, #161823);
    color: white;
}

.card-2 i,
.card-2 span {
    color: white;
}

.card-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
    background: linear-gradient(135deg, #FF0000, #FF6B6B);
    color: white;
}

.card-3 i,
.card-3 span {
    color: white;
}

.card-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

.card-4 i,
.card-4 span {
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Why Section */
.why-section {
    background: white;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.why-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

    .why-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        flex-shrink: 0;
    }

    .why-details h3 {
        font-size: 17px;
        margin-bottom: 8px;
        color: var(--text-primary);
    }

    .why-details p {
        font-size: 14px;
    }

.why-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Success Stories */
.success-stories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-card {
    background: #f9fafb;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: 20px;
}

.story-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.story-content h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.story-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-style: italic;
}

.story-stars {
    color: #fbbf24;
}

/* How It Works */
.how-it-works {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 250px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.step-card:hover::before {
    opacity: 0.05;
}

.step-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.step-card > * {
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

    .step-icon {
        width: 70px;
        height: 70px;
        background: var(--gradient-primary);
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 32px;
        margin: 15px auto;
        box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
        transition: all 0.3s;
    }
    
    .step-card:hover .step-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 12px 30px rgba(30, 64, 175, 0.4);
    }

    .step-card h3 {
        font-size: 17px;
        margin-bottom: 8px;
        color: var(--text-primary);
    }

    .step-card p {
        color: var(--text-secondary);
        line-height: 1.5;
        font-size: 13px;
    }

.step-arrow {
    font-size: 32px;
    color: var(--primary-color);
}

/* Platforms Section */
.platforms-section {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.platform-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.platform-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.platform-card:hover::after {
    transform: scaleX(1);
}

.platform-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.platform-card i {
    font-size: 52px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    transition: all 0.3s;
    display: inline-block;
}

.platform-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.platform-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Stats Section Home */
.stats-section {
    background: var(--gradient-primary);
    padding: 60px 40px;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 -10px 30px rgba(30, 64, 175, 0.2);
}

.stats-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Footer */
.home-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 40px 20px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    margin-bottom: 15px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

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

.active-filter {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.active-leaderboard {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
