/* Fontes */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Variáveis de Cores Baseadas na Paleta - Old Money Aesthetic */
:root {
    --bg-dark: #030A06;        /* Quase Preto - Fundo Principal */
    --bg-darker: #0A150D;      /* Verde Escuro Profundo */
    --accent-olive: #57552E;   /* Verde Oliva - Detalhes Clássicos */
    --text-primary: #D5C5AA;   /* Bege/Dourado Claro - Textos e Bordas */
    
    --secondary-light: #E4DBCB;
    --secondary-dark: #161410;
    --secondary-peach: #F7DECA;
    --secondary-green: #30483A;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    /* Gradiente Animado - Contraste e Dinamismo */
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker), var(--secondary-dark), var(--secondary-green));
    background-size: 300% 300%;
    animation: gradientMove 12s ease infinite;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Fundo com Watermark Elegante */
.background-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background-image: url('/img/logo-dark.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03; /* Extremamente sutil */
    z-index: -1;
    pointer-events: none;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1.5s ease, visibility 1.5s;
}

.loader-content {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 100%;
    height: auto;
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* --- Linkpage Container --- */
.linkpage-container, .content-container {
    width: 100%;
    max-width: 500px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1.5s ease forwards;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Header --- */
.header-section {
    text-align: center;
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    width: 110px;
    max-width: 100%;
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
}

.main-logo:hover {
    transform: scale(1.03);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 0.75rem;
    color: var(--accent-olive);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.5;
    max-width: 80%;
}

.separator {
    width: 40px;
    height: 1px;
    background-color: var(--accent-olive);
    margin-top: 2rem;
}

/* --- Links Section --- */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.link-item {
    background-color: transparent;
    color: var(--text-primary);
    text-decoration: none;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid rgba(213, 197, 170, 0.3); /* D5C5AA with opacity */
    transition: all 0.4s ease;
    font-size: 0.8rem;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--accent-olive);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.link-item:hover {
    border-color: var(--accent-olive);
    color: var(--secondary-light);
}

.link-item:hover::before {
    opacity: 0.15;
}

/* --- Content Pages (Projeto e Patrocínio) --- */
.text-section {
    text-align: center;
    margin-bottom: 3rem;
}

.sub-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--secondary-peach);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.elegant-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(213, 197, 170, 0.8);
    margin-bottom: 1.5rem;
    text-align: justify;
    text-align-last: center;
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent-olive);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    color: var(--secondary-peach);
    border-bottom-color: var(--secondary-peach);
}

/* --- Footer --- */
.footer-section {
    text-align: center;
    margin-top: auto;
    padding-bottom: 2rem;
}

.footer-section p {
    font-size: 0.6rem;
    color: var(--text-primary);
    opacity: 0.5;
    letter-spacing: 2px;
}

/* --- Destaque Lista VIP --- */
.link-highlight {
    background-color: var(--text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
    font-weight: 700;
}

.link-highlight::before {
    background-color: var(--bg-darker);
}

.link-highlight:hover {
    background-color: var(--accent-olive);
    color: var(--text-primary);
    border-color: var(--accent-olive);
}
