:root {
    /* Cores Oficiais da Turminha */
    --primary-color: #ff1c93; /* Rosa Choque */
    --secondary-color: #00f2ff; /* Ciano/Azul Turquesa */
    --accent-color: #ffcc00; /* Amarelo Vibrante */
    
    /* Cores de Interface */
    --bg-dark: #0e061b; /* Base do fundo escuro */
    --text-main: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.15);
    --background-blur: 12px;
    
    /* Fontes */
    --font-main: 'Outfit', sans-serif;
    
    /* Platform Colors */
    --youtube: #FF0000;
    --spotify: #1DB954;
    --instagram: #E1306C;
    --tiktok: #000000;
    --deezer: #ef5466;
    --amazon: #00A8E1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Background com a imagem oficial */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(14, 6, 27, 0.2), rgba(14, 6, 27, 0.8)), 
                url('assets/background.png') no-repeat center center/cover;
    z-index: -1;
    transition: transform 0.3s ease;
}

.container {
    width: 100%;
    max-width: 550px;
    padding: 60px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente o conteúdo do flex */
    text-align: center;
}

/* Header */
.header {
    width: 100%;
    margin-bottom: 45px;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center; /* Garante que os itens dentro do header também centralizem */
}

.logo-container {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 0;
    margin: 0 auto 25px auto; /* Centralização forçada via margin */
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 
                0 0 15px var(--primary-color), 
                0 0 15px var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 3px solid transparent;
    background-image: linear-gradient(var(--bg-dark), var(--bg-dark)), 
                      linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-origin: border-box;
    background-clip: content-box, border-box;
}

#logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

h1 {
    width: 100%;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, var(--accent-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.tagline {
    width: 100%;
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Links Section */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 20px 0 60px;
}

.loading {
    opacity: 0.6;
    font-style: italic;
    padding: 20px;
}

/* Estilo do Card individual (agora gerado no script.js) */
.link-card {
    text-decoration: none;
    color: white;
    background: var(--card-bg);
    backdrop-filter: blur(var(--background-blur));
    -webkit-backdrop-filter: blur(var(--background-blur));
    border: 1px solid var(--card-border);
    padding: 16px 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.7s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.6s ease;
}

.link-card:hover::before { left: 100%; }

.link-card:hover {
    transform: translateY(-4px) scale(1.025);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 10px rgba(0, 242, 255, 0.2);
}

.card-main { display: flex; align-items: center; }

.icon-container {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-right: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.link-card:hover .icon-container {
    background: white;
    transform: rotate(10deg);
}

.link-card span { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5px; }

.arrow-icon { font-size: 0.9rem; opacity: 0.5; transition: transform 0.3s ease; }
.link-card:hover .arrow-icon { opacity: 1; transform: translateX(5px); color: var(--secondary-color); }

/* Staggered Delay */
.link-card { border-left: 4px solid var(--secondary-color); }
.link-card:nth-child(3n+1) { border-left-color: var(--primary-color); }
.link-card:nth-child(3n+2) { border-left-color: var(--secondary-color); }
.link-child:nth-child(3n+3) { border-left-color: var(--accent-color); }

/* Footer */
.footer {
    opacity: 0.7;
    font-size: 0.9rem;
    padding: 30px 0;
    font-weight: 300;
}
.footer strong { color: var(--primary-color); font-weight: 600; }

.login-subtle {
    display: block;
    margin-top: 20px;
    font-size: 0.75rem;
    text-decoration: none;
    color: rgba(255,255,255,0.3);
    transition: 0.3s;
}
.login-subtle:hover { color: var(--secondary-color); }

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .container { padding: 40px 15px; }
    h1 { font-size: 1.6rem; }
    .logo-container { width: 140px; height: 140px; }
    .link-card { padding: 14px 22px; }
    .link-card span { font-size: 1.05rem; }
}
