/* ═══════════════════════════════════════════
   MUNDO VENECO — STYLES
   ═══════════════════════════════════════════ */

:root {
    --bg: #0a0a0a;
    --accent-1: #ff4b5c;
    --accent-2: #d53f8c;
    --text: #fff;
    --text-muted: rgba(255,255,255,0.5);
    --text-dim: rgba(255,255,255,0.3);
    --glass: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.08);
    --glass-hover: rgba(255,255,255,0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
button { -webkit-appearance: none; -moz-appearance: none; appearance: none; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

code {
    background: rgba(255,75,92,0.15);
    color: #ff8a9b;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.82em;
    font-family: inherit;
}

/* ── BACKGROUND ── */
.bg-fixed {
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.78)), url('/fondo.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s;
}

.nav.scrolled {
    background: rgba(0,0,0,0.85);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.1rem;
}

.nav-brand img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 8px rgba(255,75,92,0.4));
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-btn {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.4);
    background: var(--glass-hover);
    transform: translateY(-1px);
}

.nav-btn.discord:hover {
    border-color: #5865F2;
    color: #5865F2;
    background: rgba(88,101,242,0.15);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    gap: 14px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 30px rgba(255,75,92,0.5));
    margin-bottom: 8px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
}

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

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.6;
}

.voice-badge {
    background: rgba(0,255,127,0.1);
    color: #00ff7f;
    border: 1px solid rgba(0,255,127,0.35);
    padding: 8px 22px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(0,255,127,0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0,255,127,0.1); }
    50% { box-shadow: 0 0 30px rgba(0,255,127,0.25); }
}

.voice-badge iconify-icon { font-size: 1.2rem; }

.ip-box {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 25px rgba(213,63,140,0.35);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: var(--text);
}

.ip-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(213,63,140,0.5);
    border-color: rgba(255,255,255,0.3);
}

.ip-box.copied {
    background: #22c55e !important;
    animation: pop 0.2s ease;
}

@keyframes pop { 50% { transform: scale(0.92); } }

.ip-box iconify-icon { font-size: 1.1rem; }

.hero-info {
    font-size: 0.85rem;
    color: var(--text-dim);
}
.hero-info strong { color: rgba(255,255,255,0.7); }

.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.tag {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* ── STATS BAR ── */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 20px;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.stat iconify-icon { font-size: 1.4rem; }

/* ── SECTIONS ── */
section {
    padding: 80px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 580px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* ── FEATURES ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.feature-icon { margin-bottom: 14px; }
.feature-icon iconify-icon { font-size: 44px; }

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

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

/* ── EVENTS ── */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.event-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.event-nether::before { background: linear-gradient(90deg, #ff6b35, #ff4500); }
.event-harvest::before { background: linear-gradient(90deg, #22c55e, #16a34a); }
.event-hunt::before { background: linear-gradient(90deg, #ef4444, #dc2626); }
.event-mine::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.event-fish::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.event-black::before { background: linear-gradient(90deg, #a855f7, #9333ea); }

.event-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.15);
}

.event-icon { margin-bottom: 10px; }
.event-icon iconify-icon { font-size: 36px; }

.event-week {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.event-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.event-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.events-note {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ── RANKS ZONE (dark overlay on scroll) ── */
.ranks-zone {
    position: relative;
    margin: 0;
}

.ranks-zone-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: 0;
}

.ranks-zone.active .ranks-zone-overlay {
    opacity: 1;
}

.ranks-section {
    position: relative;
    z-index: 1;
}

/* ── RANKS GRID ── */
.ranks-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.rank-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.rank-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.rank-badge {
    width: 64px;
    height: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    margin-bottom: 4px;
    transition: transform 0.3s;
}

.rank-card:hover .rank-badge {
    transform: scale(1.12);
}

.rank-featured {
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.08);
}

.rank-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.rank-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.3;
}

.rank-price-tag {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
}

.rank-more-btn {
    margin-top: 10px;
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}

.rank-more-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.rank-more-vip:hover { border-color: #fbbf24; color: #fbbf24; }
.rank-more-heroe:hover { border-color: #c084fc; color: #c084fc; }
.rank-more-titan:hover { border-color: #4ade80; color: #4ade80; }
.rank-more-titanplus:hover { border-color: #60a5fa; color: #60a5fa; }

.ranks-payment-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    margin-top: 8px;
}

/* ── STORE TEASER ── */
.store-teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.store-teaser-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
    transition: all 0.3s;
}

.store-teaser-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.store-teaser-icon {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    margin-bottom: 12px;
}

.store-teaser-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.store-teaser-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.store-teaser-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #55ff55;
}

.store-teaser-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}

.store-teaser-btn:hover {
    background: rgba(255, 75, 92, 0.15);
    border-color: rgba(255, 75, 92, 0.4);
    color: #ff8a9b;
    transform: translateY(-1px);
}

.store-teaser-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── USDT Rate ── */
.usdt-rate-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.usdt-rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.usdt-rate-badge strong {
    font-weight: 700;
}

.rank-price-bs {
    font-size: 0.72rem;
    color: rgba(34, 197, 94, 0.7);
    font-weight: 500;
}

.bs-conversion {
    color: #4ade80;
    font-size: 0.85em;
    font-weight: 600;
}

.ranks-cta { text-align: center; }

.ranks-cta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.ranks-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    color: var(--text);
}

.btn-primary {
    background: #5865F2;
}

.btn-primary:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88,101,242,0.4);
}

.btn-secondary {
    background: #25D366;
}

.btn-secondary:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}

.btn-primary iconify-icon,
.btn-secondary iconify-icon { font-size: 1.2rem; }

/* ── HOW TO JOIN ── */
.steps {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    padding: 28px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.15);
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.step-icon { margin-bottom: 10px; }
.step-icon iconify-icon { font-size: 40px; }

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

/* ── COMMUNITY ── */
#comunidad { text-align: center; }

.community-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.community-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    min-width: 280px;
}

.community-btn div { text-align: left; }

.community-btn strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.community-btn span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.community-btn iconify-icon { font-size: 2.4rem; }

.discord-btn {
    background: rgba(88,101,242,0.15);
    border: 1px solid rgba(88,101,242,0.3);
}

.discord-btn:hover {
    background: rgba(88,101,242,0.25);
    border-color: #5865F2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88,101,242,0.2);
}

.whatsapp-btn {
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.3);
}

.whatsapp-btn:hover {
    background: rgba(37,211,102,0.2);
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.2);
}

/* ── SUBPAGES ── */
.page-header {
    padding: 120px 20px 40px;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-header h1 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-header-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 550px;
    margin: 0 auto 16px;
}

.store-page-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 40px;
}

.store-payment-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* ── RANKS PAGE ── */
.ranks-page-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.ranks-page-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rank-page-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.rank-page-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--rank-color, rgba(255, 255, 255, 0.2));
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.rank-page-badge {
    width: 64px;
    height: auto;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.rank-page-info { flex: 1; }

.rank-page-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.rank-page-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
}

.rank-page-price {
    font-size: 1rem;
    font-weight: 700;
}

.rank-page-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ── FOOTER ── */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer p + p { margin-top: 6px; }

.footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover { color: var(--accent-1); }

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── MOBILE MENU ── */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .ranks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .rank-badge { width: 52px; }
}

@media (max-width: 768px) {
    .nav { padding: 12px 16px; }
    .mobile-menu-btn { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 16px;
        gap: 8px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open { display: flex; }
    .nav-btn { text-align: center; justify-content: center; }

    .hero h1 { font-size: 2.2rem; }
    .hero-logo { width: 90px; height: 90px; }
    .hero-sub { font-size: 0.95rem; }
    .ip-box { font-size: 1rem; padding: 12px 24px; }

    .stats-bar { gap: 20px; padding: 24px 16px; }
    .stat { font-size: 0.8rem; }

    .features-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .ranks-grid { grid-template-columns: repeat(2, 1fr); max-width: 400px; margin: 0 auto 24px; }
    .rank-badge { width: 44px; }
    .rank-name { font-size: 0.95rem; }
    .rank-more-btn { padding: 6px 14px; font-size: 0.72rem; }

    .steps { flex-direction: column; align-items: center; }
    .step { max-width: 340px; }

    .community-btn { min-width: auto; width: 100%; max-width: 340px; }
    .store-teaser-grid { grid-template-columns: repeat(2, 1fr); }

    section { padding: 60px 16px; }
    .section-title { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .stats-bar { flex-direction: column; gap: 12px; align-items: center; }
    .events-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto 30px; }
}
