:root {
    --primary: #5566F2;
    --secondary: #6B7FFF;
    --accent: #7B8FFF;
    --bg-dark: #0F1419;
    --bg-card: #161C2B;
    --bg-nav: #0D1017;
    --bg-footer: #0A0E14;
    --text-light: #FFFFFF;
    --text-secondary: #B4BCD0;
    --border: rgba(85, 102, 242, 0.15);
    --border-hover: rgba(85, 102, 242, 0.4);
    --font-pixel: 'Press Start 2P', cursive;
    --font-main: 'Inter', sans-serif;
    --grid-size: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-pixel);
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.65;
    position: relative;
    letter-spacing: 0.3px;
}

/* Grid Background Pattern - Inspired by comutions.de */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(85, 102, 242, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(85, 102, 242, 0.05) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    pointer-events: none;
    z-index: 0;
}

/* Subtle Gradient Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(85, 102, 242, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(107, 127, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

main, header, footer {
    position: relative;
    z-index: 1;
}

/* Plugin description specifically using main font */
.plugin-card p, 
#modal-text p {
    font-family: var(--font-main);
    font-weight: 400;
}

/* Header & Logo Area */
header {
    width: 100%;
    z-index: 100;
    background: rgba(13, 16, 23, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.top-logo-area {
    padding: 30px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    height: 80px;
    transition: transform 0.3s ease;
}

.logo-text {
    font-family: var(--font-pixel);
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: -1px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.28s cubic-bezier(0.3, 0, 0.7, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.65;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-links a i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-family: var(--font-pixel);
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    opacity: 0.4;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.7;
    font-family: var(--font-main);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
    gap: 12px;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(85, 102, 242, 0.3);
}

.cta-button i {
    width: 20px;
    height: 20px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 45px;
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    border: 2px solid #5865F2;
}

.discord-button:hover {
    background: #4752c4;
    border-color: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.discord-button i {
    width: 20px;
    height: 20px;
}

/* Trust Banner */
.trust-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, rgba(85, 102, 242, 0.1), rgba(107, 127, 255, 0.1));
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 100px;
    margin-bottom: 25px;
    color: var(--secondary);
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    letter-spacing: 1px;
}

.trust-banner i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Plugins Grid */
.plugins-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: var(--font-pixel);
    font-size: 1.8rem;
    margin-bottom: 50px;
}

.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    animation: gridFade 0.6s ease-out;
}

@keyframes gridFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plugin-card {
    background: rgba(22, 28, 43, 0.8);
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.plugin-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(85, 102, 242, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.plugin-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 0 15px 40px rgba(85, 102, 242, 0.2);
}

.plugin-icon-container {
    width: 55px;
    height: 55px;
    background: rgba(85, 102, 242, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    border: 1px solid rgba(85, 102, 242, 0.2);
}

.plugin-card h3 {
    font-family: var(--font-pixel);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--secondary);
}

.plugin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

/* Search & Filter Styling */
.search-filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.search-box, .filter-box {
    background: rgba(22, 28, 43, 0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-box:focus-within, .filter-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(85, 102, 242, 0.2);
}

.search-box input, .filter-box select {
    background: transparent;
    border: none;
    color: var(--text-light);
    outline: none;
    font-family: var(--font-pixel);
    font-size: 0.6rem;
}

.search-box input {
    width: 250px;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-box i, .filter-box i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.filter-box select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Extension Banner */
.extension-banner {
    width: 100%;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(85, 102, 242, 0.1), rgba(107, 127, 255, 0.05));
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.extension-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.banner-content {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.banner-content i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.banner-content span {
    font-family: var(--font-pixel);
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 1px;
    line-height: 1.6;
}

.banner-link {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-family: var(--font-pixel);
    font-size: 0.55rem;
    transition: all 0.3s;
}

.banner-link:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

/* Tags */
.tag {
    font-family: var(--font-pixel);
    font-size: 0.5rem;
    padding: 5px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(85, 102, 242, 0.3);
    transition: all 0.25s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.8px;
}

.tag:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(85, 102, 242, 0.6);
    background-color: rgba(85, 102, 242, 0.1);
}

.tag-spigot { background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.25)); color: #ff9800; }
.tag-paper { background: linear-gradient(135deg, rgba(0, 170, 255, 0.15), rgba(0, 170, 255, 0.25)); color: #00aaff; }
.tag-bukkit { background: linear-gradient(135deg, rgba(182, 97, 31, 0.15), rgba(182, 97, 31, 0.25)); color: #b6611f; }
.tag-folia { background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(233, 30, 99, 0.25)); color: #e91e63; }
.tag-purpur { background: linear-gradient(135deg, rgba(179, 120, 255, 0.15), rgba(179, 120, 255, 0.25)); color: #b378ff; }
.tag-bungeecord { background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.25)); color: #2196f3; }
.tag-velocity { background: linear-gradient(135deg, rgba(63, 81, 181, 0.15), rgba(63, 81, 181, 0.25)); color: #3f51b5; }
.tag-discord { background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.25)); color: #5865f2; }
.tag-itemsadder { background: linear-gradient(135deg, rgba(183, 101, 255, 0.15), rgba(183, 101, 255, 0.25)); color: #b765ff; }
.tag-oraxen { background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(0, 210, 255, 0.25)); color: #00d2ff; }
.tag-nexo { background: linear-gradient(135deg, rgba(0, 168, 255, 0.15), rgba(0, 168, 255, 0.25)); color: #00a8ff; }

.plugin-card p {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.7;
    flex-grow: 1;
    line-height: 1.7;
    font-family: var(--font-main);
    font-weight: 400;
    word-spacing: 2px;
}

.plugin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(85, 102, 242, 0.1);
}

.version-tag {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.4;
}

.download-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.info-btn {
    width: 42px;
    height: 42px;
    background: rgba(85, 102, 242, 0.05);
    border: 1px solid var(--border);
    color: var(--primary);
    text-decoration: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.320, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.info-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(85, 102, 242, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.info-btn:hover::before {
    width: 100%;
    height: 100%;
}

.info-btn i {
    width: 20px;
    height: 20px;
    stroke-width: 1.5px;
    position: relative;
    z-index: 1;
}

.info-btn:hover {
    background: rgba(85, 102, 242, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(85, 102, 242, 0.15);
}

.download-btn {
    height: 42px;
    padding: 0 24px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: left 0.3s ease;
}

.download-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(85, 102, 242, 0.3);
    transform: translateY(-2px);
}

.download-btn:hover::before {
    left: 0;
}

.download-btn.disabled {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    pointer-events: none;
}

/* Resource Page Styles */
.resource-page {
    padding: 60px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.resource-container {
    background: rgba(22, 28, 43, 0.8);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.resource-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.resource-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(85, 102, 242, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border);
}

.resource-icon-large i {
    width: 40px;
    height: 40px;
    stroke-width: 1.5px;
}

.resource-info h1 {
    margin-bottom: 10px;
    text-align: left;
}

.resource-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.resource-description {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.resource-description p {
    margin: 0 0 1rem;
}

.resource-description p:last-child {
    margin-bottom: 0;
}

.resource-description br {
    margin-bottom: 10px;
    display: block;
    content: "";
}

.resource-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(85, 102, 242, 0.1);
    padding-top: 40px;
}

body.blurred > *:not(.resource-info-overlay) {
    filter: blur(10px) saturate(1.05);
    pointer-events: none;
    user-select: none;
}

.resource-info-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.resource-info-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.resource-info-panel {
    width: min(95%, 980px);
    max-height: min(92vh, 980px);
    overflow-y: auto;
    background: rgba(15, 18, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    position: relative;
}

.resource-info-panel .overlay-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 22, 40, 0.9);
    color: #fff;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.resource-info-panel .overlay-close-btn:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
}

.resource-info-panel .resource-info-body {
    display: grid;
    gap: 24px;
}

.resource-info-panel .info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.resource-info-panel .info-icon {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    background: rgba(85, 102, 242, 0.12);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-info-panel .info-icon i {
    width: 36px;
    height: 36px;
}

.resource-info-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 2.4vw, 2.4rem);
}

.resource-info-panel .info-meta {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 8px;
    font-size: 0.95rem;
}

.resource-info-panel .info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.resource-info-panel .info-description {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.resource-info-panel .info-description p {
    margin: 0 0 1rem;
}

.resource-info-panel .info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.resource-info-panel .info-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.resource-info-panel .info-link:hover {
    border-color: var(--primary);
    background: rgba(85, 102, 242, 0.12);
}

.resource-info-panel .download-btn {
    border-radius: 14px;
    padding: 14px 22px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-pixel);
    font-size: 0.75rem;
    margin-bottom: 40px;
    transition: all 0.3s;
    padding: 10px 20px;
    background: rgba(85, 102, 242, 0.05);
    border-radius: 12px;
    border: 1px solid transparent;
}

.back-btn:hover {
    background: rgba(85, 102, 242, 0.15);
    border-color: var(--primary);
    transform: translateX(-5px);
}

/* Legal Page Styles */
.legal-page {
    padding: 60px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-content {
    background: rgba(22, 28, 43, 0.8);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.legal-content h2 {
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-pixel) !important;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.legal-section {
    margin-bottom: 45px;
}

.pixel-title-full {
    font-family: var(--font-pixel) !important;
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: block;
    line-height: 1.6;
}

.legal-content p, .legal-content strong, .legal-content div {
    font-family: var(--font-main) !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.law-notice {
    background: rgba(85, 102, 242, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px 25px;
    border-radius: 4px 12px 12px 4px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .legal-content { padding: 30px; }
    .legal-content h2 { font-size: 1.5rem; }
}

/* Mobile Adjustments for Resource Pages */
@media (max-width: 768px) {
    .resource-container { padding: 30px; }
    .resource-header { flex-direction: column; text-align: center; }
    .resource-info h1 { text-align: center; }
    .resource-tags { justify-content: center; }
    .resource-actions { flex-direction: column; }
    .resource-actions .cta-button, 
    .resource-actions .discord-button { width: 100%; }
}

.plugin-card.coming-soon {
    opacity: 0.8;
    filter: grayscale(0.5);
    border-style: dashed;
}

/* Footer */
footer {
    background: rgba(10, 14, 20, 0.95);
    padding: 60px 20px;
    border-top: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 50px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    opacity: 0.5;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    font-size: 0.5rem;
    opacity: 0.3;
    font-weight: 400;
}

/* Modal */
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: rgba(22, 28, 43, 0.9);
    border: 1px solid var(--primary);
    max-width: 650px;
    width: 100%;
    padding: 50px;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    transition: transform 0.3s;
}

.close-modal:hover { transform: rotate(90deg); }

/* Responsive Improvements */
@media (max-width: 992px) {
    .plugin-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    html { font-size: 12px; }
    
    .top-logo-area { padding: 20px 0; }
    .main-logo { height: 60px; }
    
    h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .cta-button, .discord-button { width: 100%; text-align: center; justify-content: center; }
    
    .search-filter-container { flex-direction: column; align-items: stretch; padding: 0 20px; }
    .search-box input { width: 100%; }
    
    .nav-links { gap: 20px; }
    .nav-links a { font-size: 0.55rem; }
    
    .plugin-card { padding: 25px; }
    .plugin-footer { flex-direction: column; gap: 20px; align-items: flex-start; }
    .download-container { width: 100%; justify-content: space-between; }
    .download-btn { flex-grow: 1; justify-content: center; }
}

@media (max-width: 480px) {
    .banner-content { padding: 15px; }
    .banner-content span { font-size: 0.55rem; }
    .banner-link { width: 100%; text-align: center; }
    
    .footer-links { gap: 20px; flex-direction: column; align-items: center; }
    .footer-links a { font-size: 0.55rem; }
}
