/* Modern Minecraft News Theme - Inspired by FeatherMC */

/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-card-hover: #22222e;
    --accent-primary: #6c5ce7;
    --accent-secondary: #a29bfe;
    --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6c6c7c;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(108, 92, 231, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108, 92, 231, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(162, 155, 254, 0.08), transparent);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.main-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.main-nav a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Hero Section (Old - keeping for other pages) */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ===== NEWS HOMEPAGE STYLES ===== */

/* News Hero Section */
.news-hero {
    padding: 100px 0 40px;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    min-height: 480px;
}

/* Main Featured Story */
.featured-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}

.featured-link {
    display: block;
    height: 100%;
}

.featured-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.featured-main:hover .featured-image {
    transform: scale(1.03);
}

.featured-image-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}

.featured-image-placeholder::after {
    content: "MC NEWS";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(108, 92, 231, 0.15);
    letter-spacing: 0.1em;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-end;
}

.featured-content {
    padding: 32px;
    width: 100%;
}

.featured-category {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.featured-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.featured-excerpt {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 90%;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.meta-sep {
    opacity: 0.4;
}

/* Secondary Featured Stories */
.featured-secondary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-card {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    min-height: 230px;
}

.featured-card-link {
    display: block;
    height: 100%;
}

.featured-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

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

.featured-card-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-category {
    display: inline-block;
    background: rgba(108, 92, 231, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    width: fit-content;
}

.featured-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: white;
    margin-bottom: 8px;
}

.featured-card-content time {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* News Section with Sidebar */
.news-section {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.section-title-news {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.see-all-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-secondary);
    transition: color var(--transition-fast);
}

.see-all-link:hover {
    color: var(--text-primary);
}

/* News List Items */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.news-item:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.news-item-link {
    display: flex;
    gap: 20px;
}

.news-item-image {
    width: 200px;
    min-height: 140px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.news-item-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card-hover) 100%);
}

.news-item-content {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.news-category {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent-secondary);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-item-meta time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.news-item:hover .news-item-title {
    color: var(--accent-secondary);
}

.news-item-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-primary);
    color: var(--text-primary);
}

/* Version List Widget */
.version-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.version-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.version-row:hover {
    background: var(--bg-card-hover);
}

.version-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}

.version-row.major .version-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.5);
}

.version-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.version-num {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.version-row.major .version-num {
    color: var(--accent-secondary);
}

.version-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.version-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Quick Links Widget */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.quick-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    transform: translateX(4px);
}

.quick-link-icon {
    font-size: 1.2rem;
}

/* News Homepage Responsive */
@media (max-width: 1100px) {
    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .featured-main {
        min-height: 350px;
    }

    .featured-secondary {
        flex-direction: row;
    }

    .featured-card {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .news-hero {
        padding: 80px 0 30px;
    }

    .featured-secondary {
        flex-direction: column;
    }

    .featured-card {
        min-height: 180px;
    }

    .news-sidebar {
        grid-template-columns: 1fr;
    }

    .news-item-link {
        flex-direction: column;
    }

    .news-item-image {
        width: 100%;
        height: 160px;
    }

    .news-item-content {
        padding: 16px;
    }

    .featured-content {
        padding: 20px;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .featured-excerpt {
        display: none;
    }
}

/* Homepage Background Animation Container */
.home-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(108, 92, 231, 0.6);
    border-radius: 50%;
    animation: float-up 15s infinite linear;
    opacity: 0;
    box-shadow: 0 0 6px rgba(108, 92, 231, 0.4);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 24s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 21s; }
.particle:nth-child(8) { left: 80%; animation-delay: 0.5s; animation-duration: 19s; }
.particle:nth-child(9) { left: 90%; animation-delay: 3.5s; animation-duration: 23s; }
.particle:nth-child(10) { left: 15%; animation-delay: 6s; animation-duration: 25s; }
.particle:nth-child(11) { left: 35%; animation-delay: 7s; animation-duration: 18s; }
.particle:nth-child(12) { left: 55%; animation-delay: 8s; animation-duration: 20s; }
.particle:nth-child(13) { left: 75%; animation-delay: 4.5s; animation-duration: 22s; }
.particle:nth-child(14) { left: 85%; animation-delay: 1.5s; animation-duration: 16s; }
.particle:nth-child(15) { left: 25%; animation-delay: 9s; animation-duration: 24s; }

.particle.large {
    width: 8px;
    height: 8px;
    background: rgba(162, 155, 254, 0.5);
    box-shadow: 0 0 10px rgba(162, 155, 254, 0.5);
}

.particle.small {
    width: 3px;
    height: 3px;
    background: rgba(108, 92, 231, 0.7);
    box-shadow: 0 0 4px rgba(108, 92, 231, 0.5);
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Subtle gradient orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: orb-drift 25s infinite ease-in-out;
}

.gradient-orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.18) 0%, transparent 70%);
    top: 5%;
    left: -10%;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(162, 155, 254, 0.15) 0%, transparent 70%);
    top: 35%;
    right: -10%;
    animation-delay: -7s;
    animation-duration: 30s;
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
    bottom: 15%;
    left: 25%;
    animation-delay: -14s;
    animation-duration: 35s;
}

@keyframes orb-drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }
    75% {
        transform: translate(20px, 20px) scale(1.02);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .gradient-orb {
        animation: none;
        opacity: 0.3;
    }

    .particle {
        display: none;
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.45);
    color: var(--text-primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Version History Timeline */
.version-history {
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--border-color);
}

.version-timeline {
    display: flex;
    overflow-x: auto;
    gap: 0;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--bg-card-hover) transparent;
}

.version-timeline::-webkit-scrollbar {
    height: 6px;
}

.version-timeline::-webkit-scrollbar-track {
    background: transparent;
}

.version-timeline::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 3px;
}

.version-item {
    position: relative;
    flex: 0 0 auto;
    min-width: 160px;
    padding: 0 24px;
}

.version-item::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
}

.version-item:first-child::before {
    left: 50%;
}

.version-item:last-child::before {
    right: 50%;
}

.version-marker {
    position: relative;
    width: 18px;
    height: 18px;
    background: var(--bg-card);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    margin: 0 auto 16px;
    z-index: 1;
}

.version-item.major .version-marker {
    width: 22px;
    height: 22px;
    background: var(--accent-primary);
    box-shadow: 0 0 12px rgba(108, 92, 231, 0.5);
}

.version-item.minor .version-marker {
    width: 14px;
    height: 14px;
    border-width: 2px;
    border-color: var(--text-muted);
}

.version-content {
    text-align: center;
}

.version-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 6px;
}

.version-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.version-item.major .version-number {
    color: var(--accent-secondary);
}

.version-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.version-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.version-link {
    font-size: 0.8rem;
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.version-link:hover {
    color: var(--text-primary);
}

/* Page Title */
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    padding-top: 120px;
}

/* List pages wrapper */
.list-page {
    min-height: calc(100vh - 72px);
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* Posts Header with Filters */
.posts-header {
    padding-top: 120px;
    margin-bottom: 40px;
}

.posts-header .page-title {
    padding-top: 0;
    margin-bottom: 24px;
}

.posts-filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 36px 10px 14px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 180px;
}

.filter-select:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-card-hover);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.filter-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.no-results {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 60px 0;
}

/* Posts Grid */
.latest-posts {
    padding: 60px 0 100px;
}

/* News Page Featured Post */
.news-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
    transition: all var(--transition-base);
}

.news-featured:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.news-featured-image {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
}

.news-featured-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.news-featured-category {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent-secondary);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-featured-meta time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: color var(--transition-fast);
}

.news-featured:hover .news-featured-title {
    color: var(--accent-secondary);
}

.news-featured-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Posts List */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-row {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.post-row:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.post-row-link {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 140px;
}

.post-row-image {
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
}

.post-row-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card-hover) 100%);
}

.post-row-content {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-row-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.post-row-category {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent-secondary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-row-meta time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-row-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.post-row:hover .post-row-title {
    color: var(--accent-secondary);
}

.post-row-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-image {
        min-height: 200px;
    }

    .news-featured-content {
        padding: 24px;
    }

    .news-featured-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .post-row-link {
        grid-template-columns: 1fr;
    }

    .post-row-image {
        height: 160px;
    }

    .post-row-content {
        padding: 16px;
    }
}

/* Legacy Post Card (keep for compatibility) */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.post-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.post-image {
    height: 200px;
    background: var(--bg-secondary);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.post-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

.post-image-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image-placeholder::after {
    content: "MC";
    font-size: 3rem;
    font-weight: 800;
    color: rgba(108, 92, 231, 0.2);
    letter-spacing: 0.1em;
}

.post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-category {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card h2,
.post-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-card h2 a,
.post-card h3 a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.post-card h2 a:hover,
.post-card h3 a:hover {
    color: var(--accent-secondary);
}

.post-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap var(--transition-fast);
}

.read-more::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.read-more:hover {
    gap: 10px;
}

.read-more:hover::after {
    transform: translateX(2px);
}

/* View All */
.view-all {
    text-align: center;
    margin-top: 48px;
}

/* Single Post */
.single-post {
    padding: 120px 0 80px;
}

.single-post .container {
    max-width: 800px;
}

.post-header {
    margin-bottom: 32px;
}

.post-header .post-meta {
    margin-bottom: 16px;
}

.post-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.post-author {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.post-author::before {
    content: 'By ';
    color: var(--text-muted);
}

.featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

/* Post Body */
.post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 48px 0 20px;
    letter-spacing: -0.01em;
}

.post-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 36px 0 16px;
}

.post-body p {
    margin-bottom: 20px;
}

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

.post-body li {
    margin-bottom: 10px;
}

.post-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.post-body blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--bg-card);
    border-left: 4px solid var(--accent-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-body code {
    background: var(--bg-card);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9em;
    color: var(--accent-secondary);
}

.post-body pre {
    background: var(--bg-card);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--border-color);
}

.post-body pre code {
    padding: 0;
    background: none;
}

.post-body a {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-decoration-color: rgba(162, 155, 254, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition-fast);
}

.post-body a:hover {
    text-decoration-color: var(--accent-secondary);
}

.post-body hr {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 48px 0;
}

/* Post Footer */
.post-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 32px;
}

.post-tags > span {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 4px;
}

.post-tags a {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.post-tags a:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.post-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.prev-post,
.next-post {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 12px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    max-width: 45%;
}

.prev-post:hover,
.next-post:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* Page Header Image */
.page-header-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.5) 0%, var(--bg-primary) 100%);
}

@media (max-width: 768px) {
    .page-header-image {
        height: 280px;
    }
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-info {
        align-items: center;
    }

    .footer-logo-text {
        display: none;
    }
}

/* Feature Cards (for homepage extras) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        height: 60px;
        padding: 0 20px;
        flex-direction: row;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }

    .main-nav.active {
        max-height: 400px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 0;
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        padding-top: 140px;
        font-size: 2rem;
    }

    .single-post {
        padding-top: 140px;
    }

    .post-header h1 {
        font-size: 1.75rem;
    }

    .post-nav {
        flex-direction: column;
    }

    .prev-post,
    .next-post {
        max-width: 100%;
    }
}


/* Servers Page */
.servers-page {
    min-height: calc(100vh - 72px);
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.servers-header {
    padding-top: 120px;
    margin-bottom: 48px;
}

.servers-header .page-title {
    padding-top: 0;
    margin-bottom: 12px;
}

.servers-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.server-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.server-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.server-image {
    height: 160px;
    background: var(--bg-secondary);
    background-size: cover;
    background-position: center;
    position: relative;
}

.server-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

.server-image-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-image-placeholder::after {
    content: "SERVER";
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(108, 92, 231, 0.15);
    letter-spacing: 0.2em;
}

.server-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.server-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.server-country {
    background: rgba(108, 92, 231, 0.15);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 1.25rem;
    line-height: 1;
}

.server-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.server-ip-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.server-ip-display .copy-icon {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.server-card:hover .server-ip-display .copy-icon {
    color: var(--accent-secondary);
}

.server-card {
    cursor: pointer;
}

/* Copy Toast */
.copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

a.page-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.page-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.page-ellipsis {
    color: var(--text-muted);
    padding: 0 4px;
}

/* Servers Responsive */
@media (max-width: 768px) {
    .servers-header {
        padding-top: 140px;
    }

    .servers-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        gap: 6px;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection */
::selection {
    background: rgba(108, 92, 231, 0.3);
    color: var(--text-primary);
}

/* Feather Client Header Link */
.nav-feather {
    background: var(--accent-gradient);
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-feather:hover {
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

.nav-feather-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Feather Client Section */
.feather-client {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feather-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feather-badge {
    display: inline-block;
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.feather-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feather-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.feather-features {
    list-style: none;
    margin-bottom: 32px;
}

.feather-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.feather-features .feature-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.feather-features li div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feather-features li strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feather-features li span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feather-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.feather-logo {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.3));
    transition: transform var(--transition-base);
}

.feather-logo:hover {
    transform: scale(1.02);
}

/* Feather Client Responsive */
@media (max-width: 900px) {
    .feather-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .feather-info h2 {
        font-size: 2rem;
    }

    .feather-features li {
        text-align: left;
    }

    .feather-cta {
        justify-content: center;
    }

    .feather-logo-wrapper {
        order: -1;
    }

    .feather-logo {
        max-height: 250px;
    }
}

/* Discord Widget (inside Feather section) */
.feather-info .discord-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 24px;
    transition: all var(--transition-base);
}

.feather-info .discord-widget:hover {
    border-color: var(--border-hover);
}

.discord-icon {
    width: 48px;
    height: 48px;
    background: #5865F2;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.discord-info {
    flex: 1;
}

.discord-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.discord-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-discord:hover {
    background: #4752C4;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

@media (max-width: 900px) {
    .feather-info .discord-widget {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .btn-discord {
        width: 100%;
    }
}

/* YouTubers Page */
.youtubers-page {
    min-height: calc(100vh - 72px);
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.youtubers-header {
    padding-top: 120px;
    margin-bottom: 48px;
}

.youtubers-header .page-title {
    padding-top: 0;
    margin-bottom: 12px;
}

.youtubers-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.youtubers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.youtuber-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.youtuber-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.youtuber-banner {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
}

.youtuber-body {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-top: -28px;
}

.youtuber-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    object-fit: cover;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.youtuber-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    padding-top: 20px;
}

.youtuber-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.youtuber-links {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link.youtube:hover {
    background: #FF0000;
    color: white;
}

.social-link.twitch:hover {
    background: #9146FF;
    color: white;
}

.social-link.tiktok:hover {
    background: #000000;
    color: white;
}

.social-link.x:hover {
    background: #000000;
    color: white;
}

@media (max-width: 768px) {
    .youtubers-grid {
        grid-template-columns: 1fr;
    }
}

/* Capes Page */
.capes-page {
    min-height: calc(100vh - 72px);
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.capes-header {
    padding-top: 120px;
    margin-bottom: 48px;
}

.capes-header .page-title {
    padding-top: 0;
    margin-bottom: 12px;
}

.capes-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.cape-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-primary);
    display: inline-block;
}

.capes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.cape-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.cape-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.cape-images {
    display: flex;
    gap: 32px;
    padding: 20px;
    background: var(--bg-secondary);
    justify-content: center;
    min-height: 180px;
    align-items: center;
}

.cape-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cape-render {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    image-rendering: pixelated;
    border-radius: var(--radius-sm);
}

.image-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.cape-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
}

.cape-body {
    padding: 20px;
}

.cape-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cape-api-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.api-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cape-api-name code {
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--accent-secondary);
}

/* Purchase Guide */
.purchase-guide {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.purchase-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.purchase-step-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.purchase-step-card:hover {
    border-color: var(--border-hover);
}

.purchase-step-card img {
    width: 100%;
    display: block;
}

.step-label {
    padding: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.step-label strong {
    color: var(--accent-primary);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 6px;
}

@media (max-width: 600px) {
    .purchase-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Sections */
.capes-faq,
.servers-faq,
.youtubers-faq {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .capes-header {
        padding-top: 100px;
    }

    .capes-grid {
        grid-template-columns: 1fr;
    }

    .cape-images {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}
