/* Reset & Variables */
:root {
    --primary-purple: #7E22CE;
    --primary-purple-hover: #9333EA;
    --bg-dark: #0c0416;
    --card-bg: rgba(25, 14, 38, 0.72);
    --card-border: rgba(147, 51, 234, 0.28);
    --text-white: #f3f4f6;
    --text-muted: #c084fc;
    --font-apple: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Brand Colors */
    --color-ifood: #ea1d2c;
    --color-anotaai: #fbbf24;
    --color-whatsapp: #25d366;
    --color-instagram: #e1306c;
    --color-google: #4285f4;
    --color-maps: #0f9d58;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-apple);
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    overflow-x: hidden;
    position: relative;
}

/* Fullscreen Background Slideshow */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 2s ease-in-out, transform 8s ease-in-out;
}

.bg-slide.active {
    opacity: 1;
    transform: scale(1.0);
}

/* Overlay desfocado roxo com textura de pontinhos no fundo */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle, rgba(15, 5, 29, 0.62) 0%, rgba(12, 4, 22, 0.86) 100%),
        radial-gradient(rgba(147, 51, 234, 0.08) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 24px 24px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: -1;
}

/* Container */
.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 10;
}

/* Header */
.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 8px;
}

.logo-wrapper {
    position: relative;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-purple), #ec4899);
    box-shadow: 0 10px 30px rgba(126, 34, 206, 0.6);
    margin-bottom: 16px;
    animation: float 4s ease-in-out infinite alternate;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid var(--bg-dark);
}

.title {
    font-size: 1.75rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: #ffffff; /* Branco sólido para máxima legibilidade */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(147, 51, 234, 0.4);
}

.company-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cbd5e1;
    max-width: 400px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Links List */
.links-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Link Card - Glassmorphism com efeito brilhoso */
.link-card {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Efeito de Reflexo Brilhoso no Hover (Cool Effect) */
.link-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 35%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.75s ease;
    z-index: 1;
    pointer-events: none;
}

.link-card:hover {
    transform: translateY(-3px);
    background-color: rgba(147, 51, 234, 0.16);
    border-color: rgba(147, 51, 234, 0.65);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
}

.link-card:hover::after {
    left: 130%;
}

/* Círculo Branco com Contraste Máximo para os Ícones */
.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff; /* Fundo branco sólido para contraste total */
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.icon-container svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.link-card:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Info */
.link-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.link-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.link-subtitle {
    font-size: 0.78rem;
    color: #cbd5e1;
    margin-top: 3px;
}

/* Badges */
.link-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 8px;
    margin-left: 8px;
    position: relative;
    z-index: 2;
}

/* iFood Highlight style */
.highlight-ifood {
    border-color: rgba(234, 29, 44, 0.4);
    background: linear-gradient(135deg, rgba(234, 29, 44, 0.15) 0%, rgba(15, 5, 29, 0.75) 100%);
}

.highlight-ifood:hover {
    border-color: rgba(234, 29, 44, 0.85);
    background: linear-gradient(135deg, rgba(234, 29, 44, 0.22) 0%, rgba(15, 5, 29, 0.75) 100%);
    box-shadow: 0 10px 25px rgba(234, 29, 44, 0.3);
}

.highlight-ifood .icon-container svg {
    color: var(--color-ifood); /* Vermelho iFood Oficial */
}

.highlight-ifood .link-badge {
    background-color: var(--color-ifood);
    color: white;
}

/* AnotaAi Highlight style */
.highlight-anotaai {
    border-color: rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(15, 5, 29, 0.75) 100%);
}

.highlight-anotaai:hover {
    border-color: rgba(251, 191, 36, 0.85);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16) 0%, rgba(15, 5, 29, 0.75) 100%);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.highlight-anotaai .icon-container svg {
    color: #ff6f00; /* Laranja AnotaAi Oficial */
}

.highlight-anotaai .link-badge {
    background-color: var(--color-anotaai);
    color: #1f1300;
}

/* WhatsApp style */
#link-whatsapp .icon-container svg {
    color: var(--color-whatsapp); /* Verde WhatsApp Oficial */
}

#link-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.6);
    background-color: rgba(37, 211, 102, 0.08);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

/* Instagram style */
#link-instagram .icon-container svg {
    color: var(--color-instagram); /* Rosa Instagram Oficial */
}

#link-instagram:hover {
    border-color: rgba(225, 48, 108, 0.6);
    background-color: rgba(225, 48, 108, 0.08);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.25);
}

/* Google Review style */
#link-google .icon-container svg {
    color: var(--color-google); /* Azul Google Oficial */
}

#link-google:hover {
    border-color: rgba(66, 133, 244, 0.6);
    background-color: rgba(66, 133, 244, 0.08);
    box-shadow: 0 10px 25px rgba(66, 133, 244, 0.25);
}

/* Uber/Maps custom style */
#link-uber .icon-container svg {
    color: var(--color-maps); /* Verde Google Maps Oficial */
}

#link-uber:hover {
    border-color: rgba(16, 185, 129, 0.6);
    background-color: rgba(16, 185, 129, 0.08);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

/* Footer */
.footer {
    width: 100%;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.open-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #34d399; /* Green text */
}

.warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    font-size: 0.78rem;
    font-weight: 600;
}

.info-icon {
    width: 14px;
    height: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

.copyright {
    opacity: 0.55;
    font-size: 0.75rem;
}

.credits {
    margin-top: 8px;
}

.credits a {
    color: #ec4899;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.credits a:hover {
    color: #f472b6;
    text-shadow: 0 0 8px rgba(244, 114, 182, 0.6);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .logo-wrapper {
        width: 120px;
        height: 120px;
    }
}
