* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #121212; color: #ffffff; }

header { text-align: center; padding: 30px 20px; background: linear-gradient(90deg, #1e1e1e, #2d2d2d); border-bottom: 2px solid #00ff88; display: flex; flex-direction: column; align-items: center; }
#site-logo { width: 120px; height: auto; margin-bottom: 20px; filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.6)); transition: transform 0.3s; }
#site-logo:hover { transform: scale(1.05); }

main { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
#loading { text-align: center; font-size: 1.2rem; color: #888; margin-top: 20px; }

.usd-banner { background: linear-gradient(90deg, #2a1f00, #3d2e00); border-top: 2px solid #ffcc00; border-bottom: 2px solid #ffcc00; color: #ffcc00; text-align: center; padding: 10px 20px; font-size: 0.95rem; letter-spacing: 0.02em; }
.usd-banner strong { color: #fff; }

.search-container { margin-top: 10px; display: flex; justify-content: center; gap: 15px; width: 100%; }
#search-input { width: 80%; max-width: 650px; padding: 16px 25px; border-radius: 30px; border: 2px solid #333; background-color: #1a1a1a; color: #ffffff; font-size: 1.1rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
#search-input:focus { border-color: #00ff88; box-shadow: 0 0 15px rgba(0, 255, 136, 0.2); }
#search-btn { padding: 16px 35px; border-radius: 30px; border: none; background-color: #00ff88; color: #121212; font-weight: bold; font-size: 1.1rem; cursor: pointer; transition: background-color 0.3s, transform 0.1s; }
#search-btn:hover { background-color: #00cc6a; }
#search-btn:active { transform: scale(0.95); }

.section-title { color: #00ff88; margin-bottom: 20px; margin-top: 10px; font-size: 1.5rem; border-bottom: 2px solid #333; padding-bottom: 10px; }

#featured-section { margin-bottom: 40px; }
.carousel-wrapper { position: relative; display: flex; align-items: center; }
.carousel-btn { position: absolute; z-index: 10; background-color: rgba(18, 18, 18, 0.95); color: #00ff88; border: 2px solid #00ff88; border-radius: 50%; width: 50px; height: 50px; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8); }
.carousel-btn:hover { background-color: #00ff88; color: #121212; transform: scale(1.1); }
#scroll-left { left: -25px; }
#scroll-right { right: -25px; }

.featured-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth !important; padding: 10px 0; -ms-overflow-style: none; scrollbar-width: none; }
.featured-carousel::-webkit-scrollbar { display: none; }

/* VİTRİN KARTLARI (GÖZ BOYAMA NEON EFEKTİ EKLENDİ) */
.featured-card { flex: 0 0 320px; background-color: #1e1e1e; border-radius: 12px; overflow: hidden; border: 1px solid #333; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; height: 380px; min-height: 380px; max-height: 380px; position: relative; }
.featured-card:hover { transform: translateY(-8px); border-color: #00ff88; box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3); /* Neon yeşil parlama */ }
.featured-card .image-container { position: relative; width: 100%; height: 160px; min-height: 160px; max-height: 160px; flex-shrink: 0; overflow: hidden; background-color: #1a1a1a; }
.featured-card .game-info { display: flex; flex-direction: column; align-items: flex-start; padding: 15px; height: 100%; justify-content: space-between; overflow: hidden; }
.featured-card .game-title { width: 100%; white-space: normal; margin-bottom: 10px; font-size: 1.1rem; font-weight: bold; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* YENİ: ALEVLİ DİP FİYAT ROZETİ VE ANİMASYONU */
.epic-badge { position: absolute; top: 10px; right: 10px; background: linear-gradient(45deg, #ff0055, #ff9900); color: white; padding: 5px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 900; z-index: 5; box-shadow: 0 4px 10px rgba(255, 0, 85, 0.5); animation: pulse-badge 2s infinite; border: 1px solid #ffcc00; }
@keyframes pulse-badge { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }

.grid-container { display: flex; flex-direction: column; gap: 15px; }

.game-card { display: flex; flex-direction: row; background-color: #1e1e1e; border-radius: 8px; overflow: hidden; transition: transform 0.2s, border-color 0.2s; border: 1px solid #333; height: 140px; min-height: 140px; max-height: 140px; align-items: center; }
.game-card:hover { transform: translateX(5px); border-color: #00ff88; }
.game-card .image-container { position: relative; width: 220px; min-width: 220px; max-width: 220px; height: 140px; min-height: 140px; max-height: 140px; flex-shrink: 0; overflow: hidden; background-color: #1a1a1a; }
.game-card .game-info { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; width: 100%; padding: 10px 20px; gap: 20px; overflow: hidden; }
.game-card .game-title { flex: 1; font-size: 1.1rem; margin-bottom: 0; white-space: normal; overflow: hidden; text-overflow: ellipsis; font-weight: bold; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.price-box { display: flex; flex-direction: row; align-items: center; gap: 10px; flex-shrink: 0; }
.featured-card .price-box { margin-bottom: 10px; }
.game-card .price-box { flex-direction: column; align-items: flex-end; gap: 5px; }

.discount-badge { background-color: #00ff88; color: #121212; font-size: 1.2rem; font-weight: 900; padding: 5px 8px; border-radius: 6px; box-shadow: 0 2px 5px rgba(0, 255, 136, 0.3); }
.price-details { display: flex; flex-direction: column; align-items: flex-start; }
.game-card .price-details { align-items: flex-end; }
.old-price { text-decoration: line-through; color: #ff4444; font-size: 0.85rem; line-height: 1; margin-bottom: 3px; }
.new-price { color: #ffffff; font-size: 1.2rem; font-weight: bold; line-height: 1; }

.image-container .game-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.platform-badge { position: absolute; bottom: 5px; left: 5px; background: rgba(18, 18, 18, 0.9); border-radius: 4px; padding: 4px; border: 1px solid #00ff88; z-index: 5; cursor: default; }
.platform-badge img { width: 20px; height: 20px; border-radius: 4px; display: block; }
.store-tooltip { display: none; position: absolute; bottom: 32px; left: 0; background: rgba(0,0,0,0.92); color: #00ff88; font-size: 0.75rem; font-weight: bold; white-space: nowrap; padding: 4px 8px; border-radius: 5px; border: 1px solid #00ff88; pointer-events: none; z-index: 20; }
.platform-badge:hover .store-tooltip { display: block; }

.action-buttons { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: auto; flex-shrink: 0; }
.game-card .action-buttons { width: 170px; }

.buy-btn, .kinguin-btn { display: flex; align-items: center; justify-content: center; padding: 0 8px; text-decoration: none; font-weight: bold; font-size: 0.75rem; border-radius: 25px; transition: all 0.3s; white-space: nowrap !important; height: 32px; line-height: 1; width: 100%; }
.buy-btn { background-color: #00ff88; color: #121212; }
.buy-btn:hover { background-color: #00cc6a; transform: scale(1.03); }
.kinguin-btn { background-color: #ff9900; color: #121212; }
.kinguin-btn:hover { background-color: #e68a00; transform: scale(1.03); }

.disclaimer-text { font-size: 0.7rem; color: #ffaa00; text-align: center; margin-top: 5px; white-space: nowrap; width: 100%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }

.seo-content { max-width: 1200px; margin: 50px auto 20px auto; padding: 30px; background-color: #1a1a1a; border-radius: 8px; border-left: 4px solid #00ff88; }
.seo-content h2 { color: #00ff88; margin-bottom: 15px; font-size: 1.5rem; }
.seo-content p { line-height: 1.6; margin-bottom: 15px; color: #cccccc; }
footer { max-width: 1200px; margin: 0 auto 20px auto; padding: 20px; text-align: center; border-top: 1px solid #333; color: #888; }
.footer-links { margin-bottom: 15px; }
.footer-links a { color: #00ff88; text-decoration: none; margin: 0 10px; font-size: 0.9rem; }
.footer-links a:hover { text-decoration: underline; }

.page-content { max-width: 800px; margin: 40px auto; padding: 30px; background-color: #1a1a1a; border-radius: 8px; color: #cccccc; line-height: 1.6; border-top: 3px solid #00ff88; }
.page-content h2, .page-content h3 { color: #00ff88; margin-bottom: 15px; margin-top: 25px; }
.page-content a { color: #00ff88; text-decoration: none; }
.back-link { display: inline-block; margin-top: 20px; padding: 10px 20px; background-color: #333; color: #00ff88; border-radius: 25px; text-decoration: none; font-weight: bold; }

@media (max-width: 768px) {
    .carousel-btn { display: none; }
    #search-input { width: 100%; }
    .search-container { flex-direction: column; align-items: stretch; padding: 0 10px; }
    .game-card { height: auto; min-height: unset; max-height: unset; flex-direction: column; align-items: flex-start; }
    .game-card .image-container { width: 100%; max-width: 100%; height: 160px; min-height: 160px; max-height: 160px; }
    .game-card .game-info { flex-direction: column; align-items: flex-start; padding: 15px; gap: 15px; }
    .game-card .game-title { width: 100%; white-space: normal; -webkit-line-clamp: 2; }
    .game-card .price-box { flex-direction: row; align-items: center; justify-content: flex-start; width: 100%; margin-bottom: 15px; }
    .game-card .price-details { align-items: flex-start; }
    .game-card .action-buttons { width: 100%; }
}