/* 
  Documentação do Estilo (CSS)
  - Variáveis globais para manter consistência de cores;
  - Utilização de Flexbox para alinhamento otimizado;
  - Animações refinadas para melhor UX (Efeito hover, glowing blur).
*/

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --gold-primary: #dcb360;
    --gold-secondary: #9a7837;
    --gold-glow: rgba(220, 179, 96, 0.4);
    --card-bg: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Efeito de fundo simulando trilhas de circuito de forma sutil */
.background-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 20%, rgba(220, 179, 96, 0.15) 0%, transparent 40%),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(220, 179, 96, 0.03) 40px, rgba(220, 179, 96, 0.03) 41px),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(220, 179, 96, 0.03) 40px, rgba(220, 179, 96, 0.03) 41px);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ====================CABEÇALHO==================== */
.header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a, #050505);
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px var(--gold-glow), inset 0 0 10px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.logo-ring::after {
    content: '';
    position: absolute;
    width: 105%;
    height: 105%;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: var(--gold-primary);
    border-bottom-color: var(--gold-secondary);
    animation: spin 8s linear infinite;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--gold-primary);
    background: -webkit-linear-gradient(45deg, var(--gold-primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
    background: linear-gradient(to right, #e2c070, #c89542, #e2c070);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #dfdfdf;
    font-weight: 400;
}

/* ====================REDES SOCIAIS==================== */
.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.whatsapp {
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 4px 15px rgba(214, 36, 159, 0.4);
}

.facebook {
    background-color: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.tiktok {
    background-color: #000;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tiktok i {
    text-shadow: 2px 2px 0px #ff0050, -2px -2px 0px #00f2fe;
}

/* ====================BOTÕES DE LINKS==================== */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.link-btn {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid rgba(220, 179, 96, 0.3);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: all 0.4s ease;
}

.link-btn:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 179, 96, 0.2);
}

.link-btn:hover::before {
    left: 100%;
}

.link-icon {
    width: 45px;
    height: 45px;
    background: rgba(220, 179, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold-primary);
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.link-text {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
}

.link-text small {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Ênfase especial para o grupo VIP */
.highlight-btn {
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 15px rgba(220, 179, 96, 0.2);
    background: linear-gradient(145deg, #111111, #080808);
}

.highlight-btn .link-icon {
    color: #fff;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
}

/* ====================DESTAQUES==================== */
.highlights-section {
    width: 100%;
}

.highlights-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.highlight-item {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: scale(1.05);
    border-color: rgba(220, 179, 96, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.highlight-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.highlight-item:hover img {
    transform: scale(1.1);
}

/* ====================ANIMAÇÕES==================== */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ajustes responsivos adicionais para telas pequenas */
@media (max-width: 380px) {
    .link-text {
        font-size: 0.95rem;
    }

    .brand-name {
        font-size: 1.5rem;
    }
}

/* ==================== MODAL DE ATENDIMENTO ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid rgba(220, 179, 96, 0.4);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(220, 179, 96, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--gold-primary);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-section {
    margin-bottom: 1.8rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2c070;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.option-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.option-card i {
    font-size: 1.5rem;
    color: #aaa;
    transition: color 0.2s ease;
}

.option-card span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ddd;
}

.option-card:hover {
    border-color: rgba(220, 179, 96, 0.5);
    background: #1a1a1a;
}

.option-card.selected {
    border-color: var(--gold-primary);
    background: rgba(220, 179, 96, 0.1);
    box-shadow: 0 0 10px rgba(220, 179, 96, 0.2);
}

.option-card.selected i,
.option-card.selected span {
    color: var(--gold-primary);
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.seller-card.selected .seller-avatar {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(220, 179, 96, 0.5);
}

.action-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.initiate-chat-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #000;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(220, 179, 96, 0.3);
}

.initiate-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 179, 96, 0.5);
}