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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    margin-bottom: 30px;
    padding: 35px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section Layout */
.hero-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    min-height: 180px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.hero-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
}

/* 响应式设计 - 1024px */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas: 
            "title"
            "logo"
            "stats"
            "search";
        gap: 15px;
        min-height: 160px;
        padding: 20px 15px;
    }
    
    .hero-center {
        margin: 5px 0;
    }
    
    .logo-container {
        padding: 15px;
    }
    
    .logo-container .main-logo {
        width: 120px;
        height: 120px;
    }
    
    .breathing-ring {
        width: 150px;
        height: 150px;
    }
    
    .breathing-ring::before {
        width: 180px;
        height: 180px;
    }
    
    .breathing-ring::after {
        width: 210px;
        height: 210px;
    }
}

.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo-container .main-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 5px 20px rgba(255, 215, 0, 0.4));
    position: relative;
    z-index: 2;
    animation: logo-glow 4s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% {
        filter: drop-shadow(0 5px 20px rgba(255, 215, 0, 0.4));
    }
    50% {
        filter: drop-shadow(0 8px 30px rgba(255, 215, 0, 0.6));
    }
}

.breathing-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.breathing-ring::before,
.breathing-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.breathing-ring::before {
    width: 240px;
    height: 240px;
    border: 3px solid rgba(255, 215, 0, 0.7);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.25),
        inset 0 0 25px rgba(255, 215, 0, 0.08);
}

.breathing-ring::after {
    width: 280px;
    height: 280px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 0 30px rgba(255, 215, 0, 0.05);
}

/* 呼吸灯动画 */
.breathing-ring,
.breathing-ring::before,
.breathing-ring::after {
    animation: breathing-glow 3s ease-in-out infinite;
}

.breathing-ring::before {
    animation-delay: 0.5s;
}

.breathing-ring::after {
    animation-delay: 1s;
}

@keyframes breathing-glow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Main Title Section */
.main-title {
    margin-bottom: 5px;
}

.title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.title-icon {
    font-size: 1.8rem;
    color: #ffd700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.title-text {
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.hero-stats {
    display: flex;
    justify-content: center;
}

.hero-search {
    display: flex;
    justify-content: center;
}

.search-section {
    width: 100%;
    max-width: 280px;
}

.search-container {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-box:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-right: 8px;
}

.search-input {
    flex: 1;
    padding: 6px 4px;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.85rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    padding: 4px 8px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    border-radius: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Stats Section */
.stats-section {
    width: 100%;
    max-width: 320px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #333;
    margin: 0 auto 6px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.05);
}

.stat-info {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 2px;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}



/* Quote Section */
.quote-section {
    flex: 0 0 300px;
}

.quote-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quote-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
    transition: left 0.8s ease;
}

.quote-container:hover::before {
    left: 100%;
}

.quote-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
}

.quote-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(255, 215, 0, 0.5); }
}

.quote-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    line-height: 1.4;
    margin: 0;
}

/* Content Section */
.content-section {
    flex: 1;
}

.title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.1;
}

.title i {
    margin-right: 12px;
    color: #ffd700;
}

.subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    font-weight: 400;
}

/* Stats Section */
.stats {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}

.stat-item {
    text-align: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.stat-item {
    text-align: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffd700;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    display: block;
    box-sizing: border-box;
}

.breathing-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border: 2px solid rgba(255, 215, 0, 0.8);
    border-radius: 50%;
    z-index: 1;
}

.breathing-ring::before,
.breathing-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.breathing-ring::before {
    width: 185px;
    height: 185px;
    border: 2px solid rgba(255, 215, 0, 0.6);
}

.breathing-ring::after {
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 215, 0, 0.4);
}



/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 215, 0, 0.8);
    border-radius: 50%;
    animation: float-particle 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 90%;
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 2.4s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: 3.2s;
}

@keyframes breathing-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
    }
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 350px;
    margin: 0;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.search-box input {
    width: 100%;
    padding: 12px 18px 12px 45px;
    border: 2px solid rgba(255, 215, 0, 0.25);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.search-box input:focus + i,
.search-box:focus-within i {
    color: #ffd700;
    transform: translateY(-50%) scale(1.05);
}

/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.category-btn.active {
    background: rgba(255, 215, 0, 0.9);
    color: #333;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.category-btn i {
    margin-right: 8px;
}

/* Games Grid */
.games-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 15px !important;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* 响应式网格布局 */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 360px) {
    .games-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Game Card */
.game-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

/* Card Thumbnail Styles */
.card-thumbnail {
    width: 100%;
    height: 120px;
    border-radius: 15px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, #667eea, #764ba2, #f093fb) border-box;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: contrast(1.05) saturate(1.1);
}

.game-card:hover .card-thumbnail {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.game-card:hover .thumbnail-image {
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.game-card:hover::before {
    opacity: 1;
}

/* Note: card-icon styles are deprecated - now using card-thumbnail instead */

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.card-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.card-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Hidden class for filtering */
.game-card.hidden {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero-section {
        padding: 20px 15px;
        min-height: 140px;
    }
    
    .hero-content {
        gap: 20px;
    }
    
    .title {
        font-size: 1.4rem;
    }
    
    .title-icon {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .logo-container {
        padding: 10px;
    }
    
    .logo-container .main-logo {
        width: 100px;
        height: 100px;
    }
    
    .breathing-ring {
        width: 130px;
        height: 130px;
        border-width: 2px;
    }
    
    .breathing-ring::before {
        width: 160px;
        height: 160px;
        border-width: 2px;
    }
    
    .breathing-ring::after {
        width: 190px;
        height: 190px;
        border-width: 1px;
    }
    
    .search-section {
        max-width: 250px;
    }
    
    .stats-section {
        max-width: 300px;
    }
    
    .stats-grid {
        gap: 8px;
    }
    
    .stat-card {
        padding: 10px 6px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .category-nav {
        padding: 15px;
        gap: 8px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 15px 10px;
        min-height: 120px;
    }
    
    .hero-content {
        gap: 15px;
    }
    
    .title {
        font-size: 1.2rem;
        gap: 8px;
    }
    
    .title-icon {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .logo-container {
        padding: 8px;
    }
    
    .logo-container .main-logo {
        width: 80px;
        height: 80px;
    }
    
    .breathing-ring {
        width: 110px;
        height: 110px;
        border-width: 2px;
    }
    
    .breathing-ring::before {
        width: 140px;
        height: 140px;
        border-width: 2px;
    }
    
    .breathing-ring::after {
        width: 170px;
        height: 170px;
        border-width: 1px;
    }
    
    .search-section {
        max-width: 220px;
    }
    
    .search-box {
        padding: 5px 10px;
    }
    
    .search-icon {
        font-size: 0.8rem;
        margin-right: 6px;
    }
    
    .search-input {
        padding: 5px 3px;
        font-size: 0.8rem;
    }
    
    .search-btn {
        padding: 3px 6px;
        font-size: 0.7rem;
        min-width: 20px;
        height: 20px;
    }
    
    .stats-section {
        max-width: 280px;
    }
    
    .stats-grid {
        gap: 6px;
    }
    
    .stat-card {
        padding: 8px 4px;
    }
    
    .search-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .stats-section {
        max-width: 300px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 14px 8px;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .header {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .category-nav {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .game-card {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .card-title {
        color: white;
    }
    
    .card-description {
        color: rgba(255, 255, 255, 0.8);
    }
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.game-card.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.category-btn:focus,
.card-link:focus,
.search-box input:focus {
    outline: 2px solid #ffd700;
}

/* Responsive Design - Hero Section */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 15px;
        min-height: 160px;
        padding: 20px 15px;
    }
    
    .hero-top-left {
        grid-column: 1;
        grid-row: 1;
    }
    
    .hero-center {
        grid-column: 1;
        grid-row: 2;
    }
    
    .hero-bottom-left {
        grid-column: 1;
        grid-row: 3;
    }
    
    .hero-bottom-right {
        grid-column: 1;
        grid-row: 4;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 15px;
        min-height: 150px;
        padding: 15px 10px;
    }
    
    .hero-center {
        order: -1;
    }
    
    .title {
        font-size: 1.6rem;
        gap: 8px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-logo {
        width: 70px;
        height: 70px;
    }
    
    .breathing-ring {
        width: 90px;
        height: 90px;
    }
    
    .search-section {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stat-card {
        padding: 10px 6px;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 140px;
        padding: 12px 8px;
    }
    
    .hero-center {
        order: -1;
    }
    
    .title {
        font-size: 1.4rem;
        gap: 6px;
    }
    
    .title-icon {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .main-logo {
        width: 60px;
        height: 60px;
    }
    
    .breathing-ring {
        width: 80px;
        height: 80px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .stat-card {
        padding: 6px 4px;
    }
    
    .stat-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    
    .stat-number {
        font-size: 0.8rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}
    
    .content-card {
        padding: 35px;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .main-logo {
        width: 160px;
        height: 160px;
    }
    
    .breathing-ring {
        width: 180px;
        height: 180px;
    }
    
    .breathing-ring::before {
        width: 200px;
        height: 200px;
    }
    
    .breathing-ring::after {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        min-height: 150px;
        padding: 20px 0;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .content-card {
        padding: 30px 25px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .stats {
        justify-content: center;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .main-logo {
        width: 140px;
        height: 140px;
    }
    
    .breathing-ring {
        width: 160px;
        height: 160px;
    }
    
    .breathing-ring::before {
        width: 180px;
        height: 180px;
    }
    
    .breathing-ring::after {
        width: 200px;
        height: 200px;
    }
    
    .search-box {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 15px;
    }
    
    .hero-section {
        gap: 30px;
        padding: 10px 0;
    }
    
    .content-card {
        padding: 25px 20px;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .stats {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
    
    .dynamic-quote {
        margin-top: 30px;
        padding: 20px;
        gap: 15px;
    }
    
    .quote-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .main-logo {
        width: 120px;
        height: 120px;
    }
    
    .breathing-ring {
        width: 125px;
        height: 125px;
    }
    
    .breathing-ring::before {
        width: 135px;
        height: 135px;
    }
    
    .breathing-ring::after {
        width: 145px;
        height: 145px;
    }
    
    .particle {
        width: 6px;
        height: 6px;
    }
}

/* Footer Styles */
.footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.copyright {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}