/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --body-bg: #f8f9fa;
    --text-color: #333;
    --card-bg: white;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --header-bg-start: #667eea;
    --header-bg-end: #764ba2;
    --primary-color: #667eea;
    --secondary-color: #6c757d;
    --youtube-section-bg: #f8f9fa;
    --youtube-video-bg: white;
    --youtube-video-shadow: rgba(0, 0, 0, 0.1);
    --stat-item-bg: #f8f9fa;
    --breadcrumb-color: #6c757d;
    --category-btn-border: #e9ecef;
    --category-btn-color: #6c757d;
    --game-info-h3-color: #2c3e50;
    --game-size-color: #6c757d;
    --admin-navbar-bg-start: #2c3e50;
    --admin-navbar-bg-end: #34495e;
    --admin-h1-color: #2c3e50;
    --admin-section-h2-color: #2c3e50;
    --table-header-bg: #f8f9fa;
    --table-text-color: #2c3e50;
    --alert-unread-bg: #fff3cd;
    --alert-unread-border: #ffc107;
    --alert-read-bg: #f8f9fa;
    --alert-read-border: #28a745;
    --alert-user-color: #2c3e50;
    --alert-date-color: #6c757d;
    --alert-message-color: #495057;
    --login-form-bg: white;
    --login-form-shadow: rgba(0, 0, 0, 0.2);
    --login-form-h1-color: #2c3e50;
    --login-note-color: #6c757d;
    --modal-bg: white;
    --modal-shadow: rgba(0, 0, 0, 0.3);
    --modal-header-border: #eee;
    --modal-header-h3-color: #2c3e50;
    --modal-close-color: #6c757d;
    --modal-close-hover-bg: #f8f9fa;
    --modal-body-p-color: #495057;
    --modal-footer-border: #eee;
    --form-info-color: #6c757d;
    --user-info-display-bg: #e8f5e8;
    --user-info-display-border: #28a745;
    --user-info-display-h2-color: #28a745;
    --footer-bg: #2c3e50;
    --footer-text-color: white;

    /* Animated Background Colors */
    --animated-bg-color1: #e0e0e0;
    --animated-bg-color2: #f0f0f0;
    --animated-bg-color3: #d0d0d0;
}

.dark-theme {
    --body-bg: #1a1a2e;
    --text-color: #e0e0e0;
    --card-bg: #16213e;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --header-bg-start: #0f3460;
    --header-bg-end: #16213e;
    --primary-color: #e94560;
    --secondary-color: #533483;
    --youtube-section-bg: #0f3460;
    --youtube-video-bg: #16213e;
    --youtube-video-shadow: rgba(0, 0, 0, 0.3);
    --stat-item-bg: #0f3460;
    --breadcrumb-color: #a0a0a0;
    --category-btn-border: #0f3460;
    --category-btn-color: #e0e0e0;
    --game-info-h3-color: #e0e0e0;
    --game-size-color: #a0a0a0;
    --admin-navbar-bg-start: #0f3460;
    --admin-navbar-bg-end: #16213e;
    --admin-h1-color: #e0e0e0;
    --admin-section-h2-color: #e0e0e0;
    --table-header-bg: #0f3460;
    --table-text-color: #e0e0e0;
    --alert-unread-bg: #3e2c00;
    --alert-unread-border: #ffc107;
    --alert-read-bg: #0f3460;
    --alert-read-border: #28a745;
    --alert-user-color: #e0e0e0;
    --alert-date-color: #a0a0a0;
    --alert-message-color: #c0c0c0;
    --login-form-bg: #16213e;
    --login-form-shadow: rgba(0, 0, 0, 0.5);
    --login-form-h1-color: #e0e0e0;
    --login-note-color: #a0a0a0;
    --modal-bg: #16213e;
    --modal-shadow: rgba(0, 0, 0, 0.5);
    --modal-header-border: #0f3460;
    --modal-header-h3-color: #e0e0e0;
    --modal-close-color: #a0a0a0;
    --modal-close-hover-bg: #0f3460;
    --modal-body-p-color: #c0c0c0;
    --modal-footer-border: #0f3460;
    --form-info-color: #a0a0a0;
    --user-info-display-bg: #0f3460;
    --user-info-display-border: #28a745;
    --user-info-display-h2-color: #28a745;
    --footer-bg: #0f3460;
    --footer-text-color: #e0e0e0;

    /* Animated Background Colors for Dark Theme */
    --animated-bg-color1: #0a0a1a;
    --animated-bg-color2: #101020;
    --animated-bg-color3: #050515;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    transition: background-color 0.3s ease, color 0.3s ease;

    /* Animated Background */
    background: linear-gradient(270deg, var(--animated-bg-color1), var(--animated-bg-color2), var(--animated-bg-color3));
    background-size: 600% 600%;
    animation: gradientAnimation 16s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header ve Navigation */
.navbar {
    background: linear-gradient(135deg, var(--header-bg-start) 0%, var(--header-bg-end) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link.active {
    color: #ffd700;
}

.list-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Sayfalama Göstergesi Stilleri */
.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.page-number {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--body-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.page-number.active {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.4);
}

/* Ana İçerik */
main {
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

/* Kategori Seçici */
.category-selector {
    text-align: center;
    margin-bottom: 2rem;
}

.category-selector h2 {
    margin-bottom: 1.5rem;
    color: var(--game-info-h3-color);
    font-size: 1.8rem;
}

/* Alfabetik Seçici Stilleri */
.alphabet-selector {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.letter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.5rem;
}

.letter-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.letter-btn:hover,
.letter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid var(--category-btn-border);
    border-radius: 25px;
    text-decoration: none;
    color: var(--category-btn-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--header-bg-start) 0%, var(--header-bg-end) 100%);
    border-color: var(--primary-color);
    color: white;
}

/* Oyun Galerisi */
.games-container {
    position: relative;
    margin-bottom: 3rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* Daha dar kartlar (vertical box-art) */
    gap: 15px;
    /* Daha sıkı aralık */
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

/* Kaydırma butonları */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.scroll-btn:hover {
    background: rgba(102, 126, 234, 1);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.prev {
    left: -25px;
}

.scroll-btn.next {
    right: -25px;
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Kaydırma göstergesi */
.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scroll-dot.active {
    background: var(--primary-color);
}

.game-card {
    background: var(--card-bg);
    /* Kart arka planı */
    border-radius: 8px;
    /* Daha keskin köşeler */
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Hafif gölge */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    /* Yükseklik içeriğe göre belirlenir, min-height kaldırıldı */
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    /* Derinlik efekti */
    z-index: 2;
    /* Hover sırasında öne getirme */
}

.game-image {
    position: relative;
    width: 100%;
    padding-top: 140%;
    /* 5:7 Oran (Standart Box Art orana yakın) */
    overflow: hidden;
    background-color: #000;
    /* Resim yüklenmezse arka plan */
}

.game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi kutuya sığdır ve doldur */
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
    /* Hoverda hafif zoom */
    opacity: 0.4;
    /* Resmi karartarak yazıyı okunur yap */
}

/* Overlay artık tüm kartın üzerinde belirecek veya resmin üzerinde */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Daha karanlık overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.view-btn,
.add-to-cart-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    /* Daha modern, hafif oval butonlar */
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    width: 100%;
    /* Butonlar tam genişlik */
    max-width: 180px;
    text-transform: uppercase;
    /* Premium his için büyük harf */
    letter-spacing: 0.5px;
}

.view-btn {
    background: #00d2ff;
    /* Tema rengi (Mavi) */
    color: white;
}

.add-to-cart-btn {
    background: transparent;
    border: 2px solid #ff4757;
    /* Tema rengi (Kırmızı) */
    color: #fff;
}

.add-to-cart-btn:hover {
    background: #ff4757;
    color: white;
}

.view-btn:hover {
    background: #0096ff;
    transform: translateY(-2px);
}

.game-info {
    padding: 10px 12px;
    /* absolute positioning to overlay info at bottom if desired, or kept standard below image */
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-grow: 0;
    /* İçerik kadar yer kapla */
}

.game-info h3 {
    margin-bottom: 4px;
    color: var(--game-info-h3-color);
    font-size: 0.95rem;
    /* Biraz daha küçük punto */
    font-weight: 600;
    white-space: nowrap;
    /* Tek satıra sığdır */
    overflow: hidden;
    text-overflow: ellipsis;
    /* Sığmayan kısmı ... ile göster */
    line-height: 1.4;
}

.game-size {
    color: var(--game-size-color);
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Oyun Detay Sayfası */
.game-detail {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--breadcrumb-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.game-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.game-image-large img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.game-stats {
    margin: 1.5rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--stat-item-bg);
    border-radius: 8px;
}

.stat-item i {
    color: var(--primary-color);
    width: 20px;
}

.game-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.youtube-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--youtube-section-bg);
    border-radius: 10px;
}

.youtube-search {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.youtube-search input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--card-bg);
    /* Input background */
    color: var(--text-color);
    /* Input text color */
}

.youtube-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.youtube-video {
    background: var(--youtube-video-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--youtube-video-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--youtube-video-shadow);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.youtube-video:hover .play-button {
    opacity: 1;
}

.video-info {
    padding: 1rem;
}

.video-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--game-info-h3-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-channel {
    color: #666;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.video-date {
    color: #999;
    font-size: 0.8rem;
    margin: 0.25rem 0;
}

.video-link {
    display: block;
    padding: 0.75rem 1rem;
    background: #ff0000;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.video-link:hover {
    background: #cc0000;
    color: white;
}

/* Sepet Sayfası */
.cart-page {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.user-info-form {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--stat-item-bg);
    border-radius: 10px;
}

.form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--game-info-h3-color);
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--card-bg);
    /* Input background */
    color: var(--text-color);
    /* Input text color */
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--stat-item-bg);
    border-radius: 10px;
}

.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    margin-bottom: 0.5rem;
    color: var(--game-info-h3-color);
}

.cart-summary {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--stat-item-bg);
    border-radius: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cart-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: var(--secondary-color);
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Admin Panel */
.admin-navbar {
    background: linear-gradient(135deg, var(--admin-navbar-bg-start) 0%, var(--admin-navbar-bg-end) 100%);
}

.admin-dashboard h1 {
    margin-bottom: 2rem;
    color: var(--admin-h1-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card i {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--admin-h1-color);
    margin-bottom: 0.5rem;
}

.admin-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    margin-bottom: 2rem;
}

.admin-section h2 {
    margin-bottom: 1.5rem;
    color: var(--admin-section-h2-color);
}

.selections-table table {
    width: 100%;
    border-collapse: collapse;
}

.selections-table th,
.selections-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.selections-table th {
    background: var(--table-header-bg);
    font-weight: 600;
    color: var(--table-text-color);
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item {
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ddd;
}

.alert-item.unread {
    background: var(--alert-unread-bg);
    border-left-color: var(--alert-unread-border);
}

.alert-item.read {
    background: var(--alert-read-bg);
    border-left-color: var(--alert-read-border);
}

.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.alert-user {
    font-weight: 600;
    color: var(--alert-user-color);
}

.alert-date {
    color: var(--alert-date-color);
    font-size: 0.9rem;
}

.alert-message {
    color: var(--alert-message-color);
}

/* Admin Login */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--header-bg-start) 0%, var(--header-bg-end) 100%);
}

.login-form {
    background: var(--login-form-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--login-form-shadow);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.login-form h1 {
    margin-bottom: 2rem;
    color: var(--login-form-h1-color);
}

.login-note {
    margin-top: 1rem;
    color: var(--login-note-color);
    font-size: 0.9rem;
}

/* Butonlar */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

/* Test butonu */
.test-btn {
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.test-btn:hover {
    background: #138496;
    transform: translateY(-2px);
}

/* Sepet güncelleme butonu */
.nav-link.update-cart-btn {
    background: #ffc107 !important;
    color: #333 !important;
    border: none !important;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-link.update-cart-btn:hover {
    background: #e0a800 !important;
    color: #333 !important;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--header-bg-end) 100%);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-youtube {
    background: #ff0000;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Uyarılar */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    font-size: 1rem;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: #28a745;
    color: #fff;
    border: 1px solid #1e7e34;
}

.alert-danger {
    background: #dc3545;
    color: #fff;
    border: 1px solid #bd2130;
}

/* Success Button Style */
.btn-success {
    background: #28a745;
    color: #fff;
    border: 1px solid #1e7e34;
}

.btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

/* Modal Stilleri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--modal-bg);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px var(--modal-shadow);
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--modal-header-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--modal-header-h3-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--modal-close-color);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: var(--modal-close-hover-bg);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--modal-body-p-color);
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--modal-footer-border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form bilgi metni */
.form-info {
    color: var(--form-info-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Kullanıcı bilgi gösterimi */
.user-info-display {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--user-info-display-bg);
    border-radius: 10px;
    border-left: 4px solid var(--user-info-display-border);
}

.user-info-display h2 {
    color: var(--user-info-display-h2-color);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--footer-text-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }

    .game-image {
        height: 220px;
    }

    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .scroll-btn.prev {
        left: -20px;
    }

    .scroll-btn.next {
        right: -20px;
    }

    .game-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .selections-table {
        overflow-x: auto;
    }

    .alert-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .game-actions {
        flex-direction: column;
    }

    .cart-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .category-buttons {
        flex-direction: column;
        align-items: center;
    }

    .login-form {
        padding: 2rem;
    }
}