* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    background-color: #0f0f1a;
    color: #fff;
    line-height: 1.6;
    min-height: 100%;
}

html {
    min-height: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    zoom: 1;
}

.container:before,
.container:after {
    content: "";
    display: table;
}

.container:after {
    clear: both;
}

header {
    background: #1a1a2e;
    background: -webkit-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -moz-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -ms-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -o-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
}

.logo a {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.logo-icon {
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    -webkit-transition: background 0.3s, color 0.3s;
    -moz-transition: background 0.3s, color 0.3s;
    -ms-transition: background 0.3s, color 0.3s;
    -o-transition: background 0.3s, color 0.3s;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background: #ff6b6b;
    color: #fff;
}

.admin-btn {
    background: #ff6b6b !important;
    padding: 8px 20px !important;
}

.mobile-menu {
    display: none;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.banner {
    padding: 20px 0;
    background: #1a1a2e;
}

.banner-slider {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.banner-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -ms-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.banner-item.active {
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: #000;
    background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    background: -moz-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    background: -ms-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    background: -o-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.banner-overlay h3 {
    color: #fff;
    font-size: 24px;
}

.banner-dots {
    text-align: center;
    margin-top: 15px;
}

.banner-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -ms-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

.banner-dots span.active {
    background: #ff6b6b;
}

.main-content {
    padding: 30px 0;
}

.section-header {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 24px;
    color: #fff;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
}

.section-header h2 .icon {
    margin-right: 10px;
    font-size: 28px;
}

.view-more {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 14px;
}

.games-grid {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.game-card {
    width: calc(25% - 20px);
    margin: 10px;
    background: #1a1a2e;
    background: -webkit-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -moz-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -ms-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -o-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 10px;
    overflow: hidden;
    -webkit-transition: transform 0.3s, box-shadow 0.3s;
    -moz-transition: transform 0.3s, box-shadow 0.3s;
    -ms-transition: transform 0.3s, box-shadow 0.3s;
    -o-transition: transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.game-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.game-link {
    text-decoration: none;
    color: #fff;
    display: block;
}

.game-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 180px;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    -ms-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
}

.game-card:hover .game-image img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.game-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.game-status.online {
    background: #4CAF50;
    color: #fff;
}

.game-status.maintenance {
    background: #f44336;
    color: #fff;
}

.game-info {
    padding: 15px;
}

.game-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-title {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
    line-height: 1.5;
}

.game-meta {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    font-size: 12px;
}

.category {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 4px 10px;
    border-radius: 15px;
}

.players {
    color: #666;
}

.categories {
    padding: 30px 0;
    background: #1a1a2e;
}

.categories-grid {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -7.5px;
}

.category-card {
    width: calc(12.5% - 15px);
    margin: 7.5px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    padding: 20px;
    background: #1a1a2e;
    background: -webkit-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -moz-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -ms-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -o-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    -webkit-transition: transform 0.3s, box-shadow 0.3s;
    -moz-transition: transform 0.3s, box-shadow 0.3s;
    -ms-transition: transform 0.3s, box-shadow 0.3s;
    -o-transition: transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.category-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.category-name {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.features {
    padding: 40px 0;
    background: #0f0f1a;
}

.features .container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
}

.feature-item {
    width: calc(25% - 40px);
    margin: 10px 20px;
    text-align: center;
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

footer {
    background: #0a0a12;
    padding: 40px 0;
}

.footer-content {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -15px;
    margin-bottom: 30px;
}

.footer-section {
    width: calc(33.333% - 30px);
    margin: 0 15px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #ff6b6b;
}

.footer-section p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -ms-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    border-top: 1px solid #1a1a2e;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

.page-header {
    background: #1a1a2e;
    background: -webkit-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -moz-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -ms-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: -o-linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
}

.filter-bar {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    margin-bottom: 25px;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.search-box {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 15px;
}

.search-box input {
    padding: 10px 15px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #1a1a2e;
    color: #fff;
    font-size: 14px;
    margin-right: 10px;
}

.search-box button {
    padding: 10px 20px;
    background: #ff6b6b;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -ms-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #ee5a24;
}

.sort-select select {
    padding: 10px 15px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #1a1a2e;
    color: #fff;
    font-size: 14px;
}

.game-detail {
    padding: 30px 0;
}

.game-header {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 30px;
}

.game-cover {
    width: 33.333%;
    margin-right: 30px;
}

.game-cover img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-info-main {
    width: 66.666%;
}

.game-info-main h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.game-subtitle {
    color: #ff6b6b;
    font-size: 16px;
    margin-bottom: 15px;
}

.game-tags {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.game-stats {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 25px;
    font-size: 14px;
}

.game-stats .stat {
    color: #666;
    margin-right: 20px;
}

.online {
    color: #4CAF50;
}

.offline {
    color: #f44336;
}

.play-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ff6b6b;
    background: -webkit-linear-gradient(90deg, #ff6b6b, #ee5a24);
    background: -moz-linear-gradient(90deg, #ff6b6b, #ee5a24);
    background: -ms-linear-gradient(90deg, #ff6b6b, #ee5a24);
    background: -o-linear-gradient(90deg, #ff6b6b, #ee5a24);
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    -webkit-transition: transform 0.3s, box-shadow 0.3s;
    -moz-transition: transform 0.3s, box-shadow 0.3s;
    -ms-transition: transform 0.3s, box-shadow 0.3s;
    -o-transition: transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s;
}

.play-btn:hover {
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.game-content {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.game-description {
    width: 66.666%;
    margin-right: 30px;
}

.game-features {
    width: 33.333%;
}

.game-description h2, .game-features h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.game-description p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.game-features ul {
    list-style: none;
    padding: 0;
}

.game-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #1a1a2e;
    color: #999;
}

.related-games {
    padding: 30px 0;
    background: #1a1a2e;
}

.related-games h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.not-found {
    text-align: center;
    padding: 50px 0;
}

.not-found h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.not-found p {
    color: #666;
    margin-bottom: 20px;
}

.back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.category-section {
    margin-bottom: 40px;
}

.category-header {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    margin-bottom: 20px;
}

.category-header h2 {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    font-size: 22px;
}

.cat-icon {
    margin-right: 10px;
}

.game-count {
    color: #666;
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    .game-card {
        width: calc(33.333% - 20px);
    }
    .category-card {
        width: calc(16.666% - 15px);
    }
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        padding: 20px;
    }
    
    nav ul.active {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    nav ul li:last-child {
        margin-bottom: 0;
    }
    
    .mobile-menu {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }
    
    .banner-slider {
        height: 200px;
    }
    
    .games-grid {
        margin: 0;
    }
    
    .game-card {
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .categories-grid {
        margin: 0;
    }
    
    .category-card {
        width: calc(50% - 15px);
        margin: 7.5px;
    }
    
    .features .container {
        -webkit-justify-content: center;
        -moz-justify-content: center;
        -ms-justify-content: center;
        justify-content: center;
    }
    
    .feature-item {
        width: calc(50% - 40px);
        margin: 10px 20px;
    }
    
    .footer-content {
        margin: 0;
    }
    
    .footer-section {
        width: 100%;
        margin: 0 0 30px 0;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
    
    .game-header {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .game-cover {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .game-info-main {
        width: 100%;
    }
    
    .game-content {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .game-description {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .game-features {
        width: 100%;
    }
    
    .filter-bar {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: stretch;
        -moz-align-items: stretch;
        -ms-align-items: stretch;
        align-items: stretch;
    }
    
    .search-box {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .search-box input {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .search-box input, .search-box button {
        width: 100%;
    }
    
    .sort-select select {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .feature-item {
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .category-card {
        width: 100%;
        margin: 0 0 15px 0;
    }
}