:root {
    /* Colores Principales */
    --primary: #8B5CF6;
    --primary-dark: #4C1D95;
    --primary-glow: rgba(139, 92, 246, 0.5);

    --secondary: #FACC15;
    --secondary-dark: #FBBF24;
    --secondary-glow: rgba(250, 204, 21, 0.5);

    --bg-dark: #0a0612;
    --bg-card: #120f1c;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;

    --discord: #5865F2;

    /* Tipografías */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Instrument Sans', system-ui, sans-serif;

    /* Spacing */
    --section-pad: 80px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(124, 58, 237, 0.22), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 50%, rgba(201, 162, 39, 0.06), transparent 50%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul,
ol {
    list-style: none;
}

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

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

.section {
    padding: var(--section-pad);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--secondary);
}

.text-discord {
    color: var(--discord);
}

/* —— Inicio (nuevo layout) —— */
.section-tight {
    padding: 56px 0 72px;
}

.site-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 0 4rem;
    overflow: hidden;
}

.site-hero__glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 50% 30%, rgba(201, 162, 39, 0.12), transparent 45%),
        radial-gradient(circle at 70% 70%, rgba(124, 58, 237, 0.15), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.site-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.badge-status {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid rgba(201, 162, 39, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    background: rgba(0, 0, 0, 0.35);
}

.site-hero__logo {
    margin: 0 auto 1rem;
    max-width: min(220px, 55vw);
    height: auto;
    filter: drop-shadow(0 0 28px rgba(201, 162, 39, 0.25));
}

.site-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    background: linear-gradient(120deg, #f5e6b8, #c9a227, #f0d78c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.site-hero__tagline {
    font-size: 1.08rem;
    color: #d4c4f0;
    margin-bottom: 1rem;
    line-height: 1.55;
}

.site-hero__note {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.site-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.connect-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem 1.35rem;
    text-align: left;
}

.connect-card h3 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.connect-card__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.ip-block {
    display: block;
    font-family: ui-monospace, monospace;
    font-size: 1rem;
    color: #e8e4f0;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.25);
    margin-bottom: 0.75rem;
    word-break: break-all;
}

.btn-copy {
    display: inline-block;
    background: rgba(124, 58, 237, 0.35);
    color: #fff;
    border: 1px solid rgba(124, 58, 237, 0.6);
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-copy:hover {
    background: rgba(124, 58, 237, 0.55);
}

.connect-card__hint {
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.connect-card--discord {
    text-align: center;
}

.connect-card--discord .btn-discord {
    justify-content: center;
    width: 100%;
}

.discord-widget {
    width: 100%;
    max-width: 420px;
    height: 620px;
    margin-top: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.community-widget-block {
    text-align: center;
}

.community-layout {
    width: min(100%, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 1rem;
    align-items: start;
}

.discord-live-panel {
    width: 100%;
    margin: 0;
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(88, 101, 242, 0.14), rgba(8, 11, 26, 0.9));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.discord-live-panel__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.discord-metric-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    text-align: left;
}

.discord-metric-card__label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.discord-metric-card__value {
    margin-top: 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.45rem;
    background: #f59e0b;
    vertical-align: middle;
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.discord-live-panel__channels {
    text-align: left;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem;
    margin-bottom: 1rem;
}

.discord-live-panel__subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 0.65rem;
}

.discord-channels-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1rem;
}

.discord-channels-list li {
    list-style: none;
    color: #d8dcea;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discord-live-panel .btn-discord {
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.discord-widget-wrap {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.7rem;
    display: flex;
    justify-content: center;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.prose-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
}

.prose-card h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
}

.prose-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.mono-list {
    font-family: ui-monospace, monospace;
    font-size: 0.78rem;
    color: #c4b8dc;
    line-height: 1.5;
    margin: 0;
}

.checklist {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.checklist li {
    list-style: disc;
    margin-bottom: 0.45rem;
}

.labs-cta {
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(201, 162, 39, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.labs-cta p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 1rem;
}

.labs-cta__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.nav-btn {
    text-transform: none;
    letter-spacing: 0;
    padding: 0.45rem 1rem !important;
    font-size: 0.88rem !important;
}

.btn-discord.small {
    padding: 8px 16px;
    font-size: 0.85rem;
    text-transform: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 8, 22, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--secondary);
    transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: 0.3s;
}

/* Buttons */
.btn-primary,
.btn-mp,
.btn-paypal,
.btn-secondary,
.btn-discord,
.btn-store,
.btn-discord-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: #000;
    box-shadow: 0 0 15px var(--secondary-glow);
}

.btn-secondary.small {
    padding: 5px 15px;
    font-size: 0.8rem;
    margin-top: 10px;
}

.btn-discord,
.btn-discord-large {
    background: var(--discord);
    color: white;
}

.btn-discord:hover,
.btn-discord-large:hover {
    background: #404EED;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.btn-mp {
    background: #009EE3;
    color: white;
}

.btn-mp:hover {
    background: #0087c2;
    box-shadow: 0 0 15px rgba(0, 158, 227, 0.5);
    transform: translateY(-2px);
}

.btn-paypal {
    background: #003087;
    color: white;
}

.btn-paypal:hover {
    background: #002466;
    box-shadow: 0 0 15px rgba(0, 48, 135, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    /* Increased padding */
    overflow: hidden;
    /* Prevent dragon from expanding scrollbar */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: radial-gradient(circle at center, #2e1065 0%, #050816 80%); REMOVED static bg */
    z-index: -2;
}

/* Background Layers */
#background-layers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    overflow: hidden;
    background: #050816;
    /* Base dark color */
}

.gradient-layer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #4c1d95 0%, #1e1b4b 30%, #050816 70%);
    opacity: 0.6;
    animation: gradientMove 20s ease-in-out infinite alternate;
}

@keyframes gradientMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Simulated graphical element (Dragon/Galaxy Aura) */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 60%);
    z-index: -2;
    filter: blur(50px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    /* Increased z-index to sit above dragon */
    animation: fadeIn 1.2s ease;
    position: relative;
}

.hero-banner {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #FDE68A, #F59E0B, #FDE68A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-ip-display {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid rgba(250, 204, 21, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.hero-ip-display .divider {
    color: var(--text-muted);
    opacity: 0.5;
}

@media (max-width: 600px) {
    .flying-dragon {
        width: 150px;
        top: 15%;
    }

    .hero-banner {
        max-width: 100%;
    }

    .hero-ip-display {
        flex-direction: column;
        gap: 5px;
    }

    .hero-ip-display .divider {
        display: none;
    }
}

/* About Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Slimefun & Plugins */
.section-dark {
    background: #080b1a;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
}

.plugins-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.plugin-category h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding-bottom: 10px;
}

.plugin-category.full-width {
    grid-column: 1 / -1;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    /* Center tags */
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    color: white;
}

/* Store Section */
.store-intro {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.store-lead {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Tienda: solo nombres de rangos (sin perks inventados) */
.store-ranks-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.store-ranks-section h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
    color: #f0e6ff;
    letter-spacing: 0.04em;
}

.store-ranks-section .store-ranks-lead {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0 auto 1.75rem;
    line-height: 1.55;
}

.store-rank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.store-rank-tile {
    font-family: var(--font-heading);
    text-align: center;
    padding: 1rem 0.75rem;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.18), rgba(18, 15, 28, 0.95));
    border: 1px solid rgba(201, 162, 39, 0.25);
    color: #f5ecd8;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}

.store-rank-tile--apex {
    border-color: rgba(250, 204, 21, 0.45);
    background: linear-gradient(160deg, rgba(201, 162, 39, 0.15), rgba(124, 58, 237, 0.2));
}

.store-ranks-cta {
    text-align: center;
    margin-top: 0.5rem;
}

.store-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-body);
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #000;
    box-shadow: 0 0 15px var(--secondary-glow);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.store-card {
    background: var(--bg-card);
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease;
}

.store-card.featured {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.1);
    transform: scale(1.05);
}

.card-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.rank-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.rank-badge.monthly {
    background: #10B981;
    color: white;
}

.rank-badge.permanent {
    background: var(--primary);
    color: white;
}

.rank-badge.money {
    background: var(--secondary);
    color: black;
}

.store-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.store-card-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    min-height: 3.2em;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.price span {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.money-amount {
    font-size: 1.5rem;
    color: var(--secondary);
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
}

.benefits-list {
    margin-bottom: 20px;
    flex-grow: 1;
}

.benefits-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.benefits-list li strong {
    color: var(--text-main);
}

.benefits-list code,
.store-intro code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 0.88em;
    padding: 1px 6px;
}

.benefits-list li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 5px;
}

.benefits-list li.note {
    font-size: 0.8rem;
    font-style: italic;
    color: #ef4444;
}

.btn-store {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    color: #000;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-store:hover {
    background: var(--secondary);
}

.store-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 40px;
}

/* Join Section */
.join-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.join-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.join-steps {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
    color: var(--text-muted);
}

.join-steps li {
    margin-bottom: 10px;
    list-style: decimal;
}

/* Community & Preview (UPDATED FOR VERTICAL IMAGES) */
.community-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* More space for images */
    gap: 50px;
    align-items: center;
}

.discord-previews {
    display: flex;
    justify-content: center;
    gap: 20px;
    height: auto;
    position: static;
    /* Removed absolute positioning */
    padding: 20px 0;
}

.discord-img {
    position: relative;
    width: 45%;
    /* Side by side */
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(88, 101, 242, 0.3);
    transition: 0.3s;
    object-fit: cover;
}

.discord-img:hover {
    transform: translateY(-10px);
    border-color: var(--discord);
    z-index: 10;
}

.discord-img.offset {
    margin-top: 50px;
    /* Stagger effect */
    right: auto;
    bottom: auto;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    text-align: left;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-question .icon {
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.25s ease;
    color: var(--secondary);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background: #020308;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #1f2937;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.visitor-stats {
    margin: 1rem auto 1.4rem;
    max-width: 540px;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 16, 35, 0.6);
    text-align: left;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.visitor-stats__title {
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--secondary);
}

.visitor-stats__line {
    margin: 0.2rem 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.visitor-stats__line strong {
    color: var(--text-main);
}

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

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

.footer-votes {
    display: flex;
    gap: 15px;
    align-items: center;
    border-left: 1px solid #333;
    padding-left: 20px;
}

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

.copyright,
.disclaimer {
    font-size: 0.8rem;
    color: #4B5563;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        flex-direction: column;
        background: rgba(5, 8, 22, 0.98);
        width: 100%;
        padding: 40px;
        border-bottom: 1px solid var(--primary);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .discord-live-panel__metrics {
        grid-template-columns: 1fr;
    }

    .discord-channels-list {
        grid-template-columns: 1fr;
    }

    .community-layout {
        grid-template-columns: 1fr;
    }

    .discord-previews {
        flex-direction: row;
        /* Keep side by side on mobile if possible, or stack */
        height: auto;
        margin-top: 30px;
    }

    .discord-img {
        width: 45%;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .visitor-stats {
        text-align: center;
    }

    .footer-votes {
        border-left: none;
        padding-left: 0;
    }
}

/* =========================================
   NEXT LEVEL VISUALS (Added)
   ========================================= */

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Micro-interactions */
.btn-primary,
.btn-secondary,
.btn-discord,
.btn-store,
.nav-link,
.store-card,
.feature-card,
.discord-img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:active,
.btn-secondary:active,
.btn-discord:active,
.btn-store:active {
    transform: scale(0.97) !important;
}

/* Hero Shine (páginas con .hero-title clásico, p. ej. tienda) */
@keyframes shine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.hero .hero-title {
    background: linear-gradient(to right, #FDE68A 20%, #FFF 40%, #F59E0B 60%, #FDE68A 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

/* Sound Toggle */
.sound-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--primary);
    color: var(--secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    backdrop-filter: blur(5px);
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.sound-toggle-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.sound-toggle-btn.muted {
    opacity: 0.5;
    filter: grayscale(1);
}

/* Store 3.0 */
.page-hero {
    position: relative;
    padding: 7.8rem 0 4rem;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 3, 14, 0.96), rgba(5, 3, 14, 0.8) 48%, rgba(5, 3, 14, 0.96)),
        linear-gradient(180deg, rgba(5, 3, 14, 0.35), rgba(5, 3, 14, 0.95)),
        url('assets/portal-background-v1.png') center / cover no-repeat;
}

.store-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.store-hero .site-hero__title {
    font-size: clamp(3rem, 6vw, 5.1rem);
    line-height: 1.05;
}

.store-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.store-console {
    padding: 1.35rem;
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(18, 10, 42, 0.86), rgba(3, 7, 18, 0.9));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
}

.store-console__label {
    display: block;
    color: #a5f3fc;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.store-console > strong {
    display: block;
    margin: 0.65rem 0;
    color: #fff;
    font-size: 1.7rem;
    font-family: var(--font-heading);
}

.store-console p {
    color: var(--text-muted);
}

.store-console__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin-top: 1rem;
}

.store-console__stats div,
.quote-total,
.quote-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
}

.store-console__stats div {
    padding: 0.7rem;
}

.store-console__stats span,
.quote-total span {
    display: block;
    color: var(--text-muted);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.store-console__stats strong {
    display: block;
    margin-top: 0.25rem;
    color: #fff;
    font-size: 0.9rem;
}

.store-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 1.5rem;
    align-items: start;
}

.store-board,
.quote-panel__sticky {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(18, 10, 42, 0.68), rgba(3, 7, 18, 0.86));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
}

.store-board {
    padding: 1.25rem;
}

.store-board__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.store-board__head h2,
.quote-panel h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.7rem;
}

.store-board__head p,
.quote-panel__desc {
    color: var(--text-muted);
}

.store-sync {
    flex: 0 0 auto;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    color: #a5f3fc;
    font-size: 0.8rem;
}

.store-tabs--dynamic {
    justify-content: flex-start;
    margin: 1rem 0 1.3rem;
}

.store-tabs--dynamic .tab-btn {
    display: grid;
    gap: 0.2rem;
    text-align: left;
    min-width: 150px;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

.store-tabs--dynamic .tab-btn.active,
.store-tabs--dynamic .tab-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #000;
}

.store-tabs--dynamic .tab-btn small {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
    line-height: 1.2;
    transition: color 0.3s;
}

.store-tabs--dynamic .tab-btn.active small,
.store-tabs--dynamic .tab-btn:hover small {
    color: rgba(0, 0, 0, 0.65);
}

.store-grid--dynamic {
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    align-items: stretch;
}

.store-loading-card {
    grid-column: 1 / -1;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-muted);
}

.store-card--modern {
    position: relative;
    overflow: hidden;
    max-width: none;
}

.store-card--modern::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background: radial-gradient(circle at top right, var(--accent, #8b5cf6), transparent 45%);
    pointer-events: none;
}

.store-card--modern > * {
    position: relative;
}

.store-card--modern.accent-gold { --accent: #facc15; }
.store-card--modern.accent-violet { --accent: #8b5cf6; }
.store-card--modern.accent-cyan { --accent: #22d3ee; }
.store-card--modern.accent-ember { --accent: #f97316; }
.store-card--modern.accent-pink { --accent: #ec4899; }
.store-card--modern.accent-rose { --accent: #fb7185; }
.store-card--modern.accent-bronze { --accent: #b45309; }

.btn-store.selected {
    background: var(--secondary);
    color: #100a18;
}

.quote-panel__sticky {
    position: sticky;
    top: 92px;
    padding: 1.25rem;
}

.quote-panel__eyebrow {
    color: #a5f3fc;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.quote-items {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0;
    color: var(--text-muted);
}

.quote-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.55rem;
    align-items: center;
    padding: 0.7rem;
}

.quote-item span {
    color: #fff;
    font-weight: 700;
}

.quote-item strong {
    color: var(--secondary);
    font-size: 0.82rem;
}

.quote-item button {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
    cursor: pointer;
}

.quote-total {
    padding: 0.85rem;
    margin-bottom: 1rem;
}

.quote-total strong {
    display: block;
    margin-top: 0.2rem;
    color: #fff;
    font-size: 1.2rem;
}

.quote-form {
    display: grid;
    gap: 0.8rem;
}

.quote-form label {
    display: grid;
    gap: 0.35rem;
    color: #c4b5fd;
    font-size: 0.82rem;
    font-weight: 700;
}

.quote-form input,
.quote-form textarea,
.quote-result textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 0.75rem;
    font: inherit;
}

.quote-honeypot {
    display: none !important;
}

.quote-result {
    margin-top: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.08);
}

.quote-result strong,
.quote-result .btn-discord {
    display: block;
    margin-bottom: 0.75rem;
}

.store-policy .prose-card {
    min-height: 180px;
}

@media (max-width: 980px) {
    .store-hero__grid,
    .store-shell {
        grid-template-columns: 1fr;
    }

    .quote-panel__sticky {
        position: static;
    }
}

@media (max-width: 560px) {
    .store-console__stats {
        grid-template-columns: 1fr;
    }

    .store-board__head {
        display: block;
    }

    .store-sync {
        display: inline-block;
        margin-top: 0.8rem;
    }
}

/* Reduced Motion Override for new elements */
@media (prefers-reduced-motion: reduce) {

    .gradient-layer,
    .hero .hero-title {
        animation: none !important;
    }

    .reveal-on-scroll {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    #particles-canvas {
        display: none;
    }
}

/* Disabled Button */
.btn-disabled {
    background: #4b5563 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    pointer-events: none;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Portal 2.0 */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 2000;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, #7c3aed, #facc15, #22d3ee);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.8);
}

.nebula {
    position: absolute;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.14;
    animation: nebulaDrift 18s ease-in-out infinite alternate;
}

.nebula-a {
    top: -20%;
    right: -12%;
    background: #7c3aed;
}

.nebula-b {
    left: -22%;
    top: 38%;
    background: #0891b2;
    animation-delay: -8s;
}

@keyframes nebulaDrift {
    to { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
}

.site-hero {
    min-height: 100vh;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(5, 3, 14, 0.96), rgba(5, 3, 14, 0.8) 48%, rgba(5, 3, 14, 0.96)),
        linear-gradient(180deg, rgba(5, 3, 14, 0.35), rgba(5, 3, 14, 0.95)),
        url('assets/portal-background-v1.png') center / cover no-repeat;
    padding-top: 9rem;
}

.site-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 55%, var(--bg-dark));
}

.portal-hero {
    width: min(1120px, calc(100% - 40px));
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    text-align: left;
    padding: 0;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero-kicker {
    color: #a5f3fc;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 800;
}

.portal-hero .site-hero__title {
    font-size: clamp(3.4rem, 7vw, 5.8rem);
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0.25rem 0 1.2rem;
    filter: drop-shadow(0 0 28px rgba(250, 204, 21, 0.22));
}

.portal-hero .site-hero__tagline {
    max-width: 660px;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 600;
}

.portal-hero .site-hero__actions {
    justify-content: flex-start;
}

.live-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.hero-dragon {
    position: absolute;
    z-index: 0;
    left: max(-120px, -8vw);
    bottom: -10vh;
    width: min(38vw, 520px);
    opacity: 0.18;
    filter: drop-shadow(0 0 35px rgba(124, 58, 237, 0.5));
    pointer-events: none;
    transition: transform 0.1s linear;
    animation: dragonBreathe 7s ease-in-out infinite;
}

@keyframes dragonBreathe {
    50% { opacity: 0.32; filter: drop-shadow(0 0 65px rgba(250, 204, 21, 0.36)); }
}

.command-deck {
    position: relative;
    z-index: 3;
    padding: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(250, 204, 21, 0.24);
    border-radius: 28px;
    background: linear-gradient(155deg, rgba(19, 12, 42, 0.88), rgba(3, 7, 18, 0.88));
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    transition: transform 0.25s ease;
}

.command-deck::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 90deg, transparent, rgba(124, 58, 237, 0.12), transparent, rgba(250, 204, 21, 0.1), transparent);
    animation: deckRotate 16s linear infinite;
}

@keyframes deckRotate { to { transform: rotate(360deg); } }

.command-deck > * { position: relative; z-index: 1; }

.command-deck__head, .member-radar__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #c4b5fd;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.deck-signal { color: #4ade80; }

.command-deck__logo {
    display: grid;
    place-items: center;
    min-height: 230px;
}

.command-deck__logo > * { grid-area: 1 / 1; }
.command-deck__logo img { width: 170px; filter: drop-shadow(0 0 28px rgba(250, 204, 21, 0.4)); }

.portal-ring {
    width: 220px;
    aspect-ratio: 1;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 50%;
    box-shadow: inset 0 0 35px rgba(124, 58, 237, 0.28), 0 0 35px rgba(34, 211, 238, 0.1);
    animation: portalRing 8s linear infinite;
}

.portal-ring::before, .portal-ring::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 2px dashed rgba(250, 204, 21, 0.35);
    border-radius: inherit;
}

.portal-ring::after { inset: 42px; border-color: rgba(124, 58, 237, 0.5); animation: portalRing 4s linear reverse infinite; }
@keyframes portalRing { to { transform: rotate(360deg); } }

.deck-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}

.deck-grid div {
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}

.deck-grid span, .deck-grid strong { display: block; }
.deck-grid span { color: var(--text-muted); font-size: 0.65rem; text-transform: uppercase; }
.deck-grid strong {
    color: #fff;
    margin-top: 0.25rem;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.deck-bar { height: 3px; margin-top: 1rem; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.deck-bar span { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, transparent, #22d3ee, #facc15, transparent); animation: deckScan 2.4s linear infinite; }
@keyframes deckScan { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

.connect-card, .prose-card, .discord-live-panel, .discord-widget-wrap {
    backdrop-filter: blur(18px);
}

.connect-card:hover, .prose-card:hover {
    transform: translateY(-7px);
    border-color: rgba(250, 204, 21, 0.32);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.member-radar {
    min-height: 100%;
    display: block;
    background: radial-gradient(circle at 50% 40%, rgba(88, 101, 242, 0.18), rgba(0, 0, 0, 0.32));
}

.member-radar__head { margin: 0.4rem 0.4rem 1rem; }
.radar-sweep { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 14px #22c55e; }

.discord-members {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.member-chip {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    text-align: left;
}

.member-chip span:last-child { min-width: 0; }
.member-chip strong, .member-chip small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.member-chip strong { font-size: 0.75rem; color: #fff; }
.member-chip small { font-size: 0.62rem; color: var(--text-muted); }
.member-avatar-wrap { position: relative; flex: 0 0 auto; }
.member-avatar-wrap img { width: 34px; height: 34px; border-radius: 50%; }
.member-avatar-wrap i { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border: 2px solid #0b0715; border-radius: 50%; background: #22c55e; }
.member-avatar-wrap i.idle { background: #f59e0b; }
.member-avatar-wrap i.dnd { background: #ef4444; }

@media (max-width: 900px) {
    .portal-hero { grid-template-columns: 1fr; text-align: center; }
    .portal-hero .site-hero__actions { justify-content: center; }
    .hero-dragon { width: 85vw; opacity: 0.1; left: 50%; transform: translateX(-50%); }
    .command-deck { max-width: 540px; margin: 0 auto; }
}

@media (max-width: 520px) {
    .portal-hero .site-hero__title { font-size: 3.2rem; }
    .command-deck { padding: 0.85rem; border-radius: 20px; }
    .command-deck__logo { min-height: 190px; }
    .portal-ring { width: 180px; }
    .discord-members { grid-template-columns: 1fr; }
}

/* ─── Cards compactas ──────────────────────────────────────────────────── */
.store-grid--dynamic {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    align-items: start;
}

.store-card--compact {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 20px 18px 16px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    max-width: none;
    cursor: default;
}
.store-card--compact:hover {
    border-color: var(--accent, rgba(255,255,255,0.18));
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
    transform: translateY(-2px);
}
.store-card--compact.featured {
    border-color: var(--accent, #facc15);
    box-shadow: 0 0 20px rgba(250,204,21,0.12);
    transform: none;
}
.store-card--compact.featured:hover { transform: translateY(-2px); }
.store-card--compact.is-selected {
    border-color: #10b981;
    box-shadow: 0 0 14px rgba(16,185,129,0.2);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.card-star { color: #facc15; font-size: 1rem; }
.card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.2;
}
.card-summary {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-price {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 4px;
    color: var(--accent, var(--text-main));
}
.card-usd {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 2px;
}
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.btn-detail {
    flex: 1;
    padding: 9px 10px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-detail:hover {
    background: rgba(255,255,255,0.07);
    color: var(--text-main);
    border-color: rgba(255,255,255,0.22);
}
.btn-add {
    width: 38px;
    min-width: 38px;
    padding: 9px 0;
    border-radius: 7px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-add:hover { background: rgba(255,255,255,0.18); }
.btn-add.selected {
    background: #10b981;
    color: #fff;
}

/* ─── Modal ─────────────────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1000;
    backdrop-filter: blur(4px);
}
body.modal-open .modal-overlay { display: block; }

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    width: min(520px, 94vw);
    max-height: 88vh;
    background: #0f0f1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.product-modal[hidden] { display: none; }

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,0.07);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}
.modal-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

.modal-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px 24px;
    overflow-y: auto;
    flex: 1;
}
.modal-header { display: flex; flex-direction: column; gap: 8px; }
.modal-name { font-family: var(--font-heading); font-size: 1.6rem; margin: 0; }
.modal-summary { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.modal-price { font-size: 1.7rem; font-weight: 700; }
.modal-price span { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.modal-benefits { margin: 0; }

/* ─── Body scroll lock ───────────────────────────────────────────────────── */
body.modal-open { overflow: hidden; }

/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .store-grid--dynamic {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .store-card--compact { padding: 14px 12px 12px; }
    .card-name { font-size: 1rem; }
    .card-price { font-size: 1.2rem; }
    .product-modal {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-height: 85vh;
        border-radius: 18px 18px 0 0;
    }
}
