﻿@font-face {
    font-family: Poppins-Bold;
    src: url('../fonts/Poppins-Bold.ttf');
}

@font-face {
    font-family: Poppins-Light;
    src: url('../fonts/Poppins-Light.ttf');
}

@font-face {
    font-family: Poppins-SemiBold;
    src: url('../fonts/Poppins-SemiBold.ttf');
}




:root {
    --background: hsl(210, 20%, 98%);
    --foreground: hsl(215, 25%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 25%, 15%);
    --primary: hsl(195, 70%, 35%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(210, 15%, 93%);
    --secondary-foreground: hsl(215, 25%, 25%);
    --muted: hsl(210, 15%, 95%);
    --muted-foreground: hsl(215, 15%, 50%);
    --border: hsl(210, 20%, 90%);
    --feature: hsl(160, 70%, 40%);
    --feature-foreground: hsl(160, 70%, 98%);
    --feature-bg: hsl(160, 60%, 95%);
    --update: hsl(35, 90%, 50%);
    --update-foreground: hsl(35, 90%, 98%);
    --update-bg: hsl(35, 80%, 95%);
    --fix: hsl(220, 80%, 55%);
    --fix-foreground: hsl(220, 80%, 98%);
    --fix-bg: hsl(220, 70%, 95%);
    --timeline-line: hsl(195, 50%, 85%);
    --timeline-dot: hsl(195, 70%, 35%);
    --shadow-card: 0 4px 12px -2px hsla(215, 25%, 15%, 0.08), 0 2px 4px -2px hsla(215, 25%, 15%, 0.04);
    --shadow-card-hover: 0 8px 24px -4px hsla(215, 25%, 15%, 0.12), 0 4px 8px -4px hsla(215, 25%, 15%, 0.06);
    --radius: 0.75rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: hsl(215, 25%, 10%);
        --foreground: hsl(210, 20%, 95%);
        --card: hsl(215, 25%, 13%);
        --card-foreground: hsl(210, 20%, 95%);
        --primary: hsl(195, 70%, 50%);
        --primary-foreground: hsl(215, 25%, 10%);
        --secondary: hsl(215, 20%, 20%);
        --secondary-foreground: hsl(210, 20%, 90%);
        --muted: hsl(215, 20%, 18%);
        --muted-foreground: hsl(215, 15%, 60%);
        --border: hsl(215, 20%, 20%);
        --feature: hsl(160, 60%, 45%);
        --feature-foreground: hsl(160, 60%, 10%);
        --feature-bg: hsl(160, 40%, 15%);
        --update: hsl(35, 80%, 55%);
        --update-foreground: hsl(35, 80%, 10%);
        --update-bg: hsl(35, 60%, 15%);
        --fix: hsl(220, 70%, 60%);
        --fix-foreground: hsl(220, 70%, 10%);
        --fix-bg: hsl(220, 50%, 18%);
        --timeline-line: hsl(215, 20%, 25%);
        --timeline-dot: hsl(195, 70%, 50%);
        --shadow-card: 0 4px 12px -2px hsla(0, 0%, 0%, 0.3);
        --shadow-card-hover: 0 8px 24px -4px hsla(0, 0%, 0%, 0.4);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: hsla(210, 20%, 98%, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(210, 20%, 90%, 0.5);
}

@media (prefers-color-scheme: dark) {
    .header {
        background-color: hsla(215, 25%, 10%, 0.8);
        border-bottom-color: hsla(215, 20%, 20%, 0.5);
    }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    max-width: 640px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn {
    padding: 8px;
    margin-left: -8px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .header-btn:hover {
        background-color: var(--secondary);
    }

    .header-btn svg {
        width: 20px;
        height: 20px;
        color: var(--foreground);
    }

.header-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
}

.header-subtitle {
    font-size: 12px;
    color: var(--muted-foreground);
}

.notification-btn {
    position: relative;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .notification-btn:hover {
        background-color: var(--secondary);
    }

    .notification-btn svg {
        width: 20px;
        height: 20px;
        color: var(--foreground);
    }

.notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Main Container */
.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 80px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

.stat-card {
    background-color: var(--feature-bg);
    border-radius: var(--radius);
    padding: 12px;
    text-align: center;
}

    .stat-card.update {
        background-color: var(--update-bg);
    }

    .stat-card.fix {
        background-color: var(--fix-bg);
    }

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--feature);
}

.stat-card.update .stat-value {
    color: var(--update);
}

.stat-card.fix .stat-value {
    color: var(--fix);
}

.stat-label {
    font-size: 12px;
    color: var(--feature);
    opacity: 0.8;
}

.stat-card.update .stat-label {
    color: var(--update);
}

.stat-card.fix .stat-label {
    color: var(--fix);
}

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin: 0 -16px 24px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 0;
    animation: fadeIn 0.4s ease-out 0.1s forwards;
}

    .filter-chips::-webkit-scrollbar {
        display: none;
    }

.filter-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

    .filter-chip:hover {
        background-color: hsla(210, 15%, 93%, 0.8);
    }

    .filter-chip:active {
        transform: scale(0.95);
    }

    .filter-chip.active {
        background-color: var(--primary);
        color: var(--primary-foreground);
        box-shadow: 0 2px 8px -2px hsla(195, 70%, 35%, 0.4);
    }

    .filter-chip svg {
        width: 16px;
        height: 16px;
    }

/* Timeline */
.timeline {
    position: relative;
}

/* Release Card */
.release-item {
    position: relative;
    padding-left: 32px;
    padding-bottom: 32px;
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

    .release-item:last-child {
        padding-bottom: 0;
    }

    .release-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .release-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .release-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .release-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .release-item:nth-child(5) {
        animation-delay: 0.5s;
    }

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 11px;
    top: 12px;
    bottom: 0;
    width: 2px;
    background-color: var(--timeline-line);
}

.release-item:last-child .timeline-line {
    display: none;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--card);
    border: 2px solid var(--timeline-dot);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .timeline-dot svg {
        width: 12px;
        height: 12px;
        color: var(--timeline-dot);
    }

/* Card */
.release-card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid hsla(210, 20%, 90%, 0.5);
}

@media (prefers-color-scheme: dark) {
    .release-card {
        border-color: hsla(215, 20%, 20%, 0.5);
    }
}

.release-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.release-card:active {
    transform: scale(0.99);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

    .badge.feature {
        background-color: var(--feature-bg);
        color: var(--feature);
    }

    .badge.update {
        background-color: var(--update-bg);
        color: var(--update);
    }

    .badge.fix {
        background-color: var(--fix-bg);
        color: var(--fix);
    }

.version {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
}

.date {
    font-size: 12px;
    color: var(--muted-foreground);
    white-space: nowrap;
}

/* Card Title */
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.4;
    margin-bottom: 6px;
}

/* Card Description */
.card-description {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Expand Button */
.expand-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.2s;
}

    .expand-btn:hover {
        color: hsla(195, 70%, 35%, 0.8);
    }

    .expand-btn svg {
        width: 16px;
        height: 16px;
        transition: transform 0.2s;
    }

    .expand-btn.expanded svg {
        transform: rotate(180deg);
    }

/* Details Section */
.details-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: all 0.3s ease-out;
}

    .details-wrapper.expanded {
        grid-template-rows: 1fr;
        opacity: 1;
        margin-top: 12px;
    }

.details-content {
    overflow: hidden;
}

.details-inner {
    padding-top: 12px;
    border-top: 1px solid hsla(210, 20%, 90%, 0.5);
}

@media (prefers-color-scheme: dark) {
    .details-inner {
        border-top-color: hsla(215, 20%, 20%, 0.5);
    }
}

.details-list {
    list-style: none;
    margin-bottom: 12px;
}

    .details-list li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 14px;
        color: var(--muted-foreground);
        margin-bottom: 8px;
    }

        .details-list li:last-child {
            margin-bottom: 0;
        }

.bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: hsla(195, 70%, 35%, 0.5);
    margin-top: 6px;
    flex-shrink: 0;
}

/* Image Gallery - Miniaturas */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.image-thumbnail {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid hsla(210, 20%, 90%, 0.5);
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    padding: 0;
}

    .image-thumbnail:hover {
        border-color: var(--primary);
        transform: scale(1.05);
    }

    .image-thumbnail:focus {
        outline: none;
        box-shadow: 0 0 0 2px var(--primary), 0 0 0 4px var(--background);
    }

    .image-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .image-thumbnail::after {
        content: '';
        position: absolute;
        inset: 0;
        background: transparent;
        transition: background 0.2s;
    }

    .image-thumbnail:hover::after {
        background: hsla(0, 0%, 0%, 0.1);
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 0;
    color: var(--muted-foreground);
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

/* Modal de Imagem */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: hsla(0, 0%, 0%, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: hsla(0, 0%, 100%, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .modal-close:hover {
        background: hsla(0, 0%, 100%, 0.2);
    }

    .modal-close svg {
        width: 24px;
        height: 24px;
    }

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, hsla(0, 0%, 0%, 0.7), transparent);
    color: white;
    font-size: 14px;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


















#lovable-badge {
    --badge-bg: #1b1b1b;
    --badge-text: #c5c1b9;
    --badge-text-hover: #dcdad5;
    --badge-radius: 6px;
    --badge-padding: 8px;
    --badge-gap: 6px;
    --badge-shadow: 0 0 0 1px rgba(0, 0, 0, 0.88), 0 1px 0 0 rgba(0, 0, 0, 0.04), 0 2px 2px -1px rgba(0, 0, 0, 0.08), 0 4px 4px -2px rgba(0, 0, 0, 0.08), 0 8px 8px -4px rgba(0, 0, 0, 0.08), 0 16px 16px -8px rgba(0, 0, 0, 0.08);
    --badge-transition-duration: 0.2s;
    --badge-transition-easing: cubic-bezier(0.16, 1, 0.32, 1);
    --focus-color: #575ECF;
    --focus-offset: 2px;
    --focus-width: 2px;
    position: fixed;
    bottom: 12px;
    right: 12px;
    height: 24px;
    display: flex;
    align-items: center;
    z-index: 1000000;
    background-color: var(--badge-bg);
    color: var(--badge-text);
    border-radius: var(--badge-radius);
    box-shadow: var(--badge-shadow);
    font-size: 12px;
    font-family: CameraPlainVariable, "CameraPlainVariable Fallback", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400 !important;
    text-transform: none !important;
    font-feature-settings: normal !important;
    transform: translateZ(0);
    will-change: transform, opacity;
}

#lovable-badge-cta {
    display: flex;
    align-items: center;
    gap: var(--badge-gap);
    padding: 0 var(--badge-padding);
    height: 100%;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    border-radius: var(--badge-radius) 0 0 var(--badge-radius);
    transition: background-color var(--badge-transition-duration) ease, color var(--badge-transition-duration) ease, transform 0.1s ease;
}

    #lovable-badge-cta:hover {
        background: rgba(255, 255, 255, 0.04);
        color: var(--badge-text-hover);
    }

    #lovable-badge-cta:active {
        transform: scale(0.98);
    }

    #lovable-badge-cta:focus {
        outline: none;
    }

    #lovable-badge-cta:focus-visible {
        outline: var(--focus-width) solid var(--focus-color);
        outline-offset: var(--focus-offset);
        z-index: 1;
    }

#lovable-badge-text {
    line-height: 1;
}

#lovable-badge-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

#lovable-badge-close {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 var(--badge-radius) var(--badge-radius) 0;
    flex-shrink: 0;
    transition: background-color var(--badge-transition-duration) ease, transform 0.1s ease;
}

    #lovable-badge-close:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    #lovable-badge-close:active {
        transform: scale(0.92);
    }

    #lovable-badge-close:focus {
        outline: none;
    }

    #lovable-badge-close:focus-visible {
        outline: var(--focus-width) solid var(--focus-color);
        outline-offset: calc(var(--focus-offset) * -1);
        z-index: 1;
    }

    #lovable-badge-close svg path {
        fill: var(--badge-text);
        transition: fill var(--badge-transition-duration) ease;
    }

    #lovable-badge-close:hover svg path {
        fill: var(--badge-text-hover);
    }

@media (prefers-reduced-motion: reduce) {
    #lovable-badge-cta,
    #lovable-badge-close,
    #lovable-badge-close svg path {
        transition: none;
    }

        #lovable-badge-cta:active,
        #lovable-badge-close:active {
            transform: none;
        }
}

@media (prefers-contrast: high) {
    #lovable-badge {
        --badge-bg: #000;
        --badge-text: #fff;
        --badge-text-hover: #fff;
        border: 2px solid currentColor;
    }

    #lovable-badge-cta:focus-visible,
    #lovable-badge-close:focus-visible {
        outline-width: 3px;
    }
}

