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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
    font-size: 14px;
}

/* Hide mobile elements */
.status-bar,
.app-header {
    display: none;
}

/* Header Styles */
.header {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #ff6b9d 0%, #c471ed 100%);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    color: white;
    font-size: 1.5rem;
}

.search-bar {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    background: white;
    min-height: calc(100vh - 80px);
}/* Section Headers */
.section-header {
    padding: 30px 0 20px;
}

.section-header h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 20px;
}

.section-header-inline h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.section-header-inline i {
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.section-header-inline i:hover {
    color: #ff6b9d;
}

/* Popular Articles Carousel */
.popular-articles {
    margin-bottom: 30px;
}

.articles-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-snap-type: x mandatory;
    padding: 40px 0;
    gap: 30px;
    position: relative;
    height: 340px;
}

.articles-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.article-slide {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    scroll-snap-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Center slide - main featured */
.article-slide:nth-child(2) {
    width: 380px;
    height: 240px;
    z-index: 3;
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.article-slide:nth-child(2):hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* Side slides - partially visible */
.article-slide:nth-child(1),
.article-slide:nth-child(3) {
    width: 320px;
    height: 200px;
    z-index: 2;
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.article-slide:nth-child(1):hover,
.article-slide:nth-child(3):hover {
    transform: scale(0.95);
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.article-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 20px;
    color: white;
}

/* Center slide overlay - larger text */
.article-slide:nth-child(2) .article-overlay {
    padding: 30px;
}

.article-slide:nth-child(2) .article-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-slide:nth-child(2) .article-overlay .date {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Side slides overlay - smaller text */
.article-slide:nth-child(1) .article-overlay,
.article-slide:nth-child(3) .article-overlay {
    padding: 20px;
}

.article-slide:nth-child(1) .article-overlay h3,
.article-slide:nth-child(3) .article-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
}

.article-slide:nth-child(1) .article-overlay .date,
.article-slide:nth-child(3) .article-overlay .date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.date {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Carousel Indicators */
.articles-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ff6b9d;
    transform: scale(1.2);
}/* Popular News */
.popular-news {
    margin-bottom: 40px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-content h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    font-size: 0.9rem;
}

/* How To Section */
.how-to-section {
    margin-bottom: 50px;
}

.how-to-container {
    padding: 0 15px;
    display: flex;
    gap: 25px;
    height: 480px;
    align-items: stretch;
}

.how-to-featured {
    flex: 2;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    transition: transform 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
}

.how-to-featured:hover {
    transform: scale(1.02);
}

.how-to-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.how-to-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 25px;
    color: white;
}

.how-to-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.how-to-meta {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 15px;
}

.how-to-date {
    font-size: 13px;
    opacity: 0.8;
}

.how-to-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 1fr);
    gap: 18px;
    height: 480px;
    overflow: visible;
}

.how-to-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    min-height: 85px;
    height: calc((480px - 72px) / 5);
}

.how-to-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.how-to-item img {
    width: 70px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.how-to-item-content {
    flex: 1;
}

.how-to-item h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #333;
}

.how-to-item .author {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.how-to-item .author i {
    font-size: 11px;
    color: #999;
}

/* Trending Review */
.trending-review {
    margin-bottom: 40px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0 15px;
}

.review-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.review-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    background: linear-gradient(45deg, #ff6b9d, #c471ed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    flex-shrink: 0;
}

.review-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.review-content {
    padding: 12px 15px;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60px;
}

.review-icon {
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
    line-height: 1;
}

.review-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
    line-height: 1.2;
}

.review-content p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

/* Popular Games */
.popular-games {
    margin-bottom: 40px;
}

.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.game-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.game-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.game-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.game-content {
    flex: 1;
}

.game-content h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.game-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer Wrapper */
.footer-wrapper {
    background: linear-gradient(135deg, #ff6b9d 0%, #c471ed 100%);
    margin: 40px -20px 0;
    color: white;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

/* Newsletter */
.newsletter {
    background: none;
    margin: 0;
    padding: 40px 20px 20px;
    text-align: center;
    color: white;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* About Us */
.about-us {
    background: none;
    padding: 20px 20px 30px;
    margin: 0;
    text-align: center;
    color: white;
}

.about-us h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.about-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.about-links a:hover {
    color: white;
}

/* Games Page Styles */
.games-page {
    padding-top: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 20px;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #ff6b9d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #c471ed;
}

.breadcrumb i {
    font-size: 12px;
    color: #999;
}

.welcome-section {
    padding: 20px 0 30px;
    text-align: center;
    line-height: 1.6;
    color: #666;
    font-size: 15px;
    max-width: 800px;
    margin: 0 auto;
}

/* Category Grid */
.category-section {
    margin-bottom: 40px;
}

.category-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.category-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #ff6b9d10, #c471ed10);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.category-item:hover .category-icon {
    transform: scale(1.1);
}

.category-item span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Active state styles for category items */
.category-item.active {
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.category-item.active .category-icon {
    transform: scale(1.1);
}

.category-item.active span {
    color: white;
    font-weight: 600;
}

/* Trending Games */
.trending-games-section {
    margin-bottom: 40px;
}

.trending-games-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.trending-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.trending-slide {
    position: relative;
    min-width: 280px;
    height: 160px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.trending-slide:hover {
    transform: scale(1.02);
}

.trending-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #ff6b9d, #c471ed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    z-index: 2;
}

.trending-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    color: white;
}

.trending-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Top Games List */
.top-games-section {
    margin-bottom: 40px;
}

.top-games-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.game-item img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.game-content {
    flex: 1;
}

.game-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

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

.developer {
    font-size: 12px;
    color: #666;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    font-size: 13px;
    color: #ff6b9d;
    font-weight: 500;
}

/* All Games Grid */
.all-games-section {
    margin-bottom: 40px;
}

.all-games-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.all-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.game-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.game-card-content {
    padding: 12px;
}

.game-card-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.game-card-meta .developer {
    font-size: 11px;
    color: #666;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-card-meta .rating {
    font-size: 12px;
    color: #ff6b9d;
    font-weight: 500;
    flex-shrink: 0;
}

/* Pagination */
.pagination-section {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-number,
.page-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.page-number {
    background: #f8f9fa;
    color: #666;
}

.page-number.active {
    background: linear-gradient(45deg, #ff6b9d, #c471ed);
    color: white;
}

.page-number:hover {
    background: #e9ecef;
}

.page-number.active:hover {
    background: linear-gradient(45deg, #ff6b9d, #c471ed);
}

.page-next {
    background: #f8f9fa;
    color: #666;
}

.page-next:hover {
    background: #e9ecef;
}

.page-dots {
    padding: 0 10px;
    color: #999;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-toggle {
        display: flex;
        order: 1;
    }
    
    .nav-logo {
        order: 0;
        flex: 1;
    }
    
    .search-bar {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        background: rgba(255, 255, 255, 0.15);
        border-radius: 15px;
        margin-top: 10px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        max-height: 300px;
        padding: 15px 0;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 12px 20px;
        margin: 5px 0;
        border-radius: 10px;
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active .nav-link {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.4s; }
    
    .main-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .news-list,
    .games-list {
        grid-template-columns: 1fr;
    }
    
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }
    
    .review-card {
        height: 160px;
    }
    
    .review-card img {
        height: 100px;
    }
    
    .review-content {
        min-height: 60px;
        padding: 10px 12px;
    }
    
    .review-content h3 {
        font-size: 13px;
    }
    
    .review-content p {
        font-size: 11px;
    }
    
    .review-icon {
        font-size: 13px;
    }
}

/* Tablet specific styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .search-bar {
        max-width: 300px;
    }
    
    .main-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Responsive How To */
@media (max-width: 768px) {
    .how-to-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 0 10px;
    }
    
    .how-to-featured {
        height: 220px;
        flex: none;
    }
    
    .how-to-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: 12px;
    }
    
    .how-to-item {
        min-height: 70px;
        height: auto;
    }
    
    .how-to-item img {
        width: 55px;
        height: 45px;
    }
    
    .how-to-item h4 {
        font-size: 13px;
    }
    
    .how-to-item .author {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .how-to-container {
        gap: 15px;
        padding: 0 5px;
    }
    
    .how-to-featured {
        height: 180px;
    }
    
    .how-to-content h3 {
        font-size: 16px;
    }
    
    .how-to-meta {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .how-to-grid {
        gap: 10px;
    }
    
    .how-to-item {
        padding: 10px;
        min-height: 65px;
    }
    
    .how-to-item img {
        width: 50px;
        height: 40px;
    }
    
    .how-to-item h4 {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .how-to-item .author {
        font-size: 10px;
    }
}

/* Mobile responsive for trending review */
@media (max-width: 480px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 5px;
    }
    
    .review-card {
        height: 140px;
    }
    
    .review-card img {
        height: 85px;
    }
    
    .review-content {
        min-height: 55px;
        padding: 8px 10px;
    }
    
    .review-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
        top: 8px;
        left: 8px;
    }
    
    .review-content h3 {
        font-size: 12px;
    }
    
    .review-content p {
        font-size: 10px;
    }
    
    .review-icon {
        font-size: 12px;
    }
}

/* Responsive Articles Carousel */
@media (max-width: 768px) {
    .articles-carousel {
        height: 180px;
        gap: 15px;
        padding: 15px 0;
    }
    
    /* Center slide on tablet */
    .article-slide:nth-child(2) {
        width: 280px;
        height: 160px;
    }
    
    /* Side slides on tablet */
    .article-slide:nth-child(1),
    .article-slide:nth-child(3) {
        width: 240px;
        height: 140px;
    }
    
    .article-slide:nth-child(2) .article-overlay h3 {
        font-size: 1.1rem;
    }
    
    .article-slide:nth-child(1) .article-overlay h3,
    .article-slide:nth-child(3) .article-overlay h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .articles-carousel {
        height: 160px;
        gap: 10px;
        padding: 10px 0;
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
    }
    
    /* Mobile: all slides same size, horizontal scroll */
    .article-slide:nth-child(1),
    .article-slide:nth-child(2),
    .article-slide:nth-child(3) {
        width: 250px;
        height: 140px;
        transform: scale(1);
        opacity: 1;
        z-index: 1;
        scroll-snap-align: center;
    }
    
    .article-slide:nth-child(1):hover,
    .article-slide:nth-child(2):hover,
    .article-slide:nth-child(3):hover {
        transform: scale(1.02);
        opacity: 1;
    }
    
    .article-slide .article-overlay {
        padding: 15px !important;
    }
    
    .article-slide .article-overlay h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    .article-slide .article-overlay .date {
        font-size: 0.85rem !important;
    }
}

/* How To Section - Additional Enhancements */
/* Loading animation for images */
.how-to-featured img,
.how-to-item img {
    transition: opacity 0.3s ease;
}

.how-to-featured img:not([src]),
.how-to-item img:not([src]) {
    opacity: 0;
    background: #f0f0f0;
}

/* Focus states for accessibility */
.how-to-featured:focus,
.how-to-item:focus {
    outline: 2px solid #ff6b9d;
    outline-offset: 2px;
}

/* Mobile specific styles */
@media (max-width: 480px) {
    .header {
        padding: 12px 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .nav-logo i {
        font-size: 1.3rem;
    }
    
    .search-bar input {
        padding: 10px 40px 10px 40px;
        font-size: 0.9rem;
    }
    
    .search-bar i {
        font-size: 0.9rem;
    }
    
    .nav-menu.active {
        max-height: 250px;
        padding: 10px 0;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .main-content {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-wrapper {
        margin: 30px -15px 0;
    }
    
    .newsletter {
        padding: 30px 15px 15px;
    }
    
    .about-us {
        padding: 15px 15px 25px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .about-links {
        gap: 15px;
    }
    
    .about-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-wrapper {
        margin: 20px -10px 0;
    }
    
    .newsletter {
        padding: 25px 10px 15px;
    }
    
    .newsletter-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .newsletter p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .about-us {
        padding: 15px 10px 25px;
    }
    
    .about-us h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .about-links {
        gap: 12px;
    }
    
    .about-links a {
        font-size: 0.85rem;
    }
}

/* Games Page Responsive */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding: 0 5px;
    }
    
    .category-item {
        padding: 12px 8px;
    }
    
    .category-icon {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .category-item span {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .trending-slide {
        min-width: 220px;
        height: 130px;
    }
    
    .trending-number {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    
    .game-item {
        padding: 12px;
    }
    
    .game-item img {
        width: 50px;
        height: 50px;
    }
    
    .game-content h4 {
        font-size: 14px;
    }
    
    .all-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .game-card img {
        height: 100px;
    }
    
    .welcome-section {
        padding: 15px 0 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .category-section {
        margin-bottom: 30px;
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0;
        max-height: 200px;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    
    .category-grid.expanded {
        max-height: none;
    }
    
    .category-item {
        padding: 8px 4px;
        border-radius: 10px;
        min-height: auto;
    }
    
    .category-icon {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .category-item span {
        font-size: 10px;
        line-height: 1.1;
        font-weight: 500;
    }
    
    .category-show-more {
        display: block;
    }
    
    .trending-slide {
        min-width: 180px;
        height: 110px;
    }
    
    .game-item {
        padding: 10px;
        gap: 12px;
    }
    
    .game-item img {
        width: 45px;
        height: 45px;
    }
    
    .game-content h4 {
        font-size: 13px;
    }
    
    .game-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .all-games-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .pagination {
        gap: 8px;
    }
    
    .page-number,
    .page-next {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    
    .welcome-section {
        padding: 10px 0 20px;
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Show More Button */
.category-show-more {
    display: none;
    text-align: center;
    margin-top: 15px;
}

.show-more-btn {
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.expanded i {
    transform: rotate(180deg);
}