:root {
    --dark-brown: #1A0F0A;
    --gold: #C5A028;
    --gold-light: #D4AF37;
    --white: #F8F5F2;
    --gray-light: #A5A5A5;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--dark-brown);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.page-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Background & Overlay */
.bg-reference {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg-clean.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) saturate(1.2);
    z-index: 1;
    transition: transform 10s ease-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 15, 10, 0.4) 0%,
        rgba(26, 15, 10, 0.8) 100%
    );
    z-index: 2;
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header {
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
    filter: drop-shadow(0 0 15px rgba(197, 160, 40, 0.4));
}

.hero {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.magazine-title {
    margin-bottom: 3rem;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* CTA Buttons */
.cta-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button.gold {
    background-color: var(--gold);
    color: var(--dark-brown);
}

.cta-button.outline {
    border: 1px solid var(--gold);
    color: var(--gold);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 40, 0.2);
}

.cta-button.gold:hover {
    background-color: var(--gold-light);
}

.cta-button.outline:hover {
    background-color: var(--gold);
    color: var(--dark-brown);
}

/* Bottom Scrolling Info */
.bottom-info {
    border-top: 1px solid rgba(197, 160, 40, 0.2);
    padding-top: 2rem;
    overflow: hidden;
}

.scrolling-text {
    white-space: nowrap;
    display: inline-block;
    animation: scroll 30s linear infinite;
    font-size: 0.8rem;
    letter-spacing: 0.5rem;
    color: var(--gold);
    opacity: 0.6;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-down {
    animation: fadeDown 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-right {
    animation: fadeRight 1s ease-out forwards;
    opacity: 0;
}

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

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 1.5rem;
    }
    
    .logo {
        max-width: 140px;
        height: 140px;
    }
    
    .magazine-title {
        margin-bottom: 2rem;
    }
    
    .main-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .description {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 1.2rem;
        margin-top: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        width: 100%;
        justify-content: center;
    }
    
    .bottom-info {
        padding-top: 1rem;
    }
}

/* Custom Cursor (Optional but Premium) */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}
