html, body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* ============================
   BASE DO SITE
============================ */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--roxo-fundo);
    color: var(--branco-luxo);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ============================
   NAVBAR / HEADER
============================ */
.header {
    background-color: rgba(21, 0, 44, 0.5);
    backdrop-filter: blur(10px);
    padding: 10px 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--branco-luxo);
    gap: 10px;
}

.logo-icon span {
    font-size: 2rem;
}

.logo-titles h1 {
    margin: 0;
    font-size: 1.4rem;
}

.logo-titles p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* NAV BUTTONS DESKTOP */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-buttons a {
    color: var(--branco-luxo);
    text-decoration: none;
    border: 2px solid var(--roxo-claro);
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.2s ease-in-out;
    white-space: nowrap;
}

.nav-buttons a:hover {
    background-color: var(--rosa-principal);
    border-color: var(--rosa-principal);
    color: white;
    box-shadow: 0 0 10px var(--rosa-principal);
}

/* ============================
   HAMBURGER
============================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--branco-luxo);
    box-shadow: 0 0 6px var(--rosa-principal);
    border-radius: 10px;
    margin: 4px 0;
    transition: 0.35s ease;
}

/* animação X */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MENU MOBILE MÁGICO */
.mobile-menu {
    position: fixed;
    top: 60px; /* logo da navbar */
    right: -280px; /* escondido inicialmente */
    width: 260px;
    height: calc(100vh - 60px);
    background: rgba(25, 0, 50, 0.8);
    backdrop-filter: blur(15px);
    border-left: 2px solid rgba(255,64,129,0.3);
    border-radius: 20px 0 0 20px;
    box-shadow: -6px 0 25px rgba(255,64,129,0.4), 0 0 20px rgba(178,141,255,0.3);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 1100;
    opacity: 0;
    transition: right 0.5s ease, opacity 0.5s ease;
}

/* Lista de links */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu a {
    color: var(--branco-luxo);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 15px;
    border: 1px solid rgba(255,64,129,0.0);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 4px 10px rgba(255,64,129,0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    transform: translateX(8px);
    background: rgba(255,64,129,0.15);
    border-color: var(--rosa-principal);
    box-shadow: 0 0 12px var(--rosa-principal), 0 0 10px rgba(178,141,255,0.4);
}

/* Ativo */
.mobile-menu.active {
    right: 0;
    opacity: 1;
}

/* Animação de entrada mágica */
.mobile-menu.active ul li {
    animation: fadeSlide 0.5s ease forwards;
}

@keyframes fadeSlide {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}


/* MOSTRAR NO MOBILE */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .nav-buttons {
        display: none;
    }
}

/* ============================
   SKY BACKGROUND
============================ */
.sky {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, rgba(169,128,248,0.05), transparent 60%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    opacity: 0.5;
    animation: starsMove 120s linear infinite;
}

.clouds {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 30% 30%, rgba(150,100,255,0.12), transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(255,150,255,0.1), transparent 50%);
    filter: blur(100px);
    animation: cloudsMove 100s ease-in-out infinite alternate;
}

@keyframes starsMove {
    from { background-position: 0 0; }
    to { background-position: 2000px 2000px; }
}

@keyframes cloudsMove {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(150px,-150px) scale(1.1); }
}

/* ============================
   HOME
============================ */
#home {
    padding: 100px 20px 40px;
}

.hero-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    text-align: center;
}

#home h1 {
    font-size: 3.6em;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(120deg, #b28dff 0%, #ffb6d9 50%, #b28dff 100%);
    background-size: 200%;
    background-position: left;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: dreamyMove 6s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(178,141,255,0.5),
                 0 0 20px rgba(255,182,217,0.4),
                 0 0 35px rgba(178,141,255,0.3);
}

@keyframes dreamyMove {
    0% { background-position: left; }
    50% { background-position: right; }
    100% { background-position: left; }
}

.hayley-banner {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,64,129,0.5));
}

#home p {
    text-align: center;
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 40px;
    color: var(--branco-luxo);
}

.button-container {
    display: flex;
    justify-content: center; 
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    text-align: center;
}

@media (max-width: 480px) {
    .btn-main, .btn-secondary {
        width: 100%;
    }
}

.hayley-art {
    max-width: 350px;
    height: auto;
    display: block;
    margin: 60px auto 0;
    filter: drop-shadow(0 0 15px rgba(169,128,248,0.9));
    transition: transform 0.3s ease;
}

.hayley-art:hover {
    transform: scale(1.02);
}

/* ============================
   FEATURES
============================ */
#features {
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    text-align: center;
    background: radial-gradient(circle at top, #3a0050 0%, #0a0019 100%);
    min-height: 60vh;
}

#features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 1px, transparent 2px) repeat;
    background-size: 50px 50px;
    animation: starsFeatures 120s linear infinite;
    z-index: 0;
}

#features::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom, rgba(255,64,129,0.05), transparent 60%),
                radial-gradient(ellipse at top, rgba(169,128,248,0.05), transparent 50%);
    filter: blur(80px);
    animation: cloudsFeatures 80s ease-in-out infinite alternate;
    z-index: 0;
}

.features-title {
    font-size: 3em;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #A980F8, #FF4081, #FFC0CB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 12px rgba(178,141,255,0.6),
                 0 0 25px rgba(255,64,129,0.4);
    position: relative;
    z-index: 1;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(26,0,54,0.6);
    border: 2px solid rgba(169,128,248,0.6);
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(169,128,248,0.3),
                0 6px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1; 
}

.feature-card:hover, .feature-card:focus {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255,64,129,0.5),
                0 10px 20px rgba(169,128,248,0.7);
    border-color: var(--rosa-principal);
}

.feature-card h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #A980F8, #FF4081, #FFC0CB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(178,141,255,0.5),
                 0 0 12px rgba(255,64,129,0.3);
}

.feature-card p {
    font-size: 1.05em;
    color: #ffffff;
    line-height: 1.6;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 2px) repeat;
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

@keyframes starsFeatures {
    0% { background-position: 0 0; }
    100% { background-position: -5000px 5000px; }
}

@keyframes cloudsFeatures {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(200px) translateY(-50px); }
}

/* ============================
   FOOTER
============================ */
.footer {
    background-color: rgba(21, 0, 44, 0.5);
    backdrop-filter: blur(10px);
    color: var(--roxo-claro);
    padding: 25px 20px;
    font-size: 0.9em;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px; 
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: #bb86fc;
}

.footer-emote {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ============================
   EMOJIS
============================ */
.emoji {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    border-radius: 6px;
    object-fit: contain;
}

/* ============================
   EVENT MESSAGE Christmas
============================ */
.event-message {
    margin-top: 10px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(6px);
    animation: fadeIn 0.5s ease;
}
