/* ArcadeVault - Category Page Styles */
:root {
    --primary: #ff00ff;
    --secondary: #00ffff;
    --accent: #ffff00;
    --dark: #0f0f30;
    --darker: #050520;
    --light: #f0f0ff;
    --card-bg: rgba(15, 15, 48, 0.8);
    --header-bg: rgba(5, 5, 32, 0.95);
    --shadow-neon: 0 0 10px rgba(255, 0, 255, 0.7);
    --gradient-neon: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    --font-heading: 'Tahoma', 'Arial', sans-serif;
    --font-body: 'Verdana', 'Geneva', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 25%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.neon-header {
    background: var(--header-bg);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--primary);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--light);
    text-shadow: 0 0 5px var(--primary), 0 0 15px var(--primary);
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    transform: scale(1.05);
}

.search-wrapper {
    width: 300px;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 25px 0 0 25px;
    background: rgba(15, 15, 48, 0.5);
    color: var(--light);
    outline: none;
    transition: all 0.3s ease;
}

.search-form input:focus {
    background: rgba(15, 15, 48, 0.8);
    box-shadow: 0 0 8px var(--primary);
}

.search-form button {
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0 25px 25px 0;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

/* Category Header */
.category-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3), 0 0 5px var(--primary);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.category-header h1 {
    font-size: 2.5rem;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-emoji {
    display: inline-block;
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.category-description {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Category Nav */
.category-nav {
    margin-bottom: 2.5rem;
}

.category-nav h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    font-size: 1.5rem;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.category-tab {
    padding: 0.8rem 1.5rem;
    background: var(--dark);
    border: 1px solid var(--primary);
    border-radius: 30px;
    color: var(--light);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
    min-width: 120px;
    text-align: center;
}

.category-tab:hover {
    background: rgba(255, 0, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary);
}

.category-tab.active {
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 0 15px var(--primary);
}

/* Filter and Sort */
.filter-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-controls {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--secondary);
}

.filter-select, .sort-select {
    padding: 0.6rem 1rem;
    background: rgba(15, 15, 48, 0.5);
    border: 1px solid var(--primary);
    border-radius: 5px;
    color: var(--light);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus, .sort-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sort-controls label {
    font-weight: 600;
    color: var(--secondary);
}

/* Games List */
.games-list {
    margin-bottom: 2rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.2);
    height: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--secondary);
    border-color: var(--secondary);
}

.card-image {
    position: relative;
    height: 180px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.card-content p {
    margin-bottom: 1rem;
    color: var(--light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(240, 240, 255, 0.7);
}

.genre {
    padding: 0.2rem 0.5rem;
    background: rgba(255, 0, 255, 0.2);
    border-radius: 3px;
}

.platform {
    padding: 0.2rem 0.5rem;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 3px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--primary);
    border-radius: 5px;
    color: var(--light);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: rgba(255, 0, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 0 10px var(--primary);
}

.page-link.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.page-link:last-child {
    width: auto;
    padding: 0 1rem;
}

/* Footer */
.site-footer {
    background: var(--header-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 5px var(--accent);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .filter-sort {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-controls {
        width: 100%;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-wrapper {
        width: 100%;
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
    
    .filter-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select, .sort-select {
        width: 100%;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .category-tab {
        min-width: auto;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
} 