/* GunnyZone - Main Stylesheet */
/* Author: GunnyZone Team */
/* Version: 1.0.0 */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #1a1a2e;
    --accent-color: #4ecca3;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #f5f7fa;
    --bg-dark: #1a1a2e;
    --white: #ffffff;
    --border-color: #e1e5eb;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 25px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-main: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ===== Header ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
}

.logo:hover {
    color: var(--secondary-color);
}

.logo-icon {
    font-size: 36px;
    line-height: 1;
}

.logo-text {
    font-weight: 700;
}

.logo-text strong {
    color: var(--primary-color);
}

.nav-main {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-link {
    padding: 10px 18px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.08);
}

.nav-link.active {
    color: var(--white);
    background: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border-radius: 50px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.search-form input {
    border: none;
    background: transparent;
    padding: 10px 5px 10px 18px;
    width: 160px;
    font-size: 14px;
    color: var(--text-color);
}

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

.search-form input:focus {
    outline: none;
}

.search-form button {
    border: none;
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    margin: 2px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-form button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.search-form button svg {
    width: 18px;
    height: 18px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--bg-color);
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Alternative Nav (for sub-pages) ===== */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    list-style: none;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-light);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--text-color);
    font-weight: 600;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

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

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ===== Main Content ===== */
.main-content {
    padding: 40px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--secondary-color);
}

.view-all {
    font-weight: 600;
    font-size: 14px;
}

/* ===== Server Cards ===== */
.server-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.server-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.server-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.server-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.server-badge.hot {
    background: #ff4757;
    color: var(--white);
}

.server-badge.new {
    background: var(--accent-color);
    color: var(--white);
}

.server-info {
    flex: 1;
}

.server-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.server-title a {
    color: var(--secondary-color);
}

.server-title a:hover {
    color: var(--primary-color);
}

.server-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.server-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.meta-item {
    font-size: 13px;
    color: var(--text-muted);
}

.server-tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 4px 10px;
    background: var(--bg-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-light);
}

.server-actions {
    display: flex;
    align-items: center;
}

.section-footer {
    margin-top: 20px;
}

/* ===== Guide Section ===== */
.guide-section {
    margin-top: 50px;
}

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

.guide-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guide-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.guide-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.guide-card h3 a {
    color: var(--secondary-color);
}

.guide-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== News Section ===== */
.news-section {
    margin-top: 50px;
}

.news-list {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.news-item time {
    font-size: 12px;
    color: var(--text-muted);
}

.news-item h3 {
    font-size: 16px;
    margin: 8px 0;
}

.news-item h3 a {
    color: var(--secondary-color);
}

.news-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Sidebar ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget,
.widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.widget h3,
.widget-title {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.widget-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.widget-cta h3 {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.3);
}

.widget-cta p {
    opacity: 0.9;
    margin-bottom: 15px;
}

.widget-newsletter input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-size: 14px;
}

.widget ul {
    list-style: none;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud .tag,
.tag {
    background: #f0f4f8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-color);
    display: inline-block;
}

/* ===== Enhanced Article Styles ===== */
.article-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.article-featured-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-featured-image:hover img {
    transform: scale(1.05);
}

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

.article-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.article-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 32px;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-body {
    padding: 30px;
}

.article-body .lead {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.article-body h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.article-body h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 25px 0 15px;
}

.article-body p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 0;
}

.article-body ul li,
.article-body ol li {
    padding: 12px 15px 12px 45px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: var(--radius);
    position: relative;
    list-style: none;
    transition: var(--transition);
}

.article-body ul li:hover,
.article-body ol li:hover {
    background: #eef2f7;
    transform: translateX(5px);
}

.article-body ul li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    color: var(--accent-color);
    font-weight: bold;
}

.article-body ol {
    counter-reset: item;
}

.article-body ol li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Article Images */
.article-image {
    margin: 30px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image figcaption {
    padding: 12px 15px;
    background: #f8f9fa;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.image-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: var(--transition);
}

.image-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Info Boxes */
.info-box {
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 25px 0;
}

.info-box.tip {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #4caf50;
}

.info-box.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
}

.info-box.danger {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-left: 4px solid #f44336;
}

.info-box.info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
}

.info-box h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.server-info-box,
.rating-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 25px 0;
}

.server-info-box h3,
.rating-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.server-info-box ul,
.rating-box ul {
    background: transparent;
}

.server-info-box ul li,
.rating-box ul li {
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: var(--radius);
    padding: 10px 15px;
    margin-bottom: 8px;
}

.server-info-box ul li::before,
.rating-box ul li::before {
    color: var(--accent-color);
}

.conclusion-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    margin: 35px 0;
    text-align: center;
}

.conclusion-box h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 22px;
}

.conclusion-box p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}

/* Tables */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-body th,
.article-body td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.article-body th {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.article-body tr:nth-child(even) {
    background: #f8f9fa;
}

.article-body tr:hover {
    background: #eef2f7;
}

/* Code blocks */
.article-body code {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px 20px;
    border-radius: var(--radius);
    display: block;
    margin: 20px 0;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    overflow-x: auto;
}

/* Article Footer */
.article-footer {
    padding: 25px 30px;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags .tag {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    color: var(--text-color);
    transition: var(--transition);
}

.article-tags .tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Related Articles */
.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.related-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.related-card-body {
    padding: 15px;
}

.related-card h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-card h4 a {
    color: var(--secondary-color);
}

.related-card time {
    font-size: 12px;
    color: var(--text-muted);
}

.tag-cloud .tag:hover,
.tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

.quick-links li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-links li:last-child {
    border-bottom: none;
}

.quick-links a {
    color: var(--text-color);
    font-size: 14px;
}

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

/* Stats Widget */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.stat-value {
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-value.online {
    color: var(--accent-color);
}

/* CTA Widget */
.cta-widget p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: block;
    padding: 10px;
    text-align: center;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.discord {
    background: #5865f2;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn:hover {
    opacity: 0.9;
    color: var(--white);
    transform: translateY(-2px);
}

/* Top List */
.top-list {
    counter-reset: top-counter;
}

.top-list li {
    counter-increment: top-counter;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-list li:last-child {
    border-bottom: none;
}

.top-list li::before {
    content: counter(top-counter);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.top-list li:nth-child(1)::before {
    background: gold;
    color: #333;
}

.top-list li:nth-child(2)::before {
    background: silver;
    color: #333;
}

.top-list li:nth-child(3)::before {
    background: #cd7f32;
}

.top-list a {
    color: var(--text-color);
    font-size: 14px;
    flex: 1;
}

.top-list .views {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

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

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color), #2d2d44);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Filter Section ===== */
.filter-section {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    color: var(--text-light);
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
}

/* ===== Server Card Full ===== */
.server-card-full {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.server-card-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.server-card-full:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.server-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.server-badge.new { 
    background: linear-gradient(135deg, #00c9a7, #00b894);
}
.server-badge.hot { 
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}
.server-badge.upcoming { 
    background: linear-gradient(135deg, #a55eea, #8854d0);
}

.server-card-content {
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 180px 140px;
    gap: 25px;
    align-items: start;
}
    gap: 25px;
    align-items: start;
}

.server-info {
    min-width: 0;
}

.server-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.server-title a {
    color: var(--secondary-color);
}

.server-title a:hover {
    color: var(--primary-color);
}

.server-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.server-desc {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 14px;
}

.server-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.server-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    min-width: 160px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

.stat-value {
    font-weight: 700;
    font-size: 15px;
    color: var(--secondary-color);
}

.stat-value.rating {
    color: #f39c12;
}

.stat-value.countdown {
    color: var(--primary-color);
}

.server-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 130px;
}

/* ===== Guide Categories ===== */
.guide-categories {
    padding: 40px 0;
    background: var(--bg-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    color: var(--text-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.category-card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.category-count {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Guide Card Full ===== */
.guide-card-full {
    display: flex;
    gap: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.guide-card-full:hover {
    box-shadow: var(--shadow-lg);
}

.guide-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 280px;
}

.guide-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
}

.guide-badge.beginner { background: #27ae60; }
.guide-badge.intermediate { background: #f39c12; }
.guide-badge.advanced { background: #e74c3c; }

.guide-content {
    padding: 20px;
    flex: 1;
}

.guide-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guide-title a {
    color: var(--secondary-color);
}

.guide-title a:hover {
    color: var(--primary-color);
}

.guide-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.guide-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.guide-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

/* ===== News Tabs ===== */
.news-tabs {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
}

.tab {
    padding: 15px 25px;
    color: var(--text-light);
    font-weight: 600;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab:hover,
.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ===== Featured News ===== */
.featured-news {
    padding: 30px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.featured-main,
.featured-small {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.featured-main img,
.featured-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-main {
    aspect-ratio: 16/9;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-small {
    flex: 1;
}

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

.featured-overlay h2 {
    font-size: 1.5rem;
    margin: 10px 0 5px;
}

.featured-overlay h3 {
    font-size: 1rem;
    margin: 10px 0 0;
}

.news-category {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--primary-color);
    border-radius: 4px;
    display: inline-block;
}

.news-meta {
    font-size: 13px;
    opacity: 0.8;
}

/* ===== News Card Full ===== */
.news-card-full {
    display: flex;
    gap: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.news-card-full:hover {
    box-shadow: var(--shadow-lg);
}

.news-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 280px;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
}

.news-badge.event { background: #9b59b6; }
.news-badge.new { background: #27ae60; }
.news-badge.community { background: #3498db; }
.news-badge.update { background: #e67e22; }
.news-badge.tournament { background: #e74c3c; }

.news-content {
    padding: 20px;
    flex: 1;
}

.news-title {
    font-size: 1.2rem;
    margin: 8px 0 10px;
}

.news-title a {
    color: var(--secondary-color);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ===== Sidebar Widgets ===== */
.guide-list-small li,
.trending-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.guide-list-small li:last-child,
.trending-list li:last-child {
    border-bottom: none;
}

.guide-list-small a,
.trending-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.guide-list-small a:hover,
.trending-list a:hover {
    color: var(--primary-color);
}

.rank {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.level-list li {
    margin-bottom: 10px;
}

.level-link {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: var(--radius);
    color: var(--text-color);
}

.level-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.event-calendar li {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.event-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
}

.event-name {
    flex: 1;
    font-size: 14px;
}

.social-follow {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: block;
    padding: 12px 15px;
    border-radius: var(--radius);
    color: var(--white);
    text-align: center;
    font-weight: 600;
}

.social-btn.facebook { background: #3b5998; }
.social-btn.discord { background: #7289da; }
.social-btn.youtube { background: #ff0000; }

/* ===== FAQ Section ===== */
.faq-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 20px 18px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Stats List ===== */
.stats-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-list li:last-child {
    border-bottom: none;
}

/* ===== Video Widget ===== */
.video-widget {
    margin-bottom: 15px;
}

.video-thumb {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,107,53,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.video-widget p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--white);
    color: var(--text-color);
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: var(--white);
}

.page-dots {
    color: var(--text-muted);
}

/* ===== Search Form (Sidebar) ===== */
.search-form {
    display: flex;
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.search-form input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 14px;
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    border: none;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 15px;
    cursor: pointer;
}

/* ===== Newsletter Form ===== */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .server-card-content {
        grid-template-columns: 1fr;
    }
    
    .server-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .server-actions {
        flex-direction: row;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-side {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .nav-main,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-card-full,
    .news-card-full {
        flex-direction: column;
    }
    
    .guide-thumbnail,
    .news-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .featured-side {
        flex-direction: column;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        flex: 1;
    }
    
    .tabs {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .server-card {
        flex-direction: column;
    }
    
    .server-meta {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .server-actions {
        flex-direction: column;
    }
    
    .guide-meta,
    .news-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .featured-overlay h2 {
        font-size: 1.2rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
}
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }
    
    .nav-main {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-featured-image {
        height: 250px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .article-body h2 {
        font-size: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .article-header,
    .article-body,
    .article-footer {
        padding: 20px;
    }
    
    .article-body ul li,
    .article-body ol li {
        padding: 10px 10px 10px 35px;
    }
    
    .conclusion-box {
        padding: 20px;
    }
    
    .server-info-box,
    .rating-box {
        padding: 20px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .footer,
    .sidebar,
    .article-tags,
    .related-articles {
        display: none;
    }
    
    .article-content {
        box-shadow: none;
    }
    
    .article-featured-image {
        height: auto;
    }
}

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

.article-content {
    animation: fadeIn 0.5s ease;
}

.article-body ul li,
.article-body ol li {
    animation: fadeIn 0.3s ease;
}
