/* metin2pvptanitimlari.com - Homepage Exact Copy */

.wrapper-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

/* Skyscraper Ads - Sol ve Sağ Dikey Reklamlar */
.skyscraper-left,
.skyscraper-right {
    position: fixed;
    top: 100px;
    width: 250px;
    z-index: 100;
    min-height: 600px;
}

.skyscraper-left {
    left: 0;
}

.skyscraper-right {
    right: 0;
}

.skyscraper-left > div,
.skyscraper-right > div {
    position: sticky;
    top: 100px;
    width: 100%;
    min-height: 600px;
}

.skyscraper-left img,
.skyscraper-right img {
    width: 100%;
    height: auto;
    display: block;
}

.skyscraper-left a,
.skyscraper-right a {
    display: block;
    width: 100%;
}

/* Global Header Ads - Tüm Sayfalarda */
.global-header-ads {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}


/* Header Ads */
.header-ads-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.mobile-ad-section {
    display: none;
    margin: 1.5rem 0;
    padding: 0;
}

.mobile-ad-section > div {
    margin-bottom: 1rem;
    padding: 0;
}

.mobile-ad-section > div:last-child {
    margin-bottom: 0;
}

.mobile-ad-section .ad-slot,
.mobile-ad-section .ad-placeholder {
    width: 100%;
    margin: 0;
}

.mobile-ad-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Sidebar Filter */
.sidebar-filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 300px;
    max-width: 300px;
    width: 100%;
    flex-shrink: 0;
}

/* Content Main */
.content-main {
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.widget {
    background: #132F4C;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #1E4976;
}

.widget-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-title i {
    color: #00D4FF;
}

.field-row {
    margin-bottom: 1rem;
}

.field-row label {
    display: block;
    font-size: 0.875rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #1E4976;
    background: #0A1929;
    color: white;
    font-size: 0.875rem;
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.field-row select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #1E4976;
    background: #1E4976;
    color: white;
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: all 0.3s ease;
}

.field-row select:hover {
    border-color: #00D4FF;
    background: #265A8F;
}

.field-row select:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.field-row select option {
    background: #1E4976;
    color: white;
}

.btn-group-filter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.btn-filter {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #00D4FF, #0096C7);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: linear-gradient(135deg, #90E0EF, #00D4FF);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.btn-clear {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    background: #1E4976;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border: 1px solid #1E4976;
}

.btn-clear:hover {
    background: #265A8F;
    border-color: #00D4FF;
    transform: translateY(-2px);
}

.popular-tags {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1E4976;
}

.popular-tags p {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin: 0 0 0.75rem 0;
}

.popular-tags .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.popular-tags .tags a {
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-tags .tags a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.popular-tags .tags a:nth-child(1) { background: #00E5FF; }
.popular-tags .tags a:nth-child(2) { background: #00D4FF; }
.popular-tags .tags a:nth-child(3) { background: #90E0EF; }
.popular-tags .tags a:nth-child(4) { background: #6C757D; }
.popular-tags .tags a:nth-child(5) { background: #90E0EF; color: #0A1929; }
.popular-tags .tags a:nth-child(6) { background: #FF6B9D; }

/* Blog Widget */
.widget-blog {
    padding: 1.5rem;
}

.blog-mini {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid #1E4976;
    text-decoration: none;
}

.blog-mini:first-of-type { padding-top: 0; }
.blog-mini:last-of-type { border-bottom: none; padding-bottom: 0; }

.blog-mini span:first-child {
    font-size: 1rem;
}

.blog-mini p {
    color: white;
    font-weight: 600;
    font-size: 0.8125rem;
    margin: 0 0 0.375rem 0;
}

.blog-mini:hover p {
    color: #00D4FF;
}

.blog-mini small {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.blog-mini .cat {
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    background: #00D4FF;
    color: white;
    margin-left: 0.5rem;
}

/* Trending Widget */
/* === MINIMAL TRENDING SECTION === */
.widget-trending-minimal {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(0, 150, 199, 0.03));
    border: 2px solid #00D4FF;
    border-radius: 12px;
    padding: 1em;
    margin-bottom: 1em;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

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

.trending-header-minimal h1,
.trending-header-minimal h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trending-header-minimal h1 i,
.trending-header-minimal h2 i {
    color: #00D4FF;
}

.btn-premium-minimal {
    background: linear-gradient(135deg, #00D4FF, #0096C7);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.btn-premium-minimal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.5);
}

.btn-premium-minimal i {
    font-size: 1rem;
}

/* Auto Scrolling Container */
.auto-scroll-container {
    overflow: hidden; /* Hide overflow for seamless infinite scroll */
    border-radius: 10px;
    position: relative;
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    cursor: pointer;
}

.auto-scroll-container:hover {
    background: rgba(0, 0, 0, 0.15);
}

.auto-scroll-track {
    display: flex;
    gap: 1.25rem; /* 20px gap */
    width: fit-content;
    will-change: transform;
    transition: none; /* Disable CSS transition, using JS animation */
}

.trend-mini-card {
    min-width: 220px;
    max-width: 220px;
    height: 280px;
    background: #132F4C;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}

.trend-mini-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.5);
    border-color: #00D4FF;
    z-index: 10;
}

.trend-mini-card:hover .mini-card-bg {
    filter: brightness(0.7);
}

.mini-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: brightness(0.5);
}

.mini-card-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.6) 50%, transparent 100%);
}

.mini-card-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mini-card-content h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.625rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.mini-tags {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.mini-tags span {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-badges {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.mini-badges span {
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
}

.mini-diff-kolay { background: rgba(0, 229, 255, 0.25); color: #00E5FF; }
.mini-diff-orta { background: rgba(0, 212, 255, 0.25); color: #90E0EF; }
.mini-diff-zor { background: rgba(255, 107, 157, 0.25); color: #FF6B9D; }
.mini-legal { background: rgba(0, 229, 255, 0.25); color: #00E5FF; }

.mini-btn {
    background: linear-gradient(135deg, #00D4FF, #0096C7);
    color: white !important;
    padding: 0.625rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    display: block;
    transition: all 0.3s ease;
}

.mini-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.4);
}

/* Servers Widget */
.widget-servers {
    margin-bottom: 2.5rem;
    width: 100%;
    min-width: 0;
}

/* Servers Container - Başlık ve liste birlikte */
.servers-container {
    background: #132F4C;
    border-radius: 12px;
    border: 1px solid #1E4976;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.servers-top {
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1E4976;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    background: transparent;
}

.top-left h2 {
    font-size: 1.625rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.625rem 0;
}

.top-left h2 span {
    color: #94a3b8;
    font-size: 1.375rem;
}

.top-left p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.top-left p strong {
    color: white;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-right label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.top-right select {
    background: linear-gradient(135deg, #132F4C, #1E4976);
    border: 2px solid #00D4FF;
    border-radius: 8px;
    color: white;
    padding: 0.75rem 3rem 0.75rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    min-width: 250px;
    font-size: 0.9rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: all 0.3s ease;
}

.top-right select:hover {
    background: linear-gradient(135deg, #1E4976, #265A8F);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.top-right select option {
    background: #1E4976 !important;
    color: white !important;
    padding: 0.75rem !important;
    font-weight: 600 !important;
}

.top-right select option:hover,
.top-right select option:focus,
.top-right select option:checked,
.top-right select option:active {
    background: #00D4FF !important;
    color: white !important;
    outline: none !important;
}

.top-right select:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

/* Servers List */
.servers-list {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.server-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.25);
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    background: linear-gradient(90deg, rgba(40, 40, 40, 0.5), rgba(58, 58, 58, 0.3));
    border-left: 3px solid #00D4FF;
    margin: 0;
}

.server-item:last-child {
    border-bottom: none;
}


.server-item:hover {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.15), rgba(0, 150, 199, 0.08));
    border-left-color: #90E0EF;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
}

.server-item.is-premium {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.12), transparent);
    border-left: 4px solid #00D4FF;
    border-bottom-color: rgba(0, 212, 255, 0.35);
    margin: 0;
}

.server-item.is-premium:hover {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.18), rgba(0, 150, 199, 0.08));
    box-shadow: 0 6px 16px rgba(0, 212, 255, 0.25);
    border-left-color: #90E0EF;
}

.tag-premium {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #90E0EF, #00D4FF);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.item-img {
    width: 110px;
    height: 82px;
    position: relative;
    flex-shrink: 0;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00D4FF, #0096C7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.item-details {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.detail-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.detail-head h3,
.detail-head h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.label-type {
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    background: #1E4976; /* Varsayılan renk */
}

/* Sunucu Türü Renkleri */
.label-farm { background: #00E5FF !important; }              /* Yeşil */
.label-orta { background: #FF6B9D !important; }              /* Kırmızı */
.label-ortaemek { background: #FF6B9D !important; }          /* Kırmızı */
.label-oldschool { background: #6C757D !important; }         /* Mor (Purple) */
.label-newschool { background: #00D4FF !important; }         /* Teal */
.label-wslik { background: #00D4FF !important; }             /* Turuncu */

/* Eski türler için fallback */
.label-emek { background: #008000 !important; }              /* Yeşil (Green) */
.label-1-99 { background: #00E5FF !important; }
.label-1-105 { background: #00D4FF !important; }
.label-1-120 { background: #00D4FF !important; }
.label-55-120 { background: #6C757D !important; }            /* Mor */
.label-65-250 { background: #FF6B9D !important; }

.item-details p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
}

.server-launch-info {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(0, 150, 199, 0.06));
    border-left: 3px solid #00D4FF;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #ffe4c4 !important;
    font-size: 0.9rem !important;
    margin: 0.75rem 0 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-launch-info i {
    color: #90E0EF;
    font-size: 1rem;
}

.server-launch-info strong {
    color: #fff;
    font-weight: 700;
}

.detail-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.detail-meta span {
    font-size: 0.8125rem;
    color: #94a3b8;
}

.badge-diff {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-weight: 700;
}

.badge-status {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-weight: 700;
    background: rgba(0, 212, 255, 0.2);
    color: #90E0EF !important;
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 2px 6px rgba(0, 212, 255, 0.15);
}

.badge-vote {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.2);
    color: #fcd34d !important;
    border: 1px solid rgba(0, 212, 255, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 2px 6px rgba(0, 212, 255, 0.15);
}

.badge-vote i {
    color: #fcd34d;
}

.badge-favorite {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(255, 107, 157, 0.2);
    color: #FF8AB5 !important;
    border: 1px solid rgba(255, 107, 157, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.15);
}

.badge-favorite i {
    color: #FF8AB5;
}

.item-btns {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-view,
.btn-vote {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    min-width: 90px;
}

.btn-view {
    background: #1E4976;
    color: white;
}

.btn-vote {
    background: linear-gradient(135deg, #00D4FF, #0096C7);
    color: white;
}

.no-result {
    padding: 3rem;
    text-align: center;
    color: #94a3b8;
    font-size: 1.125rem;
    background: transparent;
    margin: 0;
}

/* Pagination */
.paging {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid #1E4976;
    margin: 0;
}

.paging-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.paging-links a {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: #132F4C;
    color: white;
    text-decoration: none;
    border: 1px solid #1E4976;
    font-size: 0.875rem;
}

.paging-links a:hover,
.paging-links a.active {
    background: #00D4FF;
    border-color: #00D4FF;
}

.paging p {
    color: #94a3b8;
    font-size: 0.8125rem;
    margin: 0;
}

/* Stats Area */
.stats-area {
    background: #132F4C;
    padding: 3rem 0;
    border-top: 1px solid #1E4976;
}

.stats-area h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin: 0 0 2rem 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.stats-row .stat {
    background: #0A1929;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #1E4976;
}

.stats-row .stat i {
    font-size: 2.5rem;
    color: #00D4FF;
    margin-bottom: 1rem;
}

.stats-row .stat strong {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.stats-row .stat span {
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (max-width: 1700px) {
    /* Skyscraper reklamları gizle - ekran çok dar */
    .skyscraper-left,
    .skyscraper-right {
        display: none;
    }
}

@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 1.5rem;
    }
    
    .sidebar-filter {
        min-width: 280px;
        max-width: 280px;
    }
    
    .content-main {
        min-width: 0;
        overflow: hidden;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sidebar-filter {
        position: static;
        min-width: 100%;
        max-width: 100%;
    }
    
    .content-main {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .header-ads-section { display: none; }
    .mobile-ad-section { display: block; }
    
    .content-wrapper { 
        grid-template-columns: 1fr; 
        gap: 1rem;
    }
    
    .sidebar-filter { 
        position: static; 
    }
    
    .widget {
        padding: 1rem;
    }
    
    .trending-header-minimal { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1rem; 
    }
    
    .trending-header-minimal h1,
    .trending-header-minimal h2 { 
        font-size: 1.125rem; 
    }
    
    .btn-premium-minimal { 
        width: 100%; 
        justify-content: center; 
    }
    
    .trend-mini-card { 
        min-width: 180px; 
        max-width: 180px; 
        height: 240px; 
    }
    
    .servers-top { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 1.25rem 1rem;
    }
    
    .top-left h2 {
        font-size: 1.25rem;
    }
    
    .top-left h2 span {
        font-size: 1rem;
    }
    
    .top-right { 
        width: 100%; 
        justify-content: space-between; 
        margin-top: 1rem;
    }
    
    .top-right select { 
        min-width: 200px; 
        width: 100%;
    }
    
    .server-item { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 1rem;
    }
    
    .server-item.is-premium { 
        border-left: none; 
        border-top: 4px solid #00D4FF; 
    }
    
    .item-img {
        width: 100%;
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .item-details {
        width: 100%;
    }
    
    .detail-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-meta {
        gap: 0.5rem;
    }
    
    .item-btns { 
        width: 100%; 
        margin-top: 1rem;
    }
    
    .btn-view, .btn-vote { 
        flex: 1; 
    }
    
    .stats-row { 
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .paging-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .trending-header-minimal h1,
    .trending-header-minimal h2 {
        font-size: 1rem;
    }
    
    .servers-top {
        padding: 1rem;
    }
    
    .top-left h2 {
        font-size: 1.125rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .detail-meta {
        font-size: 0.75rem;
    }
    
    .badge-diff,
    .badge-status,
    .badge-vote,
    .badge-favorite {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }
}

