﻿/* Kuppo.net Benzeri Tasarım - Ana CSS */

:root {
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --secondary-color: #EC4899;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --dark-bg: #1F2937;
    --light-bg: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Desktop Grid Layouts - PC İçin varsayılan değerler */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Mobile Menu Header - PC'de gizli */
.mobile-menu-header {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Text Overflow Prevention - Yazı Taşmasını Önle */
html,
body {
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

p,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
td,
th,
label {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Uzun URL'ler ve email adresleri için */
a,
input,
textarea {
    word-break: break-all;
}

/* Email adresleri için özel */
.email-address {
    word-break: break-all;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

/* Alert mesajları için */
.alert {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Hizalama Yardımcı Sınıfları */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.align-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.align-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.align-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Header */
.site-header {
    background: var(--dark-bg);
    padding: 1rem 0;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    font-size: 2rem;
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: var(--card-shadow);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance-display {
    color: #fff;
    font-weight: bold;
}

.notifications {
    position: relative;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error-color);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0;
        min-height: calc(100vh - 150px);
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -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);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.balance-warning {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.balance-info {
    flex: 1;
    text-align: left;
}

.balance-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
}

.balance-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.25rem;
}

.balance-alert {
    display: block;
    font-size: 0.875rem;
    color: var(--warning-color);
    margin-top: 0.5rem;
}

/* Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #fff;
}

.view-all {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.view-all:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Categories section içindeki başlıklar için koyu renk */
.categories-section .section-header h2 {
    color: var(--primary-color);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categories-section .view-all {
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color)15 0%, var(--primary-dark)15 100%);
    border: 2px solid var(--primary-color);
}

.categories-section .view-all:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Products section içindeki başlıklar için koyu renk */
.products-section .section-header h2 {
    color: var(--primary-color);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Categories */
.categories-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 4rem 0;
    margin-top: 2rem;
    border-radius: 2rem 2rem 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    touch-action: manipulation;
    border: 2px solid transparent;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:hover::before,
.category-card:active::before {
    opacity: 1;
}

.category-card:hover,
.category-card:active {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.category-name {
    font-size: 2rem;
    font-weight: bold;
    margin-top: auto;
}

.category-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
    font-size: 1.5rem;
}

/* Products */
.products-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fff 100%);
    padding: 4rem 0;
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    touch-action: manipulation;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.product-card:hover::before,
.product-card:active::before {
    transform: scaleX(1);
}

.product-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    width: 100%;
}

.product-card:hover,
.product-card:active {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--primary-color);
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-tag {
    background: var(--light-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.product-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-stock {
    margin-bottom: 1rem;
}

.stock-badge {
    background: var(--success-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.stock-badge.dynamic {
    background: var(--warning-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.new-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    min-height: 44px;
    /* Mobil dokunma için */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover,
.btn-primary:active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #DB2777 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(236, 72, 153, 0.3);
}

.btn-secondary:hover,
.btn-secondary:active {
    background: linear-gradient(135deg, #DB2777 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover,
.btn-outline:active {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-success {
    background: var(--success-color);
    color: #fff;
}

.btn-danger {
    background: var(--error-color);
    color: #fff;
}

/* Comments Section */
.comments-section {
    background: #fff;
    padding: 3rem 0;
}

.online-users {
    background: var(--success-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comment-card {
    background: var(--light-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
}

.user-badge {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.comment-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.comment-content {
    margin-bottom: 1rem;
}

.comment-image {
    max-width: 100%;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.comment-form-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-form-card textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.comment-form-card textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.comment-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.like-btn,
.reply-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0088cc !important;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(0, 136, 204, 0.1);
}

.telegram-link:hover {
    background: rgba(0, 136, 204, 0.2);
    transform: translateY(-2px);
}

.telegram-link i {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Auth Pages */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid var(--success-color);
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid var(--error-color);
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid var(--warning-color);
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #3B82F6;
}

/* Payment Page */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.payment-info-card,
.payment-form-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.bank-info {
    margin: 1.5rem 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.info-value {
    font-weight: bold;
    color: var(--text-primary);
}

.info-note {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.info-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.payment-history {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.payment-history h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 700;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 600px;
}

.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.data-table th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.data-table td {
    padding: 1rem 0.75rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-success {
    background: #D1FAE5;
    color: #065F46;
}

.badge-warning {
    background: #FEF3C7;
    color: #92400E;
}

.badge-error {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-info {
    background: #DBEAFE;
    color: #1E40AF;
}

/* Product Detail */
.product-detail {
    max-width: 800px;
    margin: 0 auto;
}

.product-detail-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.product-detail-card h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-detail .product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 0.5rem;
}

.product-detail .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-detail .info-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.product-detail .info-value {
    font-weight: bold;
    color: var(--text-primary);
}

.product-order-form {
    margin-top: 2rem;
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: var(--card-shadow);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 0.5rem;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.3s;
}

.user-dropdown a:hover {
    background: var(--light-bg);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 15px;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    .main-nav {
        display: none !important;
        width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        flex-direction: column;
        gap: 0;
        padding: 0;
        order: 3;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        backdrop-filter: blur(10px);
        border-radius: 0;
        margin-top: 0;
        box-shadow: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 99999 !important;
        overflow: hidden !important;
    }

    .main-nav.active {
        display: flex !important;
    }

    /* Menü açıkken body ve main-content'i gizle */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    body.menu-open .main-content {
        pointer-events: none;
        opacity: 0.3;
        filter: blur(3px);
        transition: opacity 0.3s, filter 0.3s;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        background: rgba(0, 0, 0, 0.1);
        flex-shrink: 0;
        min-height: 70px;
    }

    .mobile-menu-header .logo {
        flex: 1;
    }

    .mobile-menu-close {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.2) 100%);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 0.75rem;
        color: #FFFFFF;
        font-size: 1.25rem;
        cursor: pointer;
        transition: all 0.3s;
        flex-shrink: 0;
    }

    .mobile-menu-close:hover,
    .mobile-menu-close:active {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(236, 72, 153, 0.4) 100%);
        border-color: rgba(255, 255, 255, 0.5);
        transform: rotate(90deg);
    }

    .mobile-menu-content {
        flex: 1 1 auto;
        min-height: 0;
        max-height: calc(100vh - 70px);
        padding: 1rem 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        overscroll-behavior: contain;
        scroll-behavior: smooth;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        color: #FFFFFF !important;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(236, 72, 153, 0.3) 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 0.75rem;
        font-weight: 600;
        text-align: left;
        margin-bottom: 0.5rem;
        transition: all 0.3s;
        backdrop-filter: blur(10px);
        flex-shrink: 0;
    }

    .nav-link:hover,
    .nav-link:active {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.6) 0%, rgba(236, 72, 153, 0.5) 100%) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        color: #FFFFFF !important;
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    }

    .nav-link i {
        font-size: 1.1rem;
        color: #FFFFFF;
        margin-right: 0.75rem;
        width: 22px;
        text-align: center;
        flex-shrink: 0;
    }

    .nav-link span {
        flex: 1;
        text-align: left;
    }

    .nav-dropdown {
        width: 100%;
        flex-shrink: 0;
    }

    .nav-dropdown .nav-link {
        cursor: pointer;
    }

    .dropdown-menu {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: linear-gradient(135deg, rgba(118, 75, 162, 0.3) 0%, rgba(102, 126, 234, 0.2) 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.25) !important;
        margin: 0.5rem 0 0.5rem 0;
        border-radius: 0.75rem;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        width: 100% !important;
        backdrop-filter: blur(10px);
        min-width: auto !important;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block !important;
        max-height: 600px;
        padding: 0.75rem;
    }

    .dropdown-menu a {
        color: #FFFFFF !important;
        padding: 1rem 1.125rem;
        display: flex;
        align-items: center;
        border-radius: 0.75rem;
        margin-bottom: 0.625rem;
        font-size: 0.95rem;
        font-weight: 600;
        transition: all 0.3s;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.2) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .dropdown-menu a:last-child {
        margin-bottom: 0;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(236, 72, 153, 0.4) 100%) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        color: #FFFFFF !important;
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    }

    .dropdown-menu a {
        justify-content: center;
        text-align: center;
    }

    .dropdown-menu a i {
        color: #FFFFFF !important;
        margin-right: 0.75rem;
        width: 20px;
        text-align: center;
        font-size: 1rem;
    }

    .header-right {
        width: 100%;
        order: 4;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .header-right .btn {
        flex: 1;
        min-width: 140px;
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        border-radius: 0.625rem;
    }

    .mobile-auth-buttons {
        display: flex !important;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0 0 0;
        border-top: 2px solid rgba(255, 255, 255, 0.3) !important;
        margin-top: auto;
        flex-shrink: 0;
    }

    .btn-mobile-outline {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        border-radius: 0.75rem;
        transition: all 0.3s;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        color: #FFFFFF !important;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.2) 100%) !important;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .btn-mobile-outline:hover,
    .btn-mobile-outline:active {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(236, 72, 153, 0.4) 100%) !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    }

    .btn-mobile-primary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        border-radius: 0.75rem;
        transition: all 0.3s;
        border: 2px solid transparent !important;
        color: #FFFFFF !important;
        background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%) !important;
        margin-bottom: 0;
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
        flex-shrink: 0;
    }

    .btn-mobile-primary:hover,
    .btn-mobile-primary:active {
        background: linear-gradient(135deg, #7C3AED 0%, #DB2777 100%) !important;
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    }

    /* Geri dön butonu için özel stil - Turuncu */
    .btn-outline.back-button,
    a[href*="index.php"].btn-outline,
    a[href*="kategoriler.php"].btn-outline,
    a[href*="hesaplarim.php"].btn-outline {
        background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
        border: 2px solid #F59E0B !important;
        color: #FFFFFF !important;
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    }

    .btn-outline.back-button:hover,
    .btn-outline.back-button:active,
    a[href*="index.php"].btn-outline:hover,
    a[href*="kategoriler.php"].btn-outline:hover,
    a[href*="hesaplarim.php"].btn-outline:hover {
        background: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
        border-color: #D97706 !important;
        color: #FFFFFF !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    }

    .balance-display {
        width: 100%;
        text-align: center;
        padding: 1rem;
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
        border: 2px solid rgba(251, 191, 36, 0.3);
        border-radius: 0.625rem;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: 700;
        color: #fff;
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
    }

    .user-menu {
        width: 100%;
    }

    .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        margin-top: 0.75rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 0.75rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(102, 126, 234, 0.2);
    }

    .user-menu.active .user-dropdown {
        display: block;
    }

    .user-dropdown a {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.2s;
    }

    .user-dropdown a:last-child {
        border-bottom: none;
    }

    .user-dropdown a:hover {
        background: rgba(102, 126, 234, 0.05);
        padding-left: 1.5rem;
    }

    .user-dropdown a i {
        color: #667eea;
        width: 20px;
        text-align: center;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section-v2 {
        padding: 2rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .hero-text p,
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .hero-badge {
        font-size: 0.85rem !important;
        padding: 0.5rem 1rem !important;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .hero-stat-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 120px;
        text-align: center;
    }

    .hero-stat-value {
        font-size: 1.25rem !important;
    }

    .hero-stat-label {
        font-size: 0.75rem !important;
    }

    .hero-balance-card {
        padding: 1.25rem !important;
    }

    .balance-card-header h3 {
        font-size: 1rem !important;
    }

    .balance-card-amount {
        font-size: 1.75rem !important;
    }

    /* Features Section Mobile */
    .features-section {
        padding: 2rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem !important;
    }

    .feature-card h3 {
        font-size: 1.1rem !important;
    }

    .feature-card p {
        font-size: 0.9rem !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
        padding: 0 1rem;
        line-height: 1.2;
    }

    .balance-warning {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin: 0 1rem;
    }

    .balance-warning i {
        font-size: 2rem;
    }

    /* Categories & Products Mobile */
    .categories-section,
    .products-section {
        padding: 2rem 0;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .category-card {
        min-height: 180px;
        padding: 1.5rem;
    }

    .category-name {
        font-size: 1.5rem !important;
    }

    .category-tag {
        font-size: 0.8rem !important;
    }

    .product-card {
        padding: 1.25rem;
    }

    .product-name {
        font-size: 1.1rem !important;
    }

    .product-description {
        font-size: 0.875rem !important;
    }

    .product-card .btn {
        width: 100%;
        padding: 0.875rem 1rem;
    }

    .payment-grid,
    .settings-grid,
    .profile-grid,
    .destek-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-card {
        padding: 1.5rem;
    }

    .product-detail-card h1 {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .action-buttons .btn {
        width: 100%;
        margin: 0;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .payment-history {
        margin-top: 2rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .payment-history h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        text-align: center;
        color: var(--text-primary);
    }

    .data-table {
        font-size: 0.8rem;
        min-width: 600px;
        width: 100%;
        border-collapse: collapse;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
        text-align: left;
        white-space: nowrap;
    }

    .data-table th {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        font-weight: 600;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .data-table tbody tr {
        border-bottom: 1px solid var(--border-color);
        transition: background 0.2s;
    }

    .data-table tbody tr:hover {
        background: rgba(102, 126, 234, 0.05);
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .page-header {
        padding: 0 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .categories-section .section-header h2,
    .products-section .section-header h2 {
        color: var(--primary-color) !important;
    }

    .categories-section .view-all {
        color: var(--primary-color) !important;
        border-color: var(--primary-color);
    }

    .btn-block {
        width: 100%;
        padding: 0.875rem 1rem;
    }

    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-height: 36px;
    }

    .comments-container {
        padding: 0 1rem;
    }

    .comment-card {
        padding: 1rem;
    }

    .comment-form-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .comment-form-card textarea {
        min-height: 80px;
        font-size: 0.95rem;
    }

    /* Container Padding */
    .container {
        padding: 0 15px;
    }

    /* Page Header - Mobile */
    .page-header {
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .page-header p {
        text-align: center;
        font-size: 1rem;
    }

    /* Buttons - Mobile */
    .btn,
    button,
    a.btn,
    input[type="submit"] {
        min-height: 48px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        border-radius: 0.625rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-block {
        width: 100%;
        display: flex;
    }

    /* Forms - Mobile */
    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: block;
        text-align: left;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        /* iOS zoom prevention */
        width: 100%;
        padding: 0.875rem 1rem;
        border-radius: 0.625rem;
        border: 2px solid rgba(102, 126, 234, 0.2);
    }

    /* Cards - Mobile */
    .payment-info-card,
    .payment-form-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 1rem;
    }

    .payment-info-card h2,
    .payment-form-card h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
        color: var(--text-primary);
    }

    /* Hero Avatar */
    .hero-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Empty States */
    .empty-state {
        padding: 3rem 1rem;
        text-align: center;
    }

    .empty-state i {
        font-size: 4rem;
        color: var(--text-secondary);
        margin-bottom: 1rem;
    }

    .empty-state p {
        font-size: 1.125rem;
        color: var(--text-secondary);
    }

    /* Payment Grid - Mobile */
    .payment-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Table - Mobile */
    .table-responsive {
        margin: 1rem 0;
        border-radius: 0.75rem;
        overflow: hidden;
    }

    /* Text Alignment */
    .text-center {
        text-align: center !important;
    }

    /* Logo - Mobile */
    .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    /* Mobil Text Ayarları - Yazı Taşmasını Önle */
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.75rem !important;
        word-wrap: break-word;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem !important;
        word-wrap: break-word;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.25rem !important;
        word-wrap: break-word;
        line-height: 1.3;
    }

    p,
    span,
    div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    /* Auth sayfaları için */
    .auth-card {
        max-width: 100%;
        padding: 1.5rem 1rem;
        word-wrap: break-word;
    }

    .auth-header h1 {
        font-size: 1.5rem !important;
        word-wrap: break-word;
        line-height: 1.3;
    }

    .auth-header p {
        font-size: 0.9rem;
        word-wrap: break-word;
        line-height: 1.4;
    }

    /* Adım göstergesi mobil */
    .adim-gosterge {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .adim-baslik {
        font-size: 0.7rem !important;
        word-wrap: break-word;
        text-align: center;
    }

    .adim-cizgi {
        width: 30px !important;
        margin: 0 0.25rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Product cards mobil */
    .product-card h3 {
        font-size: 1.1rem !important;
        word-wrap: break-word;
        line-height: 1.3;
    }

    .product-card p {
        font-size: 0.875rem;
        word-wrap: break-word;
    }

    /* Table responsive */
    table {
        font-size: 0.875rem;
    }

    td,
    th {
        word-wrap: break-word;
        word-break: break-word;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* MODERN LOGO TASARIMI - FINAL */
.logo-icon-wrapper {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #F59E0B 0%, #EC4899 100%) !important;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    transform: rotate(-5deg);
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.logo:hover .logo-icon-wrapper {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 12px 25px rgba(236, 72, 153, 0.5) !important;
    background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%) !important;
}

.logo-text {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    background: linear-gradient(to right, #ffffff 0%, #f0f0f0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    position: relative;
    top: 1px;
}

/* DESKTOP MENÃœ DÃœZELTMESÄ° - KESÄ°N Ã‡Ã–ZÃœM */
@media (min-width: 993px) {
    .main-nav {
        display: flex !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        position: static !important;
        background: transparent !important;
        overflow: visible !important;
        box-shadow: none !important;
        gap: 0.5rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-link {
        width: auto !important;
        margin-bottom: 0 !important;
        display: inline-flex !important;
        padding: 0.5rem 0.875rem !important;
        background: transparent !important;
        border: none !important;
        font-size: 0.9rem !important;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .nav-link i {
        background: none !important;
        color: rgba(255, 255, 255, 0.8) !important;
        width: auto !important;
        margin-right: 0.5rem !important;
    }
    
    .nav-link:hover i {
        color: #fff !important;
    }

    .nav-link span {
        display: inline !important;
    }

    .mobile-menu-header {
        display: none !important;
    }
    
    .mobile-auth-buttons {
        display: none !important;
    }
}

    /* PC MenÃ¼ Hizalama DÃ¼zeltmesi - Ek */
    .main-nav {
        flex-wrap: nowrap !important;
        align-items: center !important;
        white-space: nowrap !important;
    }
    
    .nav-dropdown {
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    .nav-dropdown > .nav-link {
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
        margin: 0 !important;
    }
}

/* MOBÄ°L Ã–DEME GEÃ‡MÄ°ÅÄ° VE TABLO DÃœZELTMELERÄ° */
@media (max-width: 768px) {
    .payment-history {
        padding: 1rem 0.5rem !important;
        margin: 1rem 0 !important;
        width: 100% !important;
        overflow: hidden; /* DÄ±ÅŸarÄ± taÅŸmayÄ± engelle */
    }

    .data-table {
        font-size: 0.75rem !important;
    }
    
    .data-table th, 
    .data-table td {
        padding: 0.6rem 0.4rem !important;
        white-space: nowrap;
    }
    
    .table-responsive {
        width: 100% !important;
        margin: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 0.5rem;
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    /* Ã–deme GeÃ§miÅŸi BaÅŸlÄ±ÄŸÄ± */
    .payment-history h2 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
}

/* ACÄ°L DÃœZELTMELER - LOGO, BAKÄ°YE VE BOÅLUKLAR */

/* 1. Logo YazÄ±sÄ±nÄ±n ve Bakiyenin Yan DÃ¶nmesini (Dikey OlmasÄ±nÄ±) Ã‡Ã¶z */
.logo, 
.logo a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: max-content !important; /* Ä°Ã§eriÄŸe gÃ¶re geniÅŸle */
    gap: 0.75rem !important;
}

.logo-text {
    white-space: nowrap !important; /* Asla alt satÄ±ra geÃ§me */
    display: inline-block !important;
    width: auto !important;
    writing-mode: horizontal-tb !important; /* Kesinlikle yatay yaz */
}

.balance-display {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    width: auto !important;
    min-width: max-content !important;
    height: auto !important;
}

.balance-amount {
    display: inline-block !important;
    margin-left: 5px !important;
}

/* 2. Header ve Hero ArasÄ±ndaki BoÅŸluÄŸu Azalt */
.main-content {
    padding-top: 0 !important; /* Ãœst boÅŸluÄŸu sÄ±fÄ±rla */
}

.hero-section {
    padding-top: 2rem !important; /* 4rem yerine 2rem */
    padding-bottom: 2rem !important;
    margin-top: 0 !important;
}

.hero-section .container {
    padding-top: 1rem !important;
}

/* 3. Header Container DÃ¼zeni */
.header-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important; /* Asla alt satÄ±ra geÃ§me */
}

.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: nowrap !important;
    width: auto !important;
}

/* Mobilde logo text boyutu */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.2rem !important;
    }
}

/* --- MOBÄ°L MENÃœ VE Ã–DEME GEÃ‡MÄ°ÅÄ° DÃœZELTMELERÄ° --- */

@media (max-width: 768px) {
    /* 1. MenÃ¼ BoyutlarÄ±nÄ± KÃ¼Ã§Ã¼lt ve StandartlaÅŸtÄ±r */
    /* Ä°ade, Destek, Bakiye menÃ¼lerini saran yapÄ± */
    .nav-dropdown {
        width: 100% !important;
        background: transparent !important;
        margin: 0 0 0.5rem 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important; /* Ä°Ã§indekileri alt alta diz */
        border: none !important;
        box-shadow: none !important;
    }

    /* MenÃ¼ linkinin kendisi (TÄ±klanan kÄ±sÄ±m) */
    .nav-dropdown > .nav-link {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important; /* Ok iÅŸareti saÄŸa */
        padding: 1rem 1.25rem !important; /* DiÄŸerleriyle aynÄ± padding */
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 1rem !important; /* Yuvarlak kÃ¶ÅŸeler */
        font-size: 1rem !important;
        color: #fff !important;
        height: auto !important;
        margin: 0 !important;
    }

    /* Dropdown MenÃ¼sÃ¼ (Alta AÃ§Ä±lan KÄ±sÄ±m) */
    .dropdown-menu {
        position: static !important; /* Pop-up deÄŸil, akÄ±ÅŸÄ±n iÃ§inde */
        width: 100% !important;
        background: rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: none !important;
        border: none !important;
        border-radius: 0 0 1rem 1rem !important;
        margin-top: -5px !important; /* YukarÄ±daki menÃ¼ye yapÄ±ÅŸsÄ±n */
        padding: 0.5rem !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none; /* VarsayÄ±lan gizli */
    }

    /* Aktif olduÄŸunda gÃ¶rÃ¼nÃ¼r yap (JS ile class eklenecek) */
    .nav-dropdown.active .dropdown-menu {
        display: block !important;
        animation: slideDown 0.3s ease-out !important;
    }

    /* 2. Ã–deme GeÃ§miÅŸi Tablosunu Ekrana SÄ±ÄŸdÄ±r */
    .payment-history {
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    .table-responsive {
        width: 100% !important;
        margin: 0 !important;
        overflow-x: auto !important; /* SaÄŸa kaydÄ±rma */
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        width: 100% !important;
        min-width: unset !important; /* Zorla geniÅŸletmesin */
        table-layout: fixed !important; /* HÃ¼cre geniÅŸliklerini sabitle */
    }

    .data-table th, 
    .data-table td {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.8rem !important; /* YazÄ±larÄ± kÃ¼Ã§Ã¼lt */
        white-space: normal !important; /* YazÄ±lar alt satÄ±ra geÃ§sin (taÅŸmasÄ±n) */
        word-wrap: break-word !important;
    }
}

/* Dropdown aÃ§Ä±lma animasyonu */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
