:root {
    --bg-dark: #050505;
    --primary-pink: #ff0080;
    --secondary-purple: #7928ca;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-brand: linear-gradient(135deg, #ff0080, #7928ca);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent; /* Remove clique azul no mobile */
}

/* O BODY GARANTE A CENTRALIZAÇÃO GERAL */
body {
    background: radial-gradient(circle at top, #1a0b14, #000000);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center; /* Centraliza Horizontalmente */
    align-items: flex-start; /* Alinha no topo (melhor para scroll no celular) */
    padding: 20px 15px;      /* Espaço nas laterais do celular */
}

/* CONTAINER PRINCIPAL (SIMULA UM APP) */
.glass-container {
    width: 100%;
    max-width: 450px; /* Largura ideal de celular */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza tudo dentro dele */
}

/* --- HEADER --- */
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}

.profile-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 15px;
}

.profile-border-spinner {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-brand);
    z-index: -1;
    animation: spin 6s linear infinite;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #000; /* Borda interna para contraste */
    background-color: #222;
    display: block;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.header-info h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.verified-badge { color: #3897f0; font-size: 1rem; }

.bio {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- DESTAQUES (SCROLL HORIZONTAL) --- */
.highlights-scroll {
    display: flex;
    gap: 15px;
    width: 100%;
    overflow-x: auto;
    padding: 10px 5px 20px;
    justify-content: flex-start; /* Garante scroll no mobile */
    scrollbar-width: none;       /* Esconde barra no Firefox */
}

/* Centraliza os destaques se a tela for grande o suficiente */
@media (min-width: 400px) {
    .highlights-scroll { justify-content: center; }
}

.highlights-scroll::-webkit-scrollbar { display: none; } /* Esconde barra no Chrome/Safari */

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 65px;
}

.story-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-brand);
    padding: 2px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.2s;
}
.story-ring i {
    background: #111;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

.highlight-item:hover .story-ring { transform: scale(1.05); }
.highlight-item span { font-size: 0.7rem; color: var(--text-gray); }

/* --- LINKS --- */
.link-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.glass-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

.featured-card {
    background: var(--gradient-brand);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.4);
}
.featured-card:hover { transform: scale(1.02); }

.card-content { display: flex; align-items: center; gap: 15px; }
.icon-box { width: 25px; text-align: center; font-size: 1.2rem; }
.text-box h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.text-box p { font-size: 0.75rem; opacity: 0.85; }
.arrow-icon { font-size: 0.8rem; opacity: 0.6; }

/* --- CONTATO E FOOTER --- */
.contact-area { width: 100%; margin-top: 25px; }

.glass-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-gray);
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}
.glass-btn:hover { border-color: var(--primary-pink); color: #fff; background: rgba(255,0,128,0.1); }

.socials { margin-top: 30px; display: flex; gap: 20px; }
.socials a { color: var(--text-gray); font-size: 1.5rem; transition: 0.3s; }
.socials a:hover { color: var(--primary-pink); transform: scale(1.1); }

/* --- TOAST --- */
#toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #fff;
    color: #000;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    padding: 12px;
    position: fixed;
    z-index: 100;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%); /* Centraliza perfeitamente o toast */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* --- COPYRIGHT DO DEV --- */
.developer-credit {
    margin-top: 30px;
    margin-bottom: 10px;
    
    /* Fonte estilo código igual ao print */
    font-family: 'Courier New', monospace; 
    font-size: 0.9rem;
    
    /* Cor discreta mas legível */
    color: rgba(255, 255, 255, 0.3); 
    text-decoration: none; /* Remove o sublinhado do link */
    letter-spacing: 2px;   /* Espaçamento entre letras */
    
    transition: all 0.3s ease;
    display: inline-block; /* Garante que o efeito funcione */
}

/* Efeito ao passar o mouse (Neon Rosa) */
.developer-credit:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 8px rgba(255, 0, 128, 0.8);
    transform: scale(1.1);
    letter-spacing: 4px; /* Efeito visual legal ao passar o mouse */
}
#toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }

@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }
/* --- ESTILOS DA PÁGINA DE CUPONS --- */

/* Botão de Voltar */
.back-btn {
    align-self: flex-start;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}
.back-btn:hover { color: #fff; transform: translateX(-5px); }

/* Lista de Cupons */
.coupon-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coupon-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coupon-card:active { transform: scale(0.98); } /* Efeito de clique */

.coupon-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-pink);
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-brand {
    font-size: 1.2rem;
    color: var(--primary-pink);
}

.brand-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

/* Caixa do Código (Visual de Ticket) */
.code-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed var(--text-gray);
    padding: 5px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-pink);
    letter-spacing: 1px;
}

.coupon-card:hover .code-box {
    background: var(--primary-pink);
    color: #fff;
    border-color: transparent;
}