/* ===== RESET & TOKENS ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #cc0000;
    --orange-l: #ff2222;
    --teal: #0d9488;
    --teal-l: #14b8a6;
    --bg-900: #0a0c0e;
    --bg-800: #10141a;
    --bg-700: #161d26;
    --bg-600: #1e2a36;
    --bg-550: #243140;
    --border: rgba(255, 255, 255, 0.07);
    --text: #e2e8f0;
    --text-muted: #8aa0b5;
    --gold: #f59e0b;
    --gold-l: #fcd34d;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.7);
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-900);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 3px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 14, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 12, 14, 0.97);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--orange);
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-steam {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #fff;
    border: 1px solid rgba(102, 192, 244, 0.3);
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-steam:hover {
    background: linear-gradient(135deg, #2a475e, #1b2838);
    border-color: rgba(102, 192, 244, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 192, 244, 0.2);
}

.steam-icon {
    width: 18px;
    height: 18px;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-700);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px 14px 5px 5px;
    animation: slideIn 0.3s ease;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-username {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.coin-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
}

/* Garante renderização correta de emoji em qualquer sistema */
.coin-badge-icon,
.feature-icon,
.package-icon,
.discord-logo,
.alert-icon,
.hero-cta span,
.stat-num,
.bal-coin {
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Noto Emoji', sans-serif;
    font-style: normal;
}

.btn-logout-small {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 4px;
    transition: color 0.2s;
}

.btn-logout-small:hover {
    color: #ef4444;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 68px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 0, 0, 0.534) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgb(0, 0, 0) 0%, transparent 50%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><path d="M0 30h60M30 0v60" stroke="rgba(255,255,255,0.025)" stroke-width="1"/></svg>');
    background-size: 60px 60px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, var(--bg-900) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(204, 0, 0, 0.8);
    animation: floatUp linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-10vh);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    color: var(--teal-l);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    animation: fadeDown 0.8s ease both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 6px #22c55e;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    animation: fadeDown 0.8s 0.15s ease both;
}

.hero-accent {
    color: var(--orange);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    animation: fadeDown 0.8s 0.25s ease both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeDown 0.8s 0.35s ease both;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange), var(--orange-l));
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(204, 0, 0, 0.5);
}

.btn-ghost {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    animation: fadeUp 0.8s 0.45s ease both;
}

.hero-stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--orange);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-stat-sep {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounceFade 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--orange), transparent);
}

@keyframes bounceFade {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(5px);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(204, 0, 0, 0.25);
    color: var(--orange-l);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.highlight {
    color: var(--orange);
}

.section-desc {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* ===== STORE ===== */
.store-alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(207, 7, 7, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.alert-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.alert-body {
    flex: 1;
}

.alert-body strong {
    display: block;
    margin-bottom: 0.25rem;
}

.alert-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-steam-sm {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #fff;
    border: 1px solid rgba(102, 192, 244, 0.3);
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-steam-sm:hover {
    transform: translateY(-1px);
}

.balance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--bg-700);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    animation: slideIn 0.4s ease;
}

.balance-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.balance-name {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
}

.balance-steamid {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.balance-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.balance-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bal-coin {
    font-size: 1.5rem;
}

.bal-number {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.btn-refresh-bal {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-refresh-bal:hover {
    transform: rotate(180deg);
    background: rgba(245, 158, 11, 0.2);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.package-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-700);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    border-color: rgba(204, 0, 0, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.package-card.featured {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(160deg, var(--bg-700), rgba(245, 158, 11, 0.05));
}

.package-card.featured:hover {
    border-color: var(--gold);
}

.package-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(ellipse at center, rgba(204, 0, 0, 0.1), transparent 70%);
    transition: opacity 0.4s;
    pointer-events: none;
}

.package-card:hover .package-glow {
    opacity: 1;
}

.package-ribbon {
    position: absolute;
    top: 16px;
    right: -28px;
    background: var(--orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 40px;
    transform: rotate(35deg);
    white-space: nowrap;
}

.package-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.package-icon {
    font-size: 2.5rem;
}

.package-badge {
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid rgba(204, 0, 0, 0.3);
    color: var(--orange-l);
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.package-badge.best {
    background: rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.3);
    color: var(--teal-l);
}

.package-badge.gold {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--gold-l);
}

.package-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.package-coins {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.coins-amount {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

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

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-save {
    font-size: 0.7rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
    border-radius: 50px;
    padding: 2px 8px;
    font-weight: 600;
}

.package-perks {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.package-perks li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
}

.btn-buy {
    width: 100%;
    padding: 13px;
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid rgba(204, 0, 0, 0.4);
    color: var(--orange-l);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: var(--transition);
}

.btn-buy:hover {
    background: linear-gradient(135deg, var(--orange), var(--orange-l));
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4);
}

.btn-buy-featured {
    background: linear-gradient(135deg, var(--orange), var(--orange-l));
    border: none;
    color: #fff;
}

.btn-buy-featured:hover {
    background: linear-gradient(135deg, var(--orange-l), var(--orange));
    color: #fff;
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.5);
}

.store-info-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-700);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

/* ===== FEATURES ===== */
.features-section {
    background: var(--bg-800);
}

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

.feature-card {
    background: var(--bg-700);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(204, 0, 0, 0.35);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

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

/* ===== CONNECT ===== */
.connect-section {
    background: var(--bg-900);
}

.connect-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
    flex-shrink: 0;
    width: 50px;
}

.step-body h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.server-ip-box {
    background: var(--bg-700);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.ip-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.ip-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ip-value span {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--orange-l);
    font-weight: 600;
}

.btn-copy {
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid rgba(204, 0, 0, 0.3);
    color: var(--orange-l);
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-copy:hover,
.btn-copy.copied {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.discord-card {
    background: linear-gradient(160deg, #5865F2, #4752c4);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 40px rgba(88, 101, 242, 0.3);
}

.discord-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.discord-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.discord-card p {
    font-size: 0.875rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.btn-discord {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.btn-discord:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.discord-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.discord-stats div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.discord-stats strong {
    font-family: var(--font-head);
    font-size: 1.5rem;
}

.discord-stats span {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-800);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-col h5 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.footer-links-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    margin-top: 0.5rem;
    opacity: 0.6;
    font-size: 0.75rem;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    background: var(--bg-700);
    border: 1px solid rgba(204, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    z-index: 2001;
    width: min(480px, 90vw);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.modal.open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.modal-details {
    background: var(--bg-600);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.modal-details-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
}

.modal-details-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.modal-details-row .label {
    color: var(--text-muted);
}

.modal-details-row .value {
    font-weight: 600;
}

.modal-details-row .value.gold {
    color: var(--gold);
}

.modal-notice {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: left;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.btn-ghost-modal {
    flex: 1;
    padding: 12px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost-modal:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.btn-confirm {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange-l));
    border: none;
    color: #fff;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.4);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    background: var(--bg-600);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    max-width: 340px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left: 3px solid #22c55e;
}

.toast.error {
    border-left: 3px solid #ef4444;
}

.toast.info {
    border-left: 3px solid var(--teal);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

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

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .connect-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--bg-900);
        flex-direction: column;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        gap: 8px;
    }

    .hero-stats {
        gap: 1rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .store-alert {
        flex-direction: column;
        text-align: center;
    }

    .balance-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }

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

    .modal-actions {
        flex-direction: column;
    }
}