/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0b0b10;
    --color-surface: #12121a;
    --color-text: #f5f6f8;
    --color-muted: #c7c9d1;
    --color-border: rgba(94, 4, 94, 0.25);
    --primary-500: #790896;
    --primary-600: #8810b8;
    --primary-700: #8917b6;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background:
        radial-gradient(800px 400px at 90% -10%, rgba(121, 8, 150, 0.18), transparent 60%),
        radial-gradient(600px 300px at -10% 10%, rgba(121, 8, 150, 0.12), transparent 60%),
        linear-gradient(180deg, var(--color-bg) 0%, #1a0a1a 50%, #0a0a0a 100%);
    overflow-x: hidden;
}

/* Lock background scroll when mobile nav is open */
body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 11, 16, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px; /* odstęp między logo a tekstem */
}

.logo-img {
    height: 40px; /* wysokość logo */
    width: auto;
}
.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(142, 97, 255, 0.35);
}

.nav-logo h2 {
    color: var(--primary-500);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-500);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Animate hamburger into X when active */
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-500);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.2vw + 0.6rem, 1.5rem);
    color: var(--primary-500);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 0.6vw + 0.8rem, 1.1rem);
    color: var(--color-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(142, 97, 255, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-500);
    border: 2px solid var(--primary-500);
}

.btn-secondary:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
}

/* Floating Elements */
.hero-visual {
    position: relative;
    height: 400px;
}

/* Media scale responsively */
img, svg, video {
    max-width: 100%;
    height: auto;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 80px 0;
}

/* Account for fixed navbar height on anchor jumps */
section, .section-title {
    scroll-margin-top: 88px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--color-text);
}

/* About Section */

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(142, 97, 255, 0.1);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.feature p {
    color: var(--color-muted);
    line-height: 1.6;
}

/* Administration Section */

.administration::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 60%;
    background: radial-gradient(60% 60% at 50% 0%, rgba(121, 8, 150, 0.25), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.admin-card {
    background: rgba(142, 97, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
}

.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.admin-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: rgb(255, 255, 255);
    font-weight: 800;
    font-size: 1.25rem;
}

/* Image-based admin avatar override */
.admin-card img.admin-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: none;
}

.admin-card h3 {
    color: var(--color-text);
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.admin-card p {
    color: var(--color-muted);
}

/* Divider under avatars */
.admin-divider {
    height: 2px;
    width: 60%;
    margin: 0.75rem auto 0.75rem;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
    border-radius: 999px;
    opacity: 0.8;
}

/* Expandable admin descriptions */
.expand-btn {
    background: rgba(121, 8, 150, 0.1);
    border: 1px solid var(--primary-500);
    color: var(--primary-500);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.expand-btn:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 8, 150, 0.3);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

.admin-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 1rem;
    padding: 0;
    border-radius: 8px;
    background: rgba(121, 8, 150, 0.05);
    border: 1px solid rgba(121, 8, 150, 0.1);
}

.admin-description.expanded {
    max-height: 200px;
    padding: 1rem;
}

.admin-description p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Regulamin / Rules Section */

.rules-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    counter-reset: rule;
    padding-left: 0;
}

.rules-list li {
    list-style: none;
    position: relative;
    padding: 1rem 1.25rem 1rem 3.25rem;
    background: rgba(142, 97, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-muted);
}

.rules-list li::before {
    counter-increment: rule;
    content: counter(rule);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.rules-note {
    text-align: center;
    color: var(--color-muted);
    margin-top: 1.25rem;
}

/* Supporters Section */

.support-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.support-info h3 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.support-info p {
    color: var(--color-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-method {
    background: rgba(142, 97, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.support-method:hover {
    transform: translateY(-5px);
}

.support-method i {
    font-size: 2.5rem;
    color: var(--primary-500);
    margin-bottom: 1rem;
}

.support-method h4 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.support-method p {
    color: var(--color-muted);
    margin: 0;
}

.monthly-supporters {
    text-align: center;
}

.monthly-supporters h3 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.supporter-card {
    background: rgba(142, 97, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.supporter-card:hover {
    transform: translateY(-3px);
}

.supporter-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
}

.supporter-card h4 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.support-amount {
    color: var(--primary-500);
    font-weight: 600;
    margin: 0;
}

/* Monthly Goal Progress Bar */
.monthly-goal {
    margin-top: 3rem;
    text-align: center;
}

.goal-info h3 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.goal-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.current-amount,
.target-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.current-amount .amount,
.target-amount .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

.current-amount .currency,
.target-amount .currency {
    font-size: 1.2rem;
    color: var(--color-muted);
    font-weight: 500;
}

.goal-separator {
    font-size: 1.5rem;
    color: var(--color-muted);
    font-weight: 500;
    margin: 0 0.5rem;
}

.goal-percentage {
    color: var(--primary-500);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    max-width: 600px;
    height: 12px;
    background: rgba(142, 97, 255, 0.1);
    border-radius: 999px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
    border-radius: 999px;
    transition: width 1.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-500);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-500);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(142, 97, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-500);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: #9aa0ae;
}

/* Top-right CTA */
.nav-cta {
    margin-left: 1rem;
    display: inline-flex;
}

.mobile-cta { display: none; }

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(11, 11, 16, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .community-stats {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-cta { display: none; }
    .mobile-cta { display: block; }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .social-links {
        flex-direction: column;
    }
    
    .admin-card {
        min-height: 250px;
        padding: 1rem;
    }
    
    .expand-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Mobile bottom bar */
.mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.5rem env(safe-area-inset-right, 12px) calc(0.5rem + env(safe-area-inset-bottom, 12px)) env(safe-area-inset-left, 12px);
    background: rgba(11, 11, 16, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
}

.mobile-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.25rem;
    color: var(--color-text);
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8rem;
}

.mobile-action i { font-size: 1.1rem; color: var(--primary-500); }
.mobile-action:active { transform: translateY(1px); }

.mobile-action-discord:focus,
.mobile-action-menu:focus,
.mobile-action-top:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .mobile-bottom-bar { display: grid; }
    /* create extra bottom space so content isn't obscured */
    body { padding-bottom: 76px; }
}

/* Lighter visuals on very small screens */
@media (max-width: 480px) {
    .hero-visual { height: 260px; }
    .element { opacity: 0.4; }
}

/* --- RESPONSYWNOŚĆ: MOBILE & TABLET --- */

/* Navigation: hamburger menu for mobile */
@media (max-width: 900px) {
    .nav-container { padding: 0 10px; }
    .nav-menu { gap: 1rem; }
    .nav-logo h2 { font-size: 1.2rem; }
    .logo-img { height: 32px; }
}

/* Mobile navigation menu */
@media (max-width: 768px) {
    .navbar { padding: 0.7rem 0; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(11, 11, 16, 0.97);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 2rem 0;
        height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 1002;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin-bottom: 1.2rem; }
    .nav-cta { display: none; }
    .mobile-cta { display: block; }
    .hamburger { display: flex; }
}

/* Hero section mobile */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 10px;
    }
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; gap: 0.7rem; }
    .hero-visual { height: 220px; }
    .floating-elements { display: none; }
}

/* Section padding mobile */
@media (max-width: 768px) {
    section { padding: 48px 0; }
    .section-title { font-size: 1.5rem; margin-bottom: 2rem; }
}

/* Quick nav cards mobile */
@media (max-width: 768px) {
    .quick-nav-grid { grid-template-columns: 1fr; gap: 1rem; }
    .quick-nav-card { padding: 1rem; }
    .quick-nav-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 1rem; }
}

/* Features, supporters, admin grid mobile */
@media (max-width: 768px) {
    .features,
    .support-methods,
    .supporters-grid,
    .admin-grid,
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature,
    .support-method,
    .supporter-card,
    .admin-card {
        padding: 1rem;
        min-height: unset;
    }
}

/* Panel tabs and header mobile */
@media (max-width: 768px) {
    .panel-header { flex-direction: column; align-items: flex-start; padding: 12px; }
    .panel-tabs { margin: 16px auto 0 auto; }
    .panel-tabbar { gap: 6px; }
    .panel-tab-btn { padding: 8px 10px; font-size: 0.95rem; }
}

/* Inputs, buttons mobile */
@media (max-width: 480px) {
    .btn, .btn-primary, .btn-secondary, .btn-discord { padding: 10px 16px; font-size: 0.9rem; }
    .input, .select, .textarea { padding: 8px 10px; font-size: 0.95rem; }
}

/* Footer mobile */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 1rem; }
    .footer-section { margin-bottom: 1.5rem; }
}

/* Mobile bottom bar */
@media (max-width: 768px) {
    .mobile-bottom-bar { display: grid; }
    body { padding-bottom: 76px; }
}

/* Discord banner mobile */
@media (max-width: 640px) {
    .discord-banner { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    .discord-cta { justify-content: center; width: 100%; }
}

/* Hide floating visuals on very small screens */
@media (max-width: 480px) {
    .floating-elements { display: none; }
    .hero-title { font-size: 1.3rem; }
    .section-title { font-size: 1.1rem; }
    .panel-header { padding: 8px; }
    .panel-tab-btn { font-size: 0.85rem; }
}

/* Make cards and avatars smaller on mobile */
@media (max-width: 480px) {
    .supporter-avatar, .admin-avatar, .discord-icon { width: 40px; height: 40px; }
    .feature-icon, .quick-nav-icon { width: 36px; height: 36px; font-size: 1rem; }
}

/* Additional mobile styles */
@media (max-width: 768px) {
    .hero-visual {
        height: auto;
        order: -1; /* Obrazek nad tekstem */
    }
    .hero-container {
        text-align: center;
    }
    .floating-elements .element {
        transform: none !important;
    }
    .element-1 {
        width: 60px;
        height: 60px;
        top: 10%;
        left: 25%;
    }
    .element-2 {
        width: 40px;
        height: 40px;
        top: 40%;
        right: 25%;
    }
    .element-3 {
        width: 50px;
        height: 50px;
        bottom: 10%;
        left: 35%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .features, .support-methods, .supporters-grid {
        grid-template-columns: 1fr;
    }
    .feature, .support-method, .supporter-card {
        padding: 1rem;
    }
    .floating-elements {
        display: none;
    }
}
.discord-section { padding-top: 10px; padding-bottom: 40px; }

.discord-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: rgba(142, 97, 255, 0.06);
  border: 1px solid var(--color-border, rgba(255,255,255,0.08));
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}

.discord-left { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }

.discord-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-500, #8e61ff), var(--primary-700, #6a3cff));
  border: 1px solid rgba(255,255,255,0.06);
  flex: 0 0 auto;
}

.discord-meta { display: grid; gap: 0.2rem; min-width: 0; }
.discord-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-stats {
  display: flex;
  gap: 0.9rem;
  color: var(--color-muted, #c7c9d1);
  font-weight: 600;
  font-size: 0.95rem;
}

.discord-stats i { margin-right: 0.3rem; color: var(--primary-500, #8e61ff); }

.discord-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .discord-banner { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .discord-cta { justify-content: center; width: 100%; }
}

/* Quick Navigation Section */
.quick-nav {
    padding: 80px 0;
    background: rgba(11, 11, 16, 0.5);
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-nav-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-nav-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-500);
    box-shadow: 0 20px 40px rgba(121, 8, 150, 0.2);
}

.quick-nav-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.quick-nav-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.quick-nav-card p {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments for quick navigation */
@media (max-width: 768px) {
    .quick-nav-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-nav-card {
        padding: 1.5rem;
    }
    
    .quick-nav-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* FAQ Items */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(94, 4, 94, 0.2);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    color: var(--primary-500);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.faq-item ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.faq-item li {
    color: var(--color-muted);
    margin-bottom: 0.3rem;
}

.faq-item a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-item a:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

.rank-badge {
    display: inline-block;
    padding: 0.3em 1em;
    border: 2px solid #a259ff;
    border-radius: 1em;
    background: rgba(162,89,255,0.12);
    color: #a259ff;
    font-weight: 600;
    font-size: 1em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    letter-spacing: 0.5px;
}

/* Panel specific styling */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.panel-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.input,
.select,
.textarea {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: rgba(18, 18, 26, 0.6);
    color: var(--color-text);
    outline: none;
}

.textarea { width: 100%; resize: vertical; }

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #fff;
}

.btn-discord i { color: #fff; }

.muted { color: var(--color-muted); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(142, 97, 255, 0.08);
    font-weight: 600;
    font-size: 0.85rem;
}

.chip.crit { border-color: #ef4444; background: rgba(239, 68, 68, 0.12); color: #ff8686; }
.chip.high { border-color: #f97316; background: rgba(249, 115, 22, 0.12); color: #ffb07a; }
.chip.med  { border-color: #eab308; background: rgba(234, 179, 8, 0.12); color: #ffe28a; }
.chip.low  { border-color: #22c55e; background: rgba(34, 197, 94, 0.12); color: #9ef0b8; }

.list {
    display: grid;
    gap: 0.75rem;
}

.list-item {
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(142, 97, 255, 0.06);
}

.list-item .meta { display: flex; gap: 0.75rem; color: var(--color-muted); font-size: 0.9rem; }
.list-item .actions { margin-left: auto; display: inline-flex; gap: 0.5rem; }
.icon-btn {
    background: transparent;
    color: var(--color-muted);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}
.icon-btn:hover { color: #fff; border-color: var(--primary-500); }

/* Panel header and tabs */
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    max-width: 1000px;
    margin: auto;
}

/* Small responsive tweak for panel topbar */
@media (max-width: 768px) {
    .panel-topbar { flex-direction: column !important; gap: 8px; }
}

.panel-tabs {
    max-width: 1000px;
    margin: 24px auto 0 auto;
}

.panel-tabbar {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
}

.panel-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-muted);
    padding: 10px 14px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-weight: 600;
}

.panel-tab-btn.active {
    color: var(--color-text);
    border-color: var(--color-border);
    background: rgba(142,97,255,0.08);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-weight: 700;
    font-size: 0.85rem;
}
.badge.ok { border-color: #22c55e; background: rgba(34,197,94,0.12); color: #9ef0b8; }
.badge.warn { border-color: #a259ff; background: rgba(162,89,255,0.12); color: #a259ff; }

.auth-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 24px;
    text-align: center;
}

@media (max-width: 768px) {
    .panel-grid { grid-template-columns: 1fr; }
    .panel-header { padding: 16px; }
    .panel-tab-btn { padding: 8px 10px; font-size: 0.95rem; }
}