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

:root {
    --primary: #fbbf24;
    --secondary: #f59e0b;
    --accent: #fcd34d;
    --bg-dark: #0f0f0f;
    --bg-darker: #050505;
    --text-light: #fffbeb;
    --text-muted: rgba(255, 251, 235, 0.85);
    --glow: rgba(251, 191, 36, 0.55);
    --shadow-glow: 0 0 35px rgba(251, 191, 36, 0.45);
}

body {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

/* Top Navigation Bar */
.top-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    transition: transform 0.3s;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo i {
    color: var(--primary);
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text-light);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.nav-link i {
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s;
}

.close-menu-btn:hover {
    transform: rotate(90deg);
}

.mobile-menu-links {
    padding: 1rem 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-menu-link:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary);
}

.mobile-menu-link.active {
    color: var(--text-light);
    background: rgba(251, 191, 36, 0.1);
    border-left-color: var(--primary);
}

.mobile-menu-link i {
    width: 24px;
    text-align: center;
    font-size: 1.25rem;
}

/* Background Layers with Parallax */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 20% 50%, var(--primary) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, var(--accent) 0%, transparent 50%),
                var(--bg-dark);
    background-size: 200% 200%;
    animation: bgMove 20s ease-in-out infinite;
}

.bg-layer-1 {
    opacity: 0.6;
    animation-duration: 25s;
}

.bg-layer-2 {
    opacity: 0.4;
    animation-duration: 30s;
    animation-direction: reverse;
}

.bg-layer-3 {
    opacity: 0.2;
    animation-duration: 35s;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-5%, -5%) scale(1.1); }
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-darker));
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Center Section */
.hero-center {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 800px;
}

.logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo-large i {
    font-size: 5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 20px var(--glow));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-large h1 {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    gap: 1rem;
    transition: all 0.4s;
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    transform: scale(1.02);
}

.hero-search input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    outline: none;
}

.hero-search input::placeholder {
    color: var(--text-muted);
}

.hero-search button {
    background: var(--primary);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
}

.hero-search button:hover {
    transform: scale(1.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-bubble {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.stat-bubble:nth-child(1) { animation-delay: 0.2s; }
.stat-bubble:nth-child(2) { animation-delay: 0.4s; }
.stat-bubble:nth-child(3) { animation-delay: 0.6s; }

.stat-bubble:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3D Cards Section */
.games-3d-section {
    margin: 6rem 0;
    position: relative;
}

.section-label {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label span {
    display: inline-block;
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cards-3d-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    perspective: 1000px;
    min-height: 450px;
}

.game-card-3d {
    width: 280px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.game-card-3d:nth-child(2) { animation-delay: -1.5s; }
.game-card-3d:nth-child(3) { animation-delay: -3s; }
.game-card-3d:nth-child(4) { animation-delay: -4.5s; }
.game-card-3d:nth-child(5) { animation-delay: -2s; }
.game-card-3d:nth-child(6) { animation-delay: -3.5s; }

.game-card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg) translateY(-20px);
}

.game-card-3d.flipped {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.card-back h3,
.card-back p {
    color: var(--text-light);
}

.card-image {
    width: 100%;
    height: 70%;
    overflow: hidden;
}

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

.game-card-3d:hover .card-image img {
    transform: scale(1.2);
}

.card-info {
    padding: 1.5rem;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.9rem;
}

/* Category Pills */
.categories-pills {
    margin: 4rem 0;
    overflow-x: auto;
    padding: 1rem 0;
}

.pills-container {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
    min-width: max-content;
}

.category-pill {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.category-pill:hover::before {
    width: 300px;
    height: 300px;
}

.category-pill:hover {
    background: var(--primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    border-color: var(--primary);
}

.category-pill > * {
    position: relative;
    z-index: 1;
}

/* Showcase Section */
.showcase-section {
    margin: 6rem 0;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.showcase-header h2 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-controls {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
}

.view-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.view-btn.active {
    background: var(--primary);
    color: white;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

@media (max-width: 1400px) {
    .showcase-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.showcase-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.showcase-card:nth-child(1) { animation-delay: 0.1s; }
.showcase-card:nth-child(2) { animation-delay: 0.2s; }
.showcase-card:nth-child(3) { animation-delay: 0.3s; }
.showcase-card:nth-child(4) { animation-delay: 0.4s; }
.showcase-card:nth-child(5) { animation-delay: 0.5s; }
.showcase-card:nth-child(6) { animation-delay: 0.6s; }
.showcase-card:nth-child(7) { animation-delay: 0.7s; }
.showcase-card:nth-child(8) { animation-delay: 0.8s; }
.showcase-card:nth-child(n+9) { animation-delay: 0.9s; }

.showcase-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.showcase-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
}

.showcase-card:hover::before {
    opacity: 0.1;
}

.showcase-card > * {
    position: relative;
    z-index: 1;
}

.showcase-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.showcase-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-info {
    padding: 1.5rem;
    color: var(--text-light);
}

.showcase-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.showcase-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Spotlight Section */
.spotlight-section {
    margin: 6rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-content {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
}

/* Carousel Section */
.carousel-section {
    margin: 6rem 0;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.carousel-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-light);
}

.carousel-nav {
    display: flex;
    gap: 1rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: var(--text-light);
}

.carousel-item h3,
.carousel-item h2,
.carousel-item p {
    color: var(--text-light);
}

.carousel-item:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    border-color: var(--primary);
    z-index: 10;
}

/* Top Picks Section */
.top-picks-section {
    margin: 6rem 0;
}

.picks-header {
    margin-bottom: 3rem;
}

.picks-header h2 {
    font-size: 3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.picks-header i {
    color: #fbbf24;
}

.picks-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1400px) {
    .picks-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .picks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.pick-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
}

.pick-card h3,
.pick-card h2,
.pick-card p {
    color: var(--text-light);
}

.pick-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pick-card:hover::after {
    width: 300px;
    height: 300px;
}

.pick-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    border-color: var(--primary);
}

.pick-card > * {
    position: relative;
    z-index: 1;
}

/* Footer */
.site-footer {
    margin-top: 8rem;
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand i {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .spotlight-content > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .spotlight-content h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 1rem !important;
    }
    
    .hero-center {
        min-height: 60vh !important;
        padding: 1.5rem 1rem !important;
    }
    
    .logo-large {
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .logo-large h1 {
        font-size: 2rem !important;
        letter-spacing: -1px !important;
    }
    
    .logo-large i {
        font-size: 2rem !important;
    }
    
    .hero-tagline {
        font-size: 0.95rem !important;
        margin: 0.75rem 0 1.25rem !important;
    }
    
    .hero-search {
        max-width: 100% !important;
        padding: 0.625rem 0.875rem !important;
        margin: 1rem 0 !important;
        border-radius: 30px !important;
    }
    
    .hero-search input {
        font-size: 0.875rem !important;
    }
    
    .hero-search button {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-stats {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }
    
    .stat-bubble {
        padding: 0.625rem 1rem !important;
        border-radius: 16px !important;
    }
    
    .stat-number {
        font-size: 1.25rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
    }
    
    .games-3d-section {
        margin: 2.5rem 0 !important;
    }
    
    .section-label {
        margin-bottom: 1.5rem !important;
    }
    
    .section-label span {
        padding: 0.375rem 1.25rem !important;
        font-size: 0.8rem !important;
    }
    
    .cards-3d-container {
        gap: 0.75rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        min-height: auto !important;
    }
    
    .game-card-3d {
        width: 140px !important;
        height: 200px !important;
    }
    
    .card-info {
        padding: 0.875rem !important;
    }
    
    .card-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    .card-rating {
        font-size: 0.75rem !important;
    }
    
    .categories-pills {
        margin: 2rem 0 !important;
        padding: 0.75rem 0 !important;
    }
    
    .pills-container {
        flex-wrap: wrap !important;
        gap: 0.625rem !important;
        padding: 0 0.75rem !important;
    }
    
    .category-pill {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
        border-radius: 30px !important;
    }
    
    .showcase-section,
    .spotlight-section,
    .carousel-section,
    .top-picks-section {
        margin: 2.5rem 0 !important;
    }
    
    .showcase-grid,
    .picks-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.875rem !important;
    }
    
    .showcase-card {
        border-radius: 12px !important;
    }
    
    .showcase-info {
        padding: 0.875rem !important;
    }
    
    .showcase-title {
        font-size: 0.875rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    .showcase-meta {
        font-size: 0.75rem !important;
    }
    
    .showcase-header,
    .carousel-header,
    .picks-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .showcase-header h2,
    .carousel-header h2,
    .picks-header h2 {
        font-size: 1.25rem !important;
    }
    
    .view-controls {
        padding: 0.375rem !important;
        gap: 0.375rem !important;
    }
    
    .view-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .spotlight-content {
        padding: 1.5rem 1rem !important;
        border-radius: 20px !important;
        min-height: auto !important;
    }
    
    .spotlight-section {
        min-height: auto !important;
    }
    
    .carousel-header {
        margin-bottom: 1.25rem !important;
    }
    
    .carousel-track {
        gap: 0.875rem !important;
        padding: 0.75rem 0 !important;
    }
    
    .carousel-item {
        min-width: 200px !important;
        border-radius: 16px !important;
    }
    
    .carousel-nav {
        gap: 0.75rem !important;
    }
    
    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    .picks-header {
        margin-bottom: 1.25rem !important;
    }
    
    .picks-header h2 {
        font-size: 1.25rem !important;
    }
    
    .top-nav-bar {
        padding: 0.75rem 1rem !important;
    }
    
    .nav-container {
        gap: 1rem !important;
    }
    
    .nav-logo {
        font-size: 1.25rem !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
}
    
    .site-footer {
        padding: 1.5rem 1rem !important;
    }
    
    .footer-content {
        flex-direction: column !important;
        gap: 1.25rem !important;
        text-align: center !important;
    }
    
    .footer-copyright {
        font-size: 0.85rem !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0.625rem !important;
    }
    
    .hero-center {
        min-height: 45vh !important;
        padding: 1rem 0.625rem !important;
    }
    
    .logo-large {
        gap: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .logo-large h1 {
        font-size: 1.5rem !important;
        letter-spacing: -0.5px !important;
    }
    
    .logo-large i {
        font-size: 1.5rem !important;
    }
    
    .hero-tagline {
        font-size: 0.85rem !important;
        margin: 0.5rem 0 1rem !important;
        line-height: 1.4 !important;
    }
    
    .hero-search {
        padding: 0.5rem 0.75rem !important;
        margin: 0.75rem 0 !important;
        border-radius: 25px !important;
        border-width: 1.5px !important;
    }
    
    .hero-search input {
        font-size: 0.8rem !important;
    }
    
    .hero-search input::placeholder {
        font-size: 0.75rem !important;
    }
    
    .hero-search button {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
    
    .hero-stats {
        gap: 0.5rem !important;
        margin-top: 0.75rem !important;
    }
    
    .stat-bubble {
        padding: 0.5rem 0.875rem !important;
        border-radius: 12px !important;
    }
    
    .stat-number {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
    }
    
    .games-3d-section {
        margin: 2rem 0 !important;
    }
    
    .section-label {
        margin-bottom: 1rem !important;
    }
    
    .section-label span {
        padding: 0.25rem 1rem !important;
        font-size: 0.75rem !important;
    }
    
    .cards-3d-container {
        gap: 0.5rem !important;
    }
    
    .game-card-3d {
        width: 120px !important;
        height: 170px !important;
    }
    
    .card-info {
        padding: 0.75rem !important;
    }
    
    .card-title {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .card-rating {
        font-size: 0.7rem !important;
    }
    
    .categories-pills {
        margin: 1.5rem 0 !important;
        padding: 0.5rem 0 !important;
    }
    
    .pills-container {
        gap: 0.5rem !important;
        padding: 0 0.625rem !important;
    }
    
    .category-pill {
        padding: 0.375rem 0.875rem !important;
        font-size: 0.75rem !important;
        border-radius: 25px !important;
    }
    
    .showcase-section,
    .spotlight-section,
    .carousel-section,
    .top-picks-section {
        margin: 2rem 0 !important;
    }
    
    .showcase-grid,
    .picks-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.625rem !important;
    }
    
    .showcase-card {
        border-radius: 10px !important;
    }
    
    .showcase-info {
        padding: 0.75rem !important;
    }
    
    .showcase-title {
        font-size: 0.8rem !important;
        margin-bottom: 0.375rem !important;
        line-height: 1.3 !important;
    }
    
    .showcase-meta {
        font-size: 0.7rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.25rem !important;
    }
    
    .showcase-header,
    .carousel-header,
    .picks-header {
        margin-bottom: 1rem !important;
        gap: 0.625rem !important;
    }
    
    .showcase-header h2,
    .carousel-header h2,
    .picks-header h2 {
        font-size: 1.1rem !important;
    }
    
    .view-controls {
        padding: 0.25rem !important;
        gap: 0.25rem !important;
    }
    
    .view-btn {
        padding: 0.375rem 0.875rem !important;
        font-size: 0.8rem !important;
    }
    
    .spotlight-content {
        padding: 1.25rem 0.875rem !important;
        border-radius: 16px !important;
    }
    
    .carousel-header {
        margin-bottom: 1rem !important;
    }
    
    .carousel-track {
        gap: 0.625rem !important;
        padding: 0.5rem 0 !important;
    }
    
    .carousel-item {
        min-width: 160px !important;
        border-radius: 12px !important;
    }
    
    .carousel-nav {
        gap: 0.5rem !important;
    }
    
    .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
    
    .picks-header {
        margin-bottom: 1rem !important;
    }
    
    .picks-header h2 {
        font-size: 1.1rem !important;
    }
    
    .floating-nav {
        bottom: 1rem !important;
        right: 1rem !important;
        z-index: 10000 !important;
    }
    
    .nav-circle {
        width: 52px !important;
        height: 52px !important;
        z-index: 10001 !important;
    }
    
    .top-nav-bar {
        padding: 0.5rem 0.75rem !important;
    }
    
    .nav-logo {
        font-size: 1.1rem !important;
    }
    
    .nav-logo i {
        font-size: 1.5rem !important;
    }
    
    .site-footer {
        padding: 1.25rem 0.75rem !important;
    }
    
    .footer-content {
        gap: 1rem !important;
    }
    
    .footer-copyright {
        font-size: 0.75rem !important;
        margin-top: 0.75rem !important;
    }
}

/* Game Detail Page Styles */
.detail-loading {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.detail-header-section {
    margin: 2rem 0 3rem;
}

.detail-header-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
}

.detail-header-image {
    width: 100%;
    padding-top: 70%;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.detail-header-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-header-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.detail-rating-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #fbbf24;
}

.rating-value {
    font-weight: 700;
    color: var(--text-light);
}

.detail-reviews {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-badge {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.category-badge:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.play-button-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    width: fit-content;
}

.play-button-large:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.detail-play-section {
    margin: 4rem 0;
}

.game-play-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 2rem;
}

.game-play-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.game-play-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.fullscreen-btn-detail {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.fullscreen-btn-detail:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.game-iframe-container-detail {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.game-iframe-wrapper-detail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.game-iframe-wrapper-detail iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.detail-info-section {
    margin: 4rem 0;
}

.detail-info-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.description-card,
.tags-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.description-title,
.tags-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.description-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-item {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tag-item:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
}

.related-games-grid,
.category-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.related-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.related-game-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.related-game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-game-info {
    padding: 1.25rem;
}

.related-game-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.9rem;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.stat-item-detail:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.stat-icon-detail {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.stat-content {
    flex: 1;
}

.stat-value-detail {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.stat-label-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popular-games-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-game-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.popular-game-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.popular-game-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

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

.popular-game-info {
    flex: 1;
    min-width: 0;
}

.popular-game-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .detail-header-content {
        grid-template-columns: 1fr;
    }
    
    .detail-info-layout {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 2rem;
    }
    
    .related-games-grid,
    .category-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .detail-header-content,
    .game-play-wrapper,
    .description-card,
    .tags-card,
    .sidebar-card {
        padding: 1rem;
    }
}

/* ============================================
   移动端详情页边距优化 (480px及以下)
   ============================================ */
@media (max-width: 768px) {
    .detail-header-section {
        margin: 1.5rem 0 2rem !important;
    }
    
    .detail-header-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }
    
    .detail-header-image {
        padding-top: 60% !important;
    }
    
    .detail-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    .detail-rating-section {
        gap: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .detail-rating {
        font-size: 1.1rem !important;
    }
    
    .detail-reviews {
        font-size: 0.9rem !important;
    }
    
    .detail-categories {
        gap: 0.5rem !important;
    }
    
    .category-badge {
        padding: 0.375rem 1rem !important;
        font-size: 0.8rem !important;
        border-radius: 16px !important;
    }
    
    .play-button-large {
        padding: 0.875rem 2rem !important;
        font-size: 1rem !important;
        border-radius: 30px !important;
    }
    
    .detail-play-section {
        margin: 2rem 0 !important;
    }
    
    .game-play-wrapper {
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }
    
    .description-card,
    .tags-card,
    .sidebar-card {
        padding: 1.5rem !important;
        border-radius: 20px !important;
        margin-bottom: 1.5rem !important;
    }
    
    .description-title,
    .tags-title {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .description-text {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }
    
    .tags-list {
        gap: 0.625rem !important;
    }
    
    .tag-item {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .game-play-header h2 {
        font-size: 1.5rem !important;
    }
    
    .fullscreen-btn-detail {
        width: 44px !important;
        height: 44px !important;
    }
    
    .detail-info-section {
        margin: 2rem 0 !important;
    }
    
    .detail-info-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .detail-main {
        gap: 2rem !important;
    }
    
    .sidebar-card h3,
    .sidebar-title {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .stats-list {
        gap: 1rem !important;
    }
    
    .stat-item-detail {
        padding: 0.875rem !important;
    }
    
    .stat-icon-detail {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
    }
    
    .stat-value-detail {
        font-size: 1.25rem !important;
    }
    
    .stat-label-detail {
        font-size: 0.8rem !important;
    }
    
    .popular-games-list {
        gap: 0.875rem !important;
    }
    
    .popular-game-item {
        padding: 0.875rem !important;
    }
    
    .info-item {
        padding: 0.875rem 0 !important;
    }
    
    .info-label {
        font-size: 0.85rem !important;
    }
    
    .info-value {
        font-size: 0.9rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .related-games-grid,
    .category-games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .related-game-info {
        padding: 1rem !important;
    }
    
    .related-game-title {
        font-size: 0.95rem !important;
    }
    
    .related-game-rating {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .detail-header-section {
        margin: 1rem 0 1.25rem !important;
    }
    
    .detail-header-content {
        gap: 1rem !important;
        padding: 1rem !important;
        border-radius: 16px !important;
    }
    
    .detail-header-image {
        padding-top: 60% !important;
        border-radius: 12px !important;
    }
    
    .detail-header-info {
        gap: 0.75rem !important;
    }
    
    .detail-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
    }
    
    .detail-rating-section {
        gap: 0.75rem !important;
        margin-bottom: 0.5rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .detail-rating {
        font-size: 0.95rem !important;
        gap: 0.375rem !important;
    }
    
    .detail-reviews {
        font-size: 0.85rem !important;
    }
    
    .detail-categories {
        gap: 0.5rem !important;
    }
    
    .category-badge {
        padding: 0.375rem 0.875rem !important;
        font-size: 0.75rem !important;
        border-radius: 14px !important;
    }
    
    .play-button-large {
        padding: 0.75rem 1.75rem !important;
        font-size: 0.9rem !important;
        border-radius: 25px !important;
        gap: 0.75rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .detail-play-section {
        margin: 1.5rem 0 !important;
    }
    
    .game-play-wrapper {
        padding: 1rem !important;
        border-radius: 16px !important;
    }
    
    .description-card,
    .tags-card,
    .sidebar-card {
        padding: 1rem !important;
        border-radius: 16px !important;
        margin-bottom: 1rem !important;
    }
    
    .description-title,
    .tags-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
        gap: 0.5rem !important;
    }
    
    .description-card p,
    .description-text {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
    }
    
    .tags-list {
        gap: 0.5rem !important;
    }
    
    .tag-item {
        padding: 0.375rem 0.875rem !important;
        font-size: 0.8rem !important;
        border-radius: 16px !important;
    }
    
    .game-play-header {
        margin-bottom: 1rem !important;
    }
    
    .game-play-header h2 {
        font-size: 1.1rem !important;
    }
    
    .fullscreen-btn-detail {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    .game-iframe-container-detail {
        border-radius: 12px !important;
    }
    
    .detail-info-section {
        margin: 1.5rem 0 !important;
    }
    
    .detail-info-layout {
        gap: 1rem !important;
    }
    
    .detail-main {
        gap: 1.5rem !important;
    }
    
    .sidebar-card {
        padding: 1rem !important;
        border-radius: 16px !important;
    }
    
    .sidebar-card h3,
    .sidebar-title {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
        gap: 0.5rem !important;
    }
    
    .stats-list {
        gap: 0.75rem !important;
    }
    
    .stat-item-detail {
        padding: 0.75rem !important;
        gap: 0.75rem !important;
    }
    
    .stat-icon-detail {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .stat-value-detail {
        font-size: 1.1rem !important;
    }
    
    .stat-label-detail {
        font-size: 0.75rem !important;
    }
    
    .popular-games-list {
        gap: 0.75rem !important;
    }
    
    .popular-game-item {
        padding: 0.75rem !important;
        gap: 0.75rem !important;
    }
    
    .info-item {
        padding: 0.75rem 0 !important;
    }
    
    .info-label {
        font-size: 0.8rem !important;
    }
    
    .info-value {
        font-size: 0.85rem !important;
    }
    
    .section-title {
        font-size: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        gap: 0.75rem !important;
    }
    
    .category-header-section {
        margin: 2rem 0 1.5rem !important;
    }
    
    .category-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .category-title i {
        font-size: 1.25rem !important;
    }
    
    .category-stats {
        font-size: 0.875rem !important;
    }
    
    .category-games-section {
        margin: 1.5rem 0 !important;
    }
    
    .related-games-grid,
    .category-games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.875rem !important;
    }
    
    .related-game-card {
        border-radius: 16px !important;
    }
    
    .related-game-info {
        padding: 0.875rem !important;
    }
    
    .related-game-title {
        font-size: 0.875rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    .related-game-rating {
        font-size: 0.75rem !important;
        gap: 0.375rem !important;
    }
}

/* Search Page Styles */
.search-header-section {
    margin: 6rem 0 4rem;
}

.search-header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.search-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.search-box-large {
    display: flex;
    max-width: 700px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1.5rem 2rem;
    gap: 1rem;
    transition: all 0.3s;
}

.search-box-large:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.search-box-large input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    outline: none;
}

.search-box-large input::placeholder {
    color: var(--text-muted);
}

.search-box-large button {
    background: var(--primary);
    border: none;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.search-box-large button:hover {
    transform: scale(1.1);
}

.search-stats {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-results-section {
    margin: 4rem 0;
}

.search-results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.search-placeholder,
.search-no-results {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-muted);
}

.search-placeholder i,
.search-no-results i {
    font-size: 5rem;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.search-no-results h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.search-result-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.search-result-image {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
}

.search-result-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.search-result-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.search-result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.search-result-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 1rem;
}

.search-result-reviews {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Categories Page Styles */
.category-header-section {
    margin: 6rem 0 4rem;
}

.category-header-content {
    text-align: center;
}

.category-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.category-stats {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.category-games-section {
    margin: 4rem 0;
}

.category-games-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.loading-placeholder,
.category-no-results {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-muted);
}

.loading-placeholder i,
.category-no-results i {
    font-size: 5rem;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.category-no-results h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.back-to-categories-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s;
}

.back-to-categories-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card-large {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.category-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.category-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.category-card-content {
    flex: 1;
    text-align: left;
}

.category-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.category-card-count {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.category-card-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.category-card-large:hover .category-card-arrow {
    transform: translateX(5px);
    color: var(--primary);
}

.category-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.category-game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.category-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.category-game-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.category-game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-game-info {
    padding: 1.5rem;
}

.category-game-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.category-game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.95rem;
}

.category-game-reviews {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .search-title,
    .category-header-section {
        margin: 3rem 0 2rem !important;
    }
    
    .category-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .category-stats {
        font-size: 0.95rem !important;
    }
    
    .category-games-section {
        margin: 2rem 0 !important;
    }
    
    .search-results-grid,
    .category-games-grid,
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .search-box-large {
        padding: 1rem 1.5rem;
    }
    
    .search-box-large input {
        font-size: 1rem;
    }
}

/* Explore Page Styles */
.explore-header-section {
    margin: 6rem 0 4rem;
}

.explore-header-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.explore-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.explore-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.explore-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

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

.filter-group label {
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-select {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.filter-select option {
    background: var(--bg-darker);
    color: white;
}

.explore-games-section {
    margin: 4rem 0;
}

.explore-stats {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.explore-games-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.explore-games-grid.list-view {
    grid-template-columns: 1fr;
}

.explore-game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.explore-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    border-color: var(--primary);
}

.explore-game-card.list-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.explore-game-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.explore-game-image.list-image {
    padding-top: 0;
    height: 150px;
}

.explore-game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-game-info {
    padding: 1.5rem;
}

.explore-game-info.list-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.explore-game-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.explore-game-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.explore-game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.explore-game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.95rem;
}

.explore-game-reviews {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.load-more-container {
    text-align: center;
    margin-top: 4rem;
}

.load-more-btn {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

/* Showcase List View */
.showcase-grid.list-view {
    grid-template-columns: 1fr;
}

.showcase-card.list-view-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.showcase-image.list-view-image {
    padding-top: 0;
    height: 150px;
}

.showcase-info.list-view-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.showcase-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

/* Collections Page Styles */
.collections-header-section {
    margin: 6rem 0 4rem;
}

.collections-header-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.collections-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.collections-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.collections-grid-section {
    margin: 4rem 0;
}

.collections-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.collection-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.collection-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
    border-color: var(--primary);
}

.collection-card:hover::before {
    opacity: 0.05;
}

.collection-card > * {
    position: relative;
    z-index: 1;
}

.collection-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.collection-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.collection-info {
    flex: 1;
}

.collection-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.collection-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.collection-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.collection-preview-item {
    width: 100%;
    padding-top: 75%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.collection-preview-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-count {
    color: var(--text-muted);
    font-size: 1rem;
}

.collection-footer i {
    color: var(--primary);
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.collection-card:hover .collection-footer i {
    transform: translateX(5px);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.4s;
    z-index: 999;
}

.back-to-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
}

@media (max-width: 768px) {
    .explore-title,
    .collections-title {
        font-size: 2.5rem;
    }
    
    .explore-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .explore-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .explore-game-card.list-card {
        grid-template-columns: 1fr;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top-btn {
        bottom: 90px;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}

/* Collection Detail Page Styles */
.collection-detail-header {
    margin: 6rem 0 4rem;
}

.collection-detail-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
}

.collection-detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    flex-shrink: 0;
}

.collection-detail-info {
    flex: 1;
}

.collection-detail-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.collection-detail-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.collection-detail-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.collection-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
}

.collection-stat i {
    color: var(--primary);
    font-size: 1.25rem;
}

.collection-games-section {
    margin: 4rem 0;
}

.collection-games-header {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.collection-games-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.collection-games-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.collection-games-grid.list-view {
    grid-template-columns: 1fr;
}

.collection-game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.collection-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    border-color: var(--primary);
}

.collection-game-card.list-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.collection-game-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.collection-game-image.list-image {
    padding-top: 0;
    height: 150px;
}

.collection-game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-game-info {
    padding: 1.5rem;
}

.collection-game-info.list-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.collection-game-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.collection-game-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.collection-game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.collection-game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.collection-game-rating .stars {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    margin-right: 0.25rem;
}

.collection-game-rating .stars i {
    font-size: 0.875rem;
    line-height: 1;
}

.collection-game-rating span {
    white-space: nowrap;
    flex-shrink: 0;
}

.collection-game-reviews {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .collection-detail-header-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .collection-detail-title {
        font-size: 2.5rem;
    }
    
    .collection-games-header h2 {
        font-size: 2rem;
    }
    
    .collection-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .collection-game-card.list-card {
        grid-template-columns: 1fr;
    }
}

/* Content Pages (About, Contact, Privacy, Terms) */
.content-page {
    margin: 6rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.content-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.content-page-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.content-page-body {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    line-height: 1.8;
}

.content-page-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-page-body h2:first-of-type {
    margin-top: 0;
}

.content-page-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-page-body ul {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-page-body li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.content-page-body a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.content-page-body a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.contact-item span {
    color: var(--text-light);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .content-page-header h1 {
        font-size: 2.5rem;
    }
    
    .content-page-body {
        padding: 2rem;
    }
    
    .content-page-body h2 {
        font-size: 1.75rem;
    }
}



    
    .section,
    .games-section {
        margin-bottom: 2rem !important;
    }
    
    .games-grid,
    .featured-grid {
        gap: 0.75rem !important;
    }
    
    .item-info,
    .game-card-content {
        padding: 0.875rem 0.75rem !important;
    }
    
    .section-title {
        margin-bottom: 0.75rem !important;
    }
}


/* ============================================
   移动端导航栏完整修复 (480px及以下)
   ============================================ */
@media (max-width: 480px) {
    /* 导航栏容器 */
    .top-nav,
    .nav-bar,
    .header,
    .site-header {
        padding: 0.5rem 0.75rem !important;
        min-height: 56px;
    }
    
    /* 导航栏包装器 - 关键修复 */
    .nav-wrapper,
    .header-container,
    .nav-content,
    .header-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
    }
    
    /* Logo和品牌 - 左侧 */
    .brand,
    .site-logo,
    .logo-wrapper,
    .brand-logo,
    .logo {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        font-size: 0.875rem !important;
        font-weight: 600;
        flex: 0 1 auto !important;
        min-width: 0;
        max-width: calc(100% - 50px);
        overflow: hidden;
    }
    
    .brand span,
    .site-logo span,
    .logo-wrapper span,
    .brand-logo span,
    .logo span {
        font-size: 0.875rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .brand img,
    .site-logo img,
    .logo-wrapper img,
    .brand-logo img,
    .logo img {
        height: 28px !important;
        width: auto !important;
        flex-shrink: 0;
    }
    
    /* 搜索框 - 导航栏中隐藏 */
    .search-wrapper,
    .search-container,
    .search-box {
        display: none !important;
    }
    
    /* 导航菜单 - 隐藏 */
    .nav-menu,
    .nav-links,
    .site-nav,
    .nav-actions,
    nav > ul {
        display: none !important;
    }
    
    /* 移动菜单按钮 - 右侧显示 */
    .mobile-menu-btn,
    .mobile-menu-toggle,
    .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer;
        z-index: 1001;
        order: 999;
    }
    
    .mobile-menu-btn span,
    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        margin: 3px 0;
        transition: all 0.3s;
    }
    
    /* 移动菜单中的搜索框 */
    .mobile-nav .search-wrapper,
    .mobile-nav .search-container,
    .mobile-menu .search-wrapper {
        display: flex !important;
        width: 100% !important;
        padding: 0.75rem 1rem !important;
        margin: 0 !important;
        border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1)) !important;
        gap: 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    .mobile-nav .search-input,
    .mobile-menu .search-input {
        flex: 1 !important;
        padding: 0.625rem 0.75rem !important;
        font-size: 14px !important;
        border-radius: 6px !important;
        border: 1px solid var(--border, rgba(255, 255, 255, 0.2)) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--text-main, #ffffff) !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
    }
    
    .mobile-nav .search-btn,
    .mobile-menu .search-btn {
        padding: 0.625rem 1rem !important;
        min-width: 44px !important;
        min-height: 44px !important;
        flex-shrink: 0 !important;
    }
}

/* ============================================
   中等屏幕导航栏优化 (768px及以下)
   ============================================ */
@media (max-width: 768px) {
    .top-nav,
    .nav-bar,
    .header,
    .site-header {
        padding: 0.75rem 1rem;
    }
    
    .nav-wrapper,
    .header-container,
    .nav-content,
    .header-inner {
        padding: 0;
        gap: 1rem;
    }
    
    .brand,
    .site-logo,
    .logo-wrapper,
    .brand-logo,
    .logo {
        font-size: 1rem !important;
    }
    
    .brand img,
    .site-logo img,
    .logo-wrapper img,
    .brand-logo img,
    .logo img {
        height: 32px !important;
    }
    
    .search-wrapper,
    .search-container {
        max-width: 200px;
        flex: 0 1 auto;
    }
    
    .nav-menu,
    .nav-links,
    .site-nav {
        display: none;
    }
    
    .mobile-menu-btn,
    .menu-toggle {
        display: flex !important;
    }
}
