:root {
    --preto-puro: #000000;
    --cinza-card: #111111;
    --cinza-borda: #1f1f1f;
    --azul-claro: #00d2ff;
    --verde-pix: #00ff88;
    --texto-puro: #ffffff;
    --texto-suave: #a0a0a0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: 0.3s ease;
}

body {
    background-color: var(--preto-puro);
    color: var(--texto-puro);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.97), rgba(0, 0, 0, 0.97)), url("https://i.ibb.co/Ld2Xp4m2/1769400329531.png");
    background-repeat: repeat;
    background-size: 200px;
    background-attachment: fixed;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--cinza-borda);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 800;
}

.logo-bold {
    color: var(--azul-claro);
}

.search-container input {
    width: 100%;
    background: #161618;
    border: 1px solid var(--cinza-borda);
    padding: 10px 15px 10px 40px;
    border-radius: 8px;
    color: white;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--texto-suave);
}

/* ── Botão Entrar com Discord ───────────────────────────── */
.btn-discord-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865F2;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 12px rgba(88, 101, 242, 0.35);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-discord-login:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.5);
}

.discord-logo-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Perfil logado no Navbar ────────────────────────────── */
.user-profile-nav {
    position: relative;
}

.user-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #161618;
    border: 1px solid #2a2a2e;
    padding: 6px 12px 6px 6px;
    border-radius: 50px;
    cursor: pointer;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s;
}

.user-profile-btn:hover {
    border-color: #5865F2;
    background: #1a1a1e;
}

.nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #5865F2;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-username {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-chevron {
    font-size: 0.65rem;
    color: var(--texto-suave);
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.nav-chevron.open {
    transform: rotate(180deg);
}

/* ── Dropdown de perfil ─────────────────────────────────── */
.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: #0f0f12;
    border: 1px solid #2a2a2e;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    animation: dropFade 0.18s ease;
}

.profile-dropdown.open {
    display: block;
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #13131a;
}

.dropdown-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #5865F2;
    object-fit: cover;
    flex-shrink: 0;
}

.dropdown-user-info {
    flex: 1;
    min-width: 0;
}

.dropdown-username {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-email {
    font-size: 0.72rem;
    color: #666;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-divider {
    height: 1px;
    background: #1f1f25;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    color: #c0c0c8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.profile-dropdown-item:hover {
    background: #1a1a22;
    color: #ff5b5b;
}

.profile-dropdown-item i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}
/* ── End Perfil ─────────────────────────────────────────── */

/* ── Badge de Moedas ────────────────────────────────────── */
.coin-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #1c1a0e, #2a2510);
    border: 1px solid #a07800;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #f0c040;
    cursor: default;
    user-select: none;
    transition: box-shadow 0.3s;
}

.coin-icon {
    font-size: 1rem;
    line-height: 1;
}

.coin-count {
    min-width: 14px;
    text-align: center;
    transition: transform 0.2s;
}

/* Animação quando ganha moeda */
.coin-badge.coin-earned {
    animation: coinPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 18px rgba(240, 192, 64, 0.6);
}

@keyframes coinPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Item ativo no dropdown (página atual) */
.profile-dropdown-item--active {
    color: var(--azul-claro) !important;
    background: rgba(0, 210, 255, 0.05);
}

/* ── Página Minhas Compras — Premium ───────────────────── */

/* Hero do perfil */
.pc-hero {
    position: relative;
    background: linear-gradient(160deg, #080810 0%, #0a0a14 50%, #060610 100%);
    border-bottom: 1px solid #1a1a28;
    overflow: hidden;
    padding: 48px 5% 40px;
}

.pc-hero-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(88, 101, 242, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.pc-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.pc-profile-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pc-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.pc-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #5865F2;
    display: block;
    position: relative;
    z-index: 1;
}

.pc-avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(#5865F2, #00d2ff, #00ff88, #5865F2);
    z-index: 0;
    animation: ringRotate 4s linear infinite;
    opacity: 0.5;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.pc-greeting {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pc-username {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.pc-discord-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #5865F2;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 20px;
    padding: 3px 10px;
    font-weight: 600;
}

/* Stats cards */
.pc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pc-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid #1f1f2e;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.pc-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 16px;
}

.pc-stat-card:hover { transform: translateY(-3px); }
.pc-stat-card:hover::before { opacity: 1; }

.pc-stat-purchases { border-color: rgba(0, 210, 255, 0.2); }
.pc-stat-purchases::before { background: radial-gradient(circle at top left, rgba(0,210,255,0.06), transparent 60%); }
.pc-stat-purchases:hover { border-color: #00d2ff; }

.pc-stat-spent { border-color: rgba(0, 255, 136, 0.2); }
.pc-stat-spent::before { background: radial-gradient(circle at top left, rgba(0,255,136,0.06), transparent 60%); }
.pc-stat-spent:hover { border-color: #00ff88; }

.pc-stat-coins { border-color: rgba(240, 192, 64, 0.2); }
.pc-stat-coins::before { background: radial-gradient(circle at top left, rgba(240,192,64,0.06), transparent 60%); }
.pc-stat-coins:hover { border-color: #f0c040; }

.pc-stat-icon {
    font-size: 1.3rem;
    color: #555;
}

.pc-stat-purchases .pc-stat-icon { color: #00d2ff; }
.pc-stat-spent .pc-stat-icon { color: #00ff88; }
.pc-stat-coins .pc-stat-icon { filter: none; }

.pc-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.pc-stat-purchases .pc-stat-value { color: #00d2ff; }
.pc-stat-spent .pc-stat-value { color: #00ff88; }
.pc-stat-coins .pc-stat-value { color: #f0c040; }

.pc-stat-label {
    font-size: 0.72rem;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Main content area */
.pc-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 5% 80px;
}

/* Section header */
.pc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.pc-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pc-section-title i {
    color: var(--azul-claro);
}

.pc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.pc-back-btn:hover { color: var(--azul-claro); }

/* Coins banner */
.pc-coins-banner {
    background: linear-gradient(135deg, #13110a, #1c1806);
    border: 1px solid rgba(240,192,64,0.25);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    box-shadow: 0 0 40px rgba(240,192,64,0.06);
}

.pc-coins-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-coins-emoji {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(240,192,64,0.5));
}

.pc-coins-title {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 4px;
}

.pc-coins-title strong {
    color: #f0c040;
}

.pc-coins-sub {
    font-size: 0.76rem;
    color: #555;
    max-width: 360px;
    line-height: 1.4;
}

.pc-coins-badge-big {
    font-size: 2.4rem;
    font-weight: 900;
    color: #f0c040;
    line-height: 1;
    text-shadow: 0 0 20px rgba(240,192,64,0.4);
    flex-shrink: 0;
}

/* Purchase list */
.pc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pc-purchase-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #0d0d12;
    border: 1px solid #1a1a22;
    border-radius: 14px;
    padding: 16px 20px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    animation: rowSlideIn 0.4s ease both;
}

@keyframes rowSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pc-purchase-row:hover {
    border-color: rgba(0,210,255,0.3);
    background: #10101a;
    transform: translateX(4px);
}

.pc-purchase-num {
    font-size: 0.68rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.05em;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.pc-purchase-check {
    font-size: 1.1rem;
    color: #00ff88;
    flex-shrink: 0;
}

.pc-purchase-details {
    flex: 1;
    min-width: 0;
}

.pc-purchase-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #e4e4e4;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-purchase-meta {
    font-size: 0.73rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pc-purchase-meta i { color: #333; }

.pc-purchase-coin-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f0c040;
    background: rgba(240,192,64,0.08);
    border: 1px solid rgba(240,192,64,0.2);
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.pc-purchase-price {
    font-size: 1rem;
    font-weight: 800;
    color: #00ff88;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
}

/* Summary bar */
.pc-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 28px;
    background: #0a0a0f;
    border: 1px solid #1a1a22;
    border-radius: 14px;
    overflow: hidden;
}

.pc-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 28px;
    flex: 1;
}

.pc-summary-divider {
    width: 1px;
    height: 40px;
    background: #1a1a22;
    flex-shrink: 0;
}

.pc-summary-label {
    font-size: 0.7rem;
    color: #444;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.pc-summary-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

/* Empty state */
.pc-empty {
    position: relative;
    text-align: center;
    padding: 80px 20px 60px;
    overflow: hidden;
}

.pc-empty-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(88,101,242,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.pc-empty-icon {
    width: 80px;
    height: 80px;
    background: #0f0f18;
    border: 1px solid #1f1f30;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 24px;
    position: relative;
}

.pc-empty-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.pc-empty-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 32px;
}

.pc-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00b8d9, #00d2ff);
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,210,255,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pc-shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,210,255,0.35);
}

/* ── Responsive Minhas Compras ── */
@media (max-width: 768px) {
    .pc-hero { padding: 32px 4% 28px; }
    .pc-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .pc-stat-card { padding: 14px; }
    .pc-stat-value { font-size: 1.1rem; }
    .pc-username { font-size: 1.4rem; }
    .pc-avatar { width: 64px; height: 64px; }
    .pc-avatar-ring { inset: -5px; }
    .pc-coins-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .pc-purchase-row { flex-wrap: wrap; gap: 10px; }
    .pc-purchase-num { display: none; }
    .pc-summary { flex-direction: column; gap: 0; }
    .pc-summary-divider { width: 80%; height: 1px; }
}

/* ── End Minhas Compras ─────────────────────────────────── */



.purchases-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.purchases-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.purchases-title i {
    color: var(--azul-claro);
    margin-right: 8px;
}

.purchases-subtitle {
    color: var(--texto-suave);
    font-size: 0.9rem;
}

.purchases-coin-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #1c1a0a, #252010);
    border: 1px solid #a07800;
    border-radius: 16px;
    padding: 18px 22px;
    min-width: 200px;
    box-shadow: 0 0 24px rgba(240, 192, 64, 0.12);
}

.pcc-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.pcc-label {
    font-size: 0.72rem;
    color: #a07800;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pcc-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f0c040;
    line-height: 1.1;
}

.pcc-hint {
    font-size: 0.7rem;
    color: #666;
    margin-top: 2px;
}

/* Lista de compras */
.purchases-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.purchase-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #111114;
    border: 1px solid #1f1f25;
    border-radius: 14px;
    padding: 18px 20px;
    transition: border-color 0.2s;
}

.purchase-card:hover {
    border-color: var(--azul-claro);
}

.purchase-icon {
    font-size: 1.4rem;
    color: var(--verde-pix);
    flex-shrink: 0;
}

.purchase-info {
    flex: 1;
    min-width: 0;
}

.purchase-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e8e8e8;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.purchase-date {
    font-size: 0.78rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

.purchase-right {
    text-align: right;
    flex-shrink: 0;
}

.purchase-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--verde-pix);
}

.purchase-coins {
    font-size: 0.8rem;
    color: #f0c040;
    margin-top: 2px;
}

/* Estado vazio */
.purchases-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--texto-suave);
}

.purchases-empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.purchases-empty h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
}

/* Resumo final */
.purchases-summary {
    margin-top: 24px;
    text-align: center;
    color: var(--texto-suave);
    font-size: 0.85rem;
    padding: 16px;
    background: #0d0d10;
    border-radius: 10px;
    border: 1px solid #1f1f25;
}

.purchases-summary strong {
    color: #fff;
}
/* ── End Minhas Compras ──────────────────────────────────── */

/* Hero & Content */

.main-content {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.destaque {
    color: var(--azul-claro);
}

.hero-text p {
    color: var(--texto-suave);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-disc-suporte {
    background: var(--azul-claro);
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.btn-comunidade {
    background: #1c1c1f;
    color: white;
    border: 1px solid var(--cinza-borda);
    padding: 15px 25px;
    border-radius: 10px;
    cursor: pointer;
}

/* Control Panel */
.control-panel {
    background: var(--cinza-card);
    border: 1px solid var(--cinza-borda);
    border-radius: 15px;
    width: 380px;
    padding: 25px;
}

.panel-header {
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--azul-claro);
}

.panel-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-card {
    background: #1a1a1c;
    border: 1px solid var(--cinza-borda);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.panel-card:hover {
    border-color: var(--azul-claro);
}

/* Vitrine */
.secao-titulo {
    margin: 40px 0 20px;
    border-left: 4px solid var(--azul-claro);
    padding-left: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--texto-suave);
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card-produto {
    background: var(--cinza-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid transparent;
    cursor: pointer;
}

.card-produto:hover {
    border-color: var(--azul-claro);
    transform: translateY(-5px);
}

.card-produto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.preco {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}

.btn-ver-card {
    background: #1c1c1f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
}

/* SEÇÃO DE AVALIAÇÕES */
.reviews-section {
    margin-top: 60px;
    padding-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: linear-gradient(145deg, #161618, #0d0d0d);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--cinza-borda);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-icon-circle {
    width: 50px;
    height: 50px;
    background: #1a1a1c;
    border: 2px solid var(--azul-claro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--azul-claro);
    font-size: 1.2rem;
}

.review-user {
    flex: 1;
}

.review-user strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.review-user span {
    color: #666;
    font-size: 0.8rem;
}

.review-card p {
    color: #bbb;
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.stars {
    color: #ffcc00;
    letter-spacing: 3px;
}

/* Detalhes & Modais */
.hidden {
    display: none !important;
}

.detalhe-flex {
    display: flex;
    gap: 30px;
    background: var(--cinza-card);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--cinza-borda);
    flex-wrap: wrap;
    justify-content: center;
}

.detalhe-flex img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 15px;
    object-fit: contain;
}

#detalhe-produto h2 {
    font-size: 1.8rem !important;
    line-height: 1.2;
}

#detalhe-produto h1 {
    font-size: 2.8rem !important;
    margin-bottom: 20px;
}

.modal-checkout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.modal-content {
    background: #0d0d0d;
    border: 1px solid var(--azul-claro);
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.input-group {
    margin-bottom: 12px;
    text-align: left;
}

.input-group label {
    display: block;
    color: var(--texto-suave);
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.input-group input {
    width: 100%;
    background: #161618;
    border: 1px solid var(--cinza-borda);
    padding: 12px;
    border-radius: 8px;
    color: white;
    outline: none;
}

.btn-confirmar {
    width: 100%;
    background: var(--azul-claro);
    color: black;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

/* Footer */
.main-footer {
    background-color: #080808;
    border-top: 1px solid var(--cinza-borda);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 5%;
}

.footer-links a {
    display: block;
    color: var(--texto-suave);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #161618;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 25px 5% 0;
    border-top: 1px solid #1a1a1c;
    color: var(--texto-suave);
    font-size: 0.8rem;
}

/* Notificação */
#notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.compra-notif {
    background: #111;
    border: 1px solid #1f1f1f;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(-150%);
    transition: 0.5s;
    color: white;
}

.compra-notif.show {
    transform: translateX(0);
}

/* ── Search Dropdown ─────────────────────────────────── */
.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-container input:focus {
    border-color: var(--azul-claro);
    box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.15);
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 360px;
    background: #0d0d0f;
    border: 1px solid #2a2a2e;
    border-radius: 14px;
    overflow: hidden;
    z-index: 9000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: dropFade 0.18s ease;
}

.search-dropdown.open {
    display: block;
}

@keyframes dropFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropFadeMobile {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.sd-scroll {
    max-height: 65vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--azul-claro) transparent;
}

.sd-scroll::-webkit-scrollbar {
    width: 4px;
}

.sd-scroll::-webkit-scrollbar-thumb {
    background: var(--azul-claro);
    border-radius: 4px;
}

.sd-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--azul-claro);
    background: #111114;
    border-top: 1px solid #1f1f22;
    border-bottom: 1px solid #1a1a1e;
    border-left: 3px solid var(--azul-claro);
}

.sd-section-label:first-child {
    border-top: none;
}

.sd-section-label i {
    font-size: 0.85rem;
}

.sd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #141416;
    transition: background 0.15s;
}

.sd-item:last-child {
    border-bottom: none;
}

.sd-item:hover,
.sd-item.active {
    background: #161619;
}

.sd-item:hover .sd-name,
.sd-item.active .sd-name {
    color: var(--azul-claro);
}

.sd-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #222;
    flex-shrink: 0;
}

.sd-info {
    flex: 1;
    min-width: 0;
}

.sd-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e8e8e8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sd-cat {
    font-size: 0.72rem;
    color: #666;
    margin-top: 2px;
}

.sd-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--verde-pix);
    white-space: nowrap;
    margin-left: auto;
    padding-left: 8px;
}

.sd-empty {
    padding: 24px;
    text-align: center;
    color: #555;
    font-size: 0.88rem;
}

.sd-empty i {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #333;
}

/* ── End Search Dropdown ─────────────────────────────── */

/* ── Modal Em Breve ──────────────────────────────────── */
.embreve-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.embreve-overlay.open {
    opacity: 1;
}

.embreve-overlay.open .embreve-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.embreve-card {
    background: linear-gradient(145deg, #0f0f12, #161619);
    border: 1px solid #2a2a30;
    border-radius: 20px;
    padding: 40px 32px 32px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 210, 255, 0.08);
    transform: scale(0.88) translateY(20px);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
}

.embreve-icon {
    font-size: 3rem;
    margin-bottom: 14px;
    display: inline-block;
    animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px #00d2ff);
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 12px #00d2ff);
    }
}

.embreve-badge {
    display: inline-block;
    background: rgba(0, 210, 255, 0.1);
    color: var(--azul-claro);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 4px 12px;
    margin-bottom: 16px;
}

.embreve-titulo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.embreve-desc {
    color: var(--texto-suave);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Loading dots */
.embreve-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.embreve-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--azul-claro);
    opacity: 0.25;
    animation: dotBlink 1.4s ease-in-out infinite;
}

.embreve-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.embreve-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBlink {

    0%,
    80%,
    100% {
        opacity: 0.2;
        transform: scale(0.9);
    }

    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.embreve-btn {
    background: var(--azul-claro);
    color: #000;
    border: none;
    padding: 13px 36px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s, transform 0.15s;
}

.embreve-btn:hover {
    opacity: 0.85;
    transform: scale(0.98);
}

/* ── End Modal Em Breve ───────────────────────────────── */

@media (max-width: 768px) {

    /* ── Navbar ── */
    .navbar {
        padding: 10px 4%;
        flex-wrap: wrap;
        gap: 8px;
        row-gap: 8px;
    }

    .logo {
        font-size: 1rem;
    }

    .nav-right {
        /* Fica na mesma linha que o logo */
    }

    .btn-discord-login {
        padding: 7px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .discord-logo-icon {
        width: 15px;
        height: 15px;
    }

    .nav-username {
        max-width: 80px;
        font-size: 0.8rem;
    }

    .user-profile-btn {
        padding: 5px 10px 5px 5px;
        gap: 6px;
    }

    .nav-avatar {
        width: 26px;
        height: 26px;
    }

    .profile-dropdown {
        right: -10px;
        width: 220px;
    }

    /* Search ocupa linha inteira embaixo */
    .search-container {
        order: 3;
        flex: unset;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* Dropdown full-width no mobile */
    .search-dropdown {
        min-width: unset;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 0 0 14px 14px;
        border-left: none;
        border-right: none;
        animation: dropFadeMobile 0.18s ease;
    }

    .sd-scroll {
        max-height: 55vh;
    }

    /* ── Hero ── */
    .main-content {
        padding: 12px;
    }

    .hero-container {
        flex-direction: column;
        padding: 30px 0 20px;
        gap: 24px;
        align-items: stretch;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-disc-suporte,
    .btn-comunidade {
        padding: 12px 18px;
        font-size: 0.9rem;
        width: 100%;
    }

    /* ── Painel de Controle ── */
    .control-panel {
        width: 100%;
        padding: 18px;
    }

    /* ── Vitrine / Produtos ── */
    .grid-produtos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .card-produto img {
        height: 130px;
    }

    .card-body {
        padding: 12px;
    }

    .card-body h4 {
        font-size: 0.82rem;
    }

    .preco {
        font-size: 1.1rem !important;
    }

    .btn-ver-card {
        padding: 10px;
        font-size: 0.8rem;
    }

    /* ── Seção de avaliações ── */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* ── Detalhes do produto ── */
    .detalhe-flex {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }

    .detalhe-flex>div {
        width: 100%;
        text-align: center;
    }

    #detalhe-produto h2 {
        font-size: 1.4rem !important;
    }

    #detalhe-produto h1 {
        font-size: 2rem !important;
    }

    /* ── Footer ── */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 0 4%;
    }

    .main-footer {
        margin-top: 40px;
        padding: 40px 0 20px;
    }

    /* ── Notificação ── */
    #notification-container {
        bottom: 10px;
        left: 8px;
        right: 8px;
    }

    .compra-notif {
        font-size: 0.82rem;
        padding: 10px 14px;
    }
}