/* RESET E VARIÁVEIS GLOBAIS */
*, *::before, *::after {
    box-sizing: border-box;
}

:root { 
    --color-primary: #F59E0B; /* Gold */
    --color-on-primary: #0F172A; 
    --color-secondary: #FBBF24; 
    --color-accent: #8B5CF6; /* Purple tech */
    --color-background: #030712; /* Quase preto absoluto (Aceternity style) */
    --color-foreground: #F8FAFC; 
    --color-muted: #64748b; 
    --color-border: #1e293b; 
}

body { 
    background: var(--color-background); 
    color: var(--color-foreground); 
    margin: 0; 
    font-family: 'Nunito Sans', sans-serif; 
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-top: 0;
}

a {
    color: var(--color-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* LAYOUT CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER & NAVBAR */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

.logo {
    font-size: 1.5rem;
    color: var(--color-foreground);
}

.logo span {
    color: var(--color-primary);
}

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

/* HERO SECTION */
.hero { 
    padding: 180px 0 100px; 
    text-align: center; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-eyebrow { 
    color: var(--color-accent); 
    font-weight: 700; 
    letter-spacing: 0.1em; 
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 span {
    background: linear-gradient(180deg, var(--color-primary) 0%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-p {
    font-size: 1.25rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.btn-primary, .btn-accent {
    background: #05eb76 !important;
    color: #000000 !important;
    font-weight: 900 !important;

    background: linear-gradient(135deg, var(--color-primary), #d97706);
    color: var(--color-on-primary);
    border: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover, .btn-accent:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: var(--color-on-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-foreground);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
}

.btn-block {
    display: block;
    width: 100%;
}

/* SECTIONS */
.page-section {
    padding: 120px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section-label {
    color: var(--color-accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 60px;
}

/* CARDS & GRIDS */
.features-grid {
    display: grid;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media(min-width: 768px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-grid {
    display: grid;
    gap: 32px;
    margin-top: 60px;
}

@media(min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: center;}
}

/* COMPONENT SPOTLIGHT (Framer Motion style) */
.spotlight-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: left;
}

/* Efeito Glow Mouse */
.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(245, 158, 11, 0.06), transparent 40%);
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-foreground);
}

.spotlight-card p {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* PRICE CARDS */
.price-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.05);
    padding: 50px 40px;
}

.price-tag {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

.price-amount {
    font-size: 3.5rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
}

.price-amount small {
    font-size: 1.25rem;
    color: var(--color-muted);
}

.price-desc {
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.price-features {
    margin-bottom: 3rem;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 12px;
    color: var(--color-foreground);
    display: flex;
    align-items: center;
}

.price-features li::before {
    content: '✓';
    color: var(--color-primary);
    margin-right: 12px;
    font-weight: bold;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0;
}

.faq-item summary {
    font-size: 1.25rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    margin-top: 16px;
    color: var(--color-muted);
    line-height: 1.7;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--color-border);
    padding: 80px 0 40px;
    background: #02040a;
}

.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    margin-bottom: 60px;
}

@media(max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-grid h4 {
    color: var(--color-foreground);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-grid ul li {
    margin-bottom: 12px;
}

.footer-grid ul li a {
    color: var(--color-muted);
}

.footer-grid ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.server-status {
    color: #10b981;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

/* HORIZONTAL SCROLL GALLERY (PRIZES) */
.prizes-scroll-section {
    height: 180vh; /* Reduzido para evitar espaço enorme e agilizar scroll */
    position: relative;
    background: #000;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
}

/* LIVE PURCHASE TICKER */
.live-purchase-ticker {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(50px);
}

.ticker-icon {
    background: var(--color-primary);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.ticker-content {
    font-size: 0.9rem;
    line-height: 1.4;
}

.ticker-content strong {
    color: #fff;
}

.ticker-content span {
    color: var(--color-primary);
    font-weight: 500;
}

@media(max-width: 768px) {
    .live-purchase-ticker {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
}

.sticky-header {
    text-align: center;
    width: 100%;
    z-index: 10;
    padding: 0 20px;
    margin-bottom: 5vh;
}

.horizontal-scroll-track {
    display: flex;
    gap: 30px;
    padding: 0 15vw 0 10vw; /* Padding lateral menor */
    width: max-content;
    will-change: transform;
}

.prize-showcase-card {
    width: 85vw; /* Responsivo para mobile */
    max-width: 400px;
    height: 60vh;
    max-height: 550px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.prize-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prize-showcase-card:hover img {
    transform: scale(1.05);
}

.prize-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: white;
    transform: translateZ(50px);
}

.prize-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    font-family: 'Rubik', sans-serif;
}

.prize-info p {
    color: var(--color-primary);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

/* BACKGROUND EFFECTS (Applied globally) */
.bg-grid { 
    position: fixed; inset: 0; z-index: -2; 
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0); 
    background-size: 48px 48px; 
}
.bg-glow { 
    position: fixed; top: -20%; right: -10%; 
    width: 80vw; height: 80vw; max-width: 800px; max-height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), rgba(245, 158, 11, 0.05), transparent 70%);
    filter: blur(100px); border-radius: 50%; z-index: -1; 
    pointer-events: none;
}

/* FORMS (criar-rifa, painel, etc) */
.form-group { margin-bottom: 20px; text-align: left; }
label { display: block; margin-bottom: 8px; font-size: 0.85rem; color: var(--color-muted); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.05em; }
input, textarea, select { 
    width: 100%; padding: 16px; 
    background: rgba(15, 23, 42, 0.4); 
    border: 1px solid var(--color-border); 
    border-radius: 12px; 
    color: var(--color-foreground); 
    font-family: inherit; 
    transition: all 0.3s ease;
}
input:focus, textarea:focus, select:focus { 
    outline: none; 
    border-color: var(--color-accent); 
    background: rgba(139, 92, 246, 0.05); 
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}
.form-container { 
    max-width: 600px; 
    margin: 40px auto; 
    padding: 40px; 
    background: rgba(15, 23, 42, 0.6); 
    border: 1px solid var(--color-border); 
    border-radius: 24px; 
    backdrop-filter: blur(20px); 
}
.page-header {
    padding: 60px 0 20px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   PREMIUM BENTO BOX & GLASSMORPHISM (NEW UI)
   ═══════════════════════════════════════════════════════════════════════ */

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

/* Glass & Bento Cards */
.bento-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--color-foreground);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="light"] .bento-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 23, 42, 0.6);
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px -10px var(--color-primary);
}

[data-theme="light"] .bento-card:hover {
    background: rgba(255, 255, 255, 0.9);
}

.bento-card .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

[data-theme="light"] .bento-card .icon-wrapper {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-card:hover .icon-wrapper {
    background: var(--color-primary);
    color: var(--color-on-primary);
    transform: scale(1.1) rotate(5deg);
}

.bento-card h3 {
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
}

/* User Banner Premium */
.glass-panel {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Subtle glow inside the banner */
.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
}

.glass-panel .avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    padding: 3px;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.glass-panel .user-info {
    position: relative;
    z-index: 2;
}

.glass-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
    color: var(--color-foreground);
}

.glass-panel p {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.glass-panel .badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-foreground);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-theme="light"] .badge-premium {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.badge-premium.highlight {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border-color: var(--color-primary);
}

/* Glass Table (Extrato) */
.glass-table-wrap {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="light"] .glass-table-wrap {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
}

.glass-table th {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 20px;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

[data-theme="light"] .glass-table th {
    background: rgba(0, 0, 0, 0.03);
}

.glass-table td {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-foreground);
    vertical-align: middle;
}

[data-theme="light"] .glass-table td {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .glass-table tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

/* Mobile Responsiveness for Panel */
@media(max-width: 768px) {
    .glass-panel {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .bento-card {
        padding: 16px;
    }
    .bento-card .icon-wrapper {
        width: 48px;
        height: 48px;
    }
    .glass-table-wrap {
        overflow-x: auto;
    }
}

