/* YOX Game Portal Ana Stil Dosyası */
:root {
    --background-dark: #17152e;
    --background-darker: #0f0d24;
    --primary-color: #d834b0;
    --secondary-color: #7b41d6;
    --text-light: #ffffff;
    --text-gray: #a5a5c9;
    --card-bg: #1e1c3a;
    --card-border: #2a245c;
}

/* Temel Stillemeler */
body {
    background-color: var(--background-darker);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

/* Navbar */
.navbar {
    background-color: var(--background-darker) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand img {
    height: 30px;
}

/* Arama kutusu */
.search-box {
    position: relative;
}

.search-input {
    background-color: #292650;
    border: none;
    border-radius: 50px;
    color: var(--text-light);
    padding: 8px 15px;
    width: 220px;
    font-size: 14px;
}

.search-input::placeholder {
    color: var(--text-gray);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    color: var(--text-gray);
    height: 100%;
    width: 40px;
}

/* Giriş Buton */
.login-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.login-button:hover {
    background-color: #c22b9b;
    color: white;
}

.login-button i {
    margin-right: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #9c27b0);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/img/pattern.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #c22b9b;
    border-color: #c22b9b;
}

.btn-outline-light {
    color: white;
    border-color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Kategoriler Sidebar */
.categories-sidebar {
    background-color: var(--background-dark);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.sidebar-header {
    padding: 15px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    border-bottom: 1px solid var(--card-border);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-gray);
    transition: all 0.2s ease;
    position: relative;
}

.category-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.category-icon {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}

.category-count {
    margin-left: auto;
    background-color: var(--card-bg);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Etiketler Kutusu */
.tags-box {
    background-color: var(--background-dark);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.tags-header {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 15px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: var(--card-bg);
    color: var(--text-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Premium Kutusu */
.premium-box {
    background-color: var(--background-dark);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.premium-header {
    color: gold;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.premium-header i {
    margin-right: 5px;
}

/* Bölüm Başlıkları */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title h2 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
    margin: 0;
}

.section-title h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

.view-all {
    color: var(--primary-color);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
}

/* Kategoriler Tabs */
.category-tabs {
    display: flex;
    overflow-x: auto;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    background-color: var(--card-bg);
    color: var(--text-gray);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.category-tab.active,
.category-tab:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Kategori Kartları */
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.category-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon-box {
    width: 60px;
    height: 60px;
    background-color: #292650;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 16px;
    margin: 0 0 10px;
}

.category-count-label {
    color: var(--text-gray);
    font-size: 12px;
}

/* Oyun Kartları */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.badge-popular {
    background-color: var(--primary-color);
    color: white;
}

.badge-new {
    background-color: var(--secondary-color);
    color: white;
}

.game-content {
    padding: 15px;
}

.game-title {
    font-size: 16px;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.game-category-label {
    display: inline-block;
    background-color: #292650;
    color: var(--text-gray);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
}

.game-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-gray);
    font-size: 12px;
}

.game-rating {
    display: flex;
    align-items: center;
}

.star-icon {
    color: gold;
    margin-right: 3px;
}

.game-count, .game-date {
    display: flex;
    align-items: center;
}

.game-count i, .game-date i {
    margin-right: 3px;
}

/* Duyuru Banner */
.announcement-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    margin-bottom: 30px;
}

.announcement-content {
    display: flex;
    align-items: center;
}

.announcement-icon {
    background-color: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
}

.footer-text {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-links h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list a {
    color: var(--text-gray);
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-link-list a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: var(--text-gray);
    font-size: 12px;
}

/* Mobil uyumluluk */
@media (max-width: 992px) {
    .search-input {
        width: 180px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .category-cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 576px) {
    .category-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}