:root {
    --primary: #ff4d6d;
    --primary-foreground: #ffffff;
    --secondary: #ff8fa3;
    --background: #11070b;
    --foreground: #fcfcfc;
    --muted: #1f1519;
    --muted-foreground: #a39da0;
    --border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.font-serif { font-family: 'Playfair Display', serif; }
.font-bold { font-weight: bold; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.relative { position: relative; }
.absolute { position: absolute; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Glassmorphism */
.glass {
    background: rgba(10, 5, 8, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

/* Texto Gradiente */
.gradient-text {
    background: linear-gradient(to right, #ff4d6d, #ff8fa3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 77, 109, 0.4);
}

/* Animações */
@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.15); }
    20% { transform: scale(1); }
    30% { transform: scale(1.15); }
    40% { transform: scale(1); }
}

.animate-heart-beat {
    animation: heart-beat 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* A luz de fundo agora é fixa e intensa, sem piscar */
.animate-pulse-glow {
    opacity: 0.8 !important;
    transform: scale(1.05) !important;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 16px 0;
}

.logo-hearts {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-hearts svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    fill: var(--primary);
}

.nav-buttons .btn-ghost {
    padding: 8px 16px;
    color: #fff;
    border-radius: 50px;
    border: 1px solid var(--primary);
    background: var(--primary);
    transition: background 0.2s, box-shadow 0.2s;
}

.nav-buttons .btn-ghost:hover {
    background: #e03558;
    box-shadow: 0 4px 14px rgba(255, 77, 109, 0.4);
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(255, 77, 109, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--foreground);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100dvh;
    min-height: 100vh; /* Fallback */
    display: flex;
    align-items: center;
    padding-top: 40px;
    position: relative;
    /* Substitui overflow hidden para não cortar o brilho em telas menores */
    overflow-x: clip;
}

.hero-bg-blur-1 {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 77, 109, 0.15);
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.hero-bg-blur-2 {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: rgba(255, 143, 163, 0.12);
    border-radius: 50%;
    filter: blur(120px);
    animation-delay: 2s;
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    z-index: 10;
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-top: 72px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw + 1.5rem, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 4px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.stat-item h4 {
    font-size: 2rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0;
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}

/* Phone Mockup — Fiel ao DearYou */
.hero-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    scroll-margin-top: 100px;
}

.phone-frame {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #3f3f46, #27272a);
    border-radius: 3.5rem;
    padding: 3px;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(255, 77, 109, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.phone-bezel-1 {
    width: 100%;
    background: linear-gradient(to bottom, #27272a, #18181b);
    border-radius: calc(3.5rem - 2px);
    padding: 2px;
}

.phone-screen-container {
    width: 100%;
    background: #000;
    border-radius: calc(3.5rem - 4px);
    overflow: hidden;
    position: relative;
    aspect-ratio: 9 / 19.5;
}

.phone-dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.di-camera {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1a1a1e;
    box-shadow: 0 0 0 1px #2a2a2e;
}

.di-sensor {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2a2a2e;
}

.phone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    z-index: 10;
}

.phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating Icons ao redor do celular */
.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 77, 109, 0.1);
}

.fi-1 {
    top: -24px;
    right: -24px;
    width: 64px;
    height: 64px;
    border-radius: 20px;
}

.fi-2 {
    top: 25%;
    left: -32px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.5rem;
}

.fi-3 {
    bottom: -16px;
    left: -20px;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    font-size: 2rem;
}

.fi-4 {
    bottom: 33%;
    right: -24px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

/* Sections Commons */
.section {
    padding: 120px 0;
    position: relative;
}

.section-tagline {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 64px auto;
}

/* Features */
.feature-card {
    padding: 32px;
    border-radius: 24px;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 77, 109, 0.3);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 77, 109, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: rgba(255, 77, 109, 0.2);
    transform: scale(1.1);
}

.feature-icon-wrapper svg {
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.feature-card p {
    color: var(--muted-foreground);
    font-size: 1rem;
}

/* Depoimentos */
.testimonial-card {
    padding: 40px;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    color: rgba(255, 77, 109, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.author-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255, 77, 109, 0.5);
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.stars svg {
    color: #eab308;
    fill: #eab308;
    width: 20px;
    height: 20px;
}

.testimonial-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Como funciona */
.step-card {
    padding: 32px;
    border-radius: 24px;
    text-align: center;
    height: 100%;
}

.step-number {
    width: 64px;
    height: 64px;
    background: rgba(255, 77, 109, 0.2);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.step-card p {
    color: var(--muted-foreground);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    width: 100%;
    text-align: left;
    color: var(--foreground);
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-question svg {
    transition: transform 0.3s;
}

.faq-item[open] .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* CTA */
.cta-wrapper {
    padding: 64px;
    border-radius: 32px;
    text-align: center;
    background: linear-gradient(to right, rgba(255, 77, 109, 0.1), rgba(255, 143, 163, 0.1));
    border: 1px solid rgba(255, 77, 109, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.3;
}

.cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--secondary);
    filter: blur(80px);
    opacity: 0.3;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--foreground);
}

/* Navbar User Panel — Logged In */
.nav-user-wrap {
    position: relative;
}

.nav-avatar-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 77, 109, 0.4);
    background: rgba(255, 77, 109, 0.12);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-avatar-btn:hover {
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(255, 77, 109, 0.25);
}



.nav-avatar-btn span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 250px;
    background: rgba(17, 7, 11, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 6px;
    z-index: 200;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.nav-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.nav-dropdown-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 77, 109, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}



.nav-dropdown-avatar span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.nav-dropdown-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.nav-dropdown-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.nav-dropdown-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 4px 0;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: rgba(255, 77, 109, 0.1);
    color: var(--primary);
}

.nav-dropdown-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-tag {
        margin-top: 56px !important;
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    /* Botões hero — empilham verticalmente em mobile */
    .hero-text .flex.gap-4 {
        flex-direction: column;
        align-items: stretch;
        gap: 12px !important;
        width: 100%;
    }

    .hero-text .flex.gap-4 a {
        padding: 14px 20px !important;
        font-size: 1rem !important;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 8px;
        box-sizing: border-box;
        width: 100%;
        transform-origin: center;
    }

    /* Remove scale no hover/active em mobile para não vazar */
    .hero-text .flex.gap-4 a:hover,
    .hero-text .flex.gap-4 a:active {
        transform: none !important;
    }

    .hero-stats {
        gap: 16px !important;
        justify-content: space-around;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .stat-item h4 {
        font-size: 1.5rem;
        justify-content: center;
    }

    .grid-cols-2, .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .btn-primary, .btn-outline {
        padding: 12px 24px !important;
        font-size: 1rem !important;
        border-radius: 50px !important;
        white-space: nowrap !important;
    }

    .nav-buttons {
        gap: 8px !important;
    }

    .nav-buttons .btn-primary, .nav-buttons .btn-ghost {
        padding: 8px 14px !important;
        font-size: 0.9rem !important;
        border-radius: 50px !important;
        white-space: nowrap !important;
    }

    .nav-buttons .btn-ghost {
        padding: 8px 6px !important;
        margin-right: 6px !important;
    }

    .nav-avatar-btn {
        width: 34px !important;
        height: 34px !important;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* RETROSPECTIVA WIDGET CSS */
.retro-preview-container {
    width: 100%;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Conquistas */
.retro-conquistas {
    background: #11070b;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.conquistas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.conquistas-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.conquistas-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #a39da0;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.conquistas-grid {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.conquista-box {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s;
}

.conquista-box.active {
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.05);
}

.conquista-box .c-icon.gold {
    color: #facc15;
}

.conquista-box .c-icon.mute {
    color: #a1a1aa;
}

/* Banner */
.retro-banner-card {
    background: #000;
    border-radius: 20px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
}

.retro-banner-content {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.retro-banner-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.retro-banner-content p {
    color: #e4e4e7;
    font-size: 1rem;
    margin: 0;
}

.retro-vamos-la {
    background: #38bdf8;
    color: #000;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    z-index: 2;
    transition: transform 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

.retro-vamos-la:hover {
    transform: scale(1.05);
    background: #7dd3fc;
}

/* 3D wave images */
.retro-ribbon {
    position: absolute;
    height: 100%; 
    width: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
    filter: drop-shadow(0px 10px 10px rgba(255,0,85,0.4));
}

.retro-ribbon-top {
    background-position: top center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300'%3E%3Cpath d='M0,50 Q150,0 250,50 T450,150 T650,50 Q750,0 800,20 L800,0 L0,0 Z' fill='url(%23grad1)'/%3E%3Cpath d='M0,80 Q150,30 250,80 T450,180 T650,80 Q750,30 800,50 L800,20 Q750,0 650,50 T450,150 T250,50 Q150,0 0,50 Z' fill='url(%23grad2)'/%3E%3Cpath d='M0,110 Q150,60 250,110 T450,210 T650,110 Q750,60 800,80 L800,50 Q750,30 650,80 T450,180 T250,80 Q150,30 0,80 Z' fill='url(%23grad3)'/%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ff0a54'/%3E%3Cstop offset='100%25' stop-color='%23800020'/%3E%3C/linearGradient%3E%3ClinearGradient id='grad2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ff477e'/%3E%3Cstop offset='100%25' stop-color='%23a10030'/%3E%3C/linearGradient%3E%3ClinearGradient id='grad3' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ff7096'/%3E%3Cstop offset='100%25' stop-color='%23ff0055'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
    transform: rotate(3deg) scale(1.1); /* Slight rotation to keep the dynamic feel, scale to prevent clipping */
}

.retro-ribbon-bottom {
    background-position: bottom center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300'%3E%3Cpath d='M0,250 Q150,300 250,250 T450,150 T650,250 Q750,300 800,280 L800,300 L0,300 Z' fill='url(%23g1)'/%3E%3Cpath d='M0,220 Q150,270 250,220 T450,120 T650,220 Q750,270 800,250 L800,280 Q750,300 650,250 T450,150 T250,250 Q150,300 0,250 Z' fill='url(%23g2)'/%3E%3Cpath d='M0,190 Q150,240 250,190 T450,90 T650,190 Q750,240 800,220 L800,250 Q750,270 650,220 T450,120 T250,220 Q150,270 0,220 Z' fill='url(%23g3)'/%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='100%25' y1='100%25' x2='0%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23ff0a54'/%3E%3Cstop offset='100%25' stop-color='%23800020'/%3E%3C/linearGradient%3E%3ClinearGradient id='g2' x1='100%25' y1='100%25' x2='0%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23ff477e'/%3E%3Cstop offset='100%25' stop-color='%23a10030'/%3E%3C/linearGradient%3E%3ClinearGradient id='g3' x1='100%25' y1='100%25' x2='0%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23ff7096'/%3E%3Cstop offset='100%25' stop-color='%23ff0055'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
    transform: scaleX(1.1); /* Ensure it touches the edges well */
}

/* ==========================================================================
   # TELAS MUITO PEQUENAS (< 380px)
   Reduz logo e botões para caber na mesma linha sem sobreposição.
   ========================================================================== */
@media (max-width: 380px) {
    /* Reduz padding lateral para ganhar espaço */
    .container {
        padding: 0 12px;
    }

    /* Reduz fonte e ícone da logo */
    .logo span {
        font-size: 1rem !important;
    }
    .logo-hearts svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* Reduz botões da navbar */
    .nav-buttons .btn-primary,
    .nav-buttons .btn-ghost {
        padding: 7px 10px !important;
        font-size: 0.82rem !important;
    }

    .nav-buttons {
        gap: 6px !important;
    }
}

/* ==========================================================================
   # ACESSIBILIDADE: prefers-reduced-motion
   Desabilita animações para usuários que preferem movimento reduzido.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
