:root {
    --primary-color: #e91e63;
    --secondary-color: #ff6b9d;
    --accent-color: #ffc1d4;
    --dark-color: #1a1a2e;
    --light-color: #fff;
    --gradient-1: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    --gradient-2: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow: 0 10px 40px rgba(233, 30, 99, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
}

/* Partículas */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Navegação */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-menu ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Seções */
.section {
    min-height: 100vh;
    padding: 100px 50px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hearts-container {
    margin-bottom: 30px;
}

.floating-heart {
    display: inline-block;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 15px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.floating-heart:nth-child(2) {
    animation-delay: 0.3s;
    font-size: 2.5rem;
}

.floating-heart:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.names-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.name {
    font-family: 'Great Vibes', cursive;
    font-size: 6rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.name-gustavo {
    animation-delay: 0.3s;
}

.name-nayara {
    animation-delay: 0.9s;
}

.ampersand {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--accent-color);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 20px;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

/* Contador de tempo juntos */
.time-counter {
    margin-top: 50px;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.4s;
    opacity: 0;
}

.counter-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.counter-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.counter-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 15px;
    min-width: 80px;
    border: 1px solid rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
}

.counter-item:hover {
    background: rgba(233, 30, 99, 0.2);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.counter-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.counter-text {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.counter-since {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.6s;
    opacity: 0;
}

.mouse {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

.scroll-indicator p {
    font-size: 0.85rem;
    color: var(--accent-color);
    opacity: 0.7;
}

/* Music Section */
.music-section {
    background: linear-gradient(180deg, var(--dark-color) 0%, #16213e 100%);
}

.music-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.vinyl-player {
    position: relative;
    width: 350px;
    height: 350px;
}

.vinyl-disc {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    position: relative;
    box-shadow:
        0 0 0 10px #111,
        0 0 0 12px #333,
        0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.vinyl-disc.playing {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.label-text {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--light-color);
}

.vinyl-grooves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center,
            transparent 0px,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px);
}

.vinyl-arm {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 120px;
    height: 15px;
    background: linear-gradient(90deg, #666 0%, #888 50%, #666 100%);
    border-radius: 10px;
    transform-origin: right center;
    transform: rotate(-30deg);
    transition: transform 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.vinyl-arm::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: #444;
    border-radius: 50%;
}

.vinyl-arm::after {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 8px;
    background: #888;
    border-radius: 2px;
}

.vinyl-arm.playing {
    transform: rotate(-10deg);
}

.play-btn {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 15px 50px rgba(233, 30, 99, 0.5);
}

.play-icon,
.pause-icon {
    font-size: 1.5rem;
    color: var(--light-color);
}

.pause-icon {
    display: none;
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block;
}

.lyrics-container {
    max-width: 500px;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.lyrics-container::before,
.lyrics-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    z-index: 2;
}

.lyrics-container::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(22, 33, 62, 1) 0%, transparent 100%);
}

.lyrics-container::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(22, 33, 62, 1) 0%, transparent 100%);
}

.lyrics-scroll {
    height: 100%;
    overflow-y: auto;
    padding: 40px 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.lyrics-scroll::-webkit-scrollbar {
    width: 5px;
}

.lyrics-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.lyrics-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

.lyric-line {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--accent-color);
    opacity: 0.5;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    line-height: 1.6;
    padding: 5px 10px;
    border-radius: 5px;
}

.lyric-line.highlight {
    color: var(--secondary-color);
    opacity: 0.7;
    font-weight: 500;
}

.lyric-line.active {
    opacity: 1;
    color: var(--light-color);
    background: rgba(233, 30, 99, 0.2);
    transform: scale(1.02);
}

.lyric-line.highlight.active {
    background: rgba(233, 30, 99, 0.3);
    color: #fff;
}

/* Timeline Section */
.timeline-section {
    background: var(--dark-color);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 50px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    transform: translateX(50px);
}

.timeline-item:nth-child(even).visible {
    transform: translateX(0);
}

.timeline-item::before {
    content: '♥';
    position: absolute;
    top: 30px;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--light-color);
    box-shadow: var(--shadow);
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -20px;
}

.timeline-item:nth-child(even)::before {
    left: -20px;
}

.timeline-date {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--light-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--accent-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(180deg, #16213e 0%, var(--dark-color) 100%);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--light-color);
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.gallery-tab:hover,
.gallery-tab.active {
    background: var(--gradient-1);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(233, 30, 99, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--light-color);
    text-align: center;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Letter Section */
.letter-section {
    background: var(--dark-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.letter-container {
    perspective: 1000px;
}

.letter {
    max-width: 700px;
    background: linear-gradient(135deg, #fef9f3 0%, #f5e6d3 100%);
    padding: 50px;
    border-radius: 5px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 100px rgba(0, 0, 0, 0.03);
    position: relative;
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.letter:hover {
    transform: rotateX(0deg) scale(1.02);
}

.letter::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(233, 30, 99, 0.2);
    pointer-events: none;
}

.letter-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.letter-date {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--primary-color);
}

.letter-body {
    color: #333;
    line-height: 2;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.letter-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.letter-body p:first-child {
    text-indent: 0;
    font-weight: 600;
}

.letter-footer {
    margin-top: 40px;
    text-align: right;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Footer */
.footer {
    background: #0d0d1a;
    padding: 40px;
    text-align: center;
}

.footer-hearts {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.footer p {
    color: var(--accent-color);
    opacity: 0.7;
    margin-bottom: 5px;
}

.footer-date {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Responsividade */
@media (max-width: 992px) {
    .nav-menu ul {
        gap: 20px;
    }

    .section {
        padding: 80px 30px;
    }

    .name {
        font-size: 4rem;
    }

    .music-container {
        gap: 40px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item::before {
        left: 0 !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        padding: 15px 20px;
    }

    .nav-menu ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .name {
        font-size: 3rem;
    }

    .ampersand {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .counter-display {
        gap: 10px;
    }

    .counter-item {
        min-width: 60px;
        padding: 15px 10px;
    }

    .counter-number {
        font-size: 1.8rem;
    }

    .counter-text {
        font-size: 0.65rem;
    }

    .vinyl-player {
        width: 280px;
        height: 280px;
    }

    .vinyl-disc {
        width: 240px;
        height: 240px;
    }

    .vinyl-label {
        width: 80px;
        height: 80px;
    }

    .lyrics-container {
        width: 100%;
        max-width: 100%;
    }

    .letter {
        padding: 30px;
        margin: 0 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .gallery-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .counter-item {
        min-width: 50px;
        padding: 12px 8px;
    }

    .counter-number {
        font-size: 1.5rem;
    }
}
