:root {
    --color-lightest: #C5EFFB;
    --color-mid: #85C7ED;
    --color-dark: #389DD7;
    --bg-color: #ffffff;
    --text-color: #2b2b2b;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, rgba(133, 199, 237, 0.25) 0%, rgba(197, 239, 251, 0.1) 250px, #ffffff 500px) no-repeat fixed;
    background-color: #ffffff;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, p, span, div, label { color: var(--text-color); }
header a { color: var(--color-dark) !important; }

/* Header Flutuante */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 30px; background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(133, 199, 237, 0.3); border-radius: 20px;
    margin: 20px auto; width: 90%; max-width: 1000px; position: sticky;
    top: 20px; z-index: 100; box-shadow: 0 10px 30px rgba(56, 157, 215, 0.1);
}

.logo-container { display: flex; align-items: center; gap: 15px; font-weight: bold; font-size: 1.2em; text-decoration: none; color: #3E4950 !important; }
header nav { display: flex; align-items: center; }
header nav a { text-decoration: none; font-weight: 600; margin-left: 15px; padding: 8px 16px; border-radius: 12px; transition: 0.3s; }
header nav a:hover { background: var(--color-lightest); color: #1a6d9e !important; }

.btn-translate { background: transparent; border: 1px solid var(--color-mid); color: var(--color-dark); padding: 6px 12px; border-radius: 12px; cursor: pointer; font-weight: bold; margin-left: 15px; transition: 0.3s; }
.btn-translate:hover { background: var(--color-mid); color: white !important; }

.main-content { flex: 1; max-width: 1000px; margin: 20px auto 100px auto; width: 90%; z-index: 10; }

/* Hero Section Home */
.hero { padding: 10px 0 30px 0; display: flex; justify-content: center; position: relative; }
.hero-img-container { position: relative; display: inline-block; max-width: 100%; }
.hero-img-container img { max-width: 100%; max-height: 48vh; height: auto; display: block; filter: drop-shadow(0px 20px 30px rgba(56, 157, 215, 0.2)); }

.badge-overlay { position: absolute; height: 55px; cursor: pointer; transition: transform 0.2s; z-index: 10; filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.3)); }
.pos-top-left { top: 5%; left: 5%; }
.pos-top-right { top: 5%; right: 5%; }
.pos-bottom-left { bottom: 5%; left: 5%; }
.pos-bottom-right { bottom: 0%; right: 0%; }
.pos-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 24px; box-shadow: 0 15px 35px rgba(56, 157, 215, 0.08);
    padding: 30px; margin-bottom: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* =========================================
   RELEASES - TAG IDENTIFICATION STYLE
   ========================================= */
.rel-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;
}
.version-number {
    font-size: 1.8em; font-weight: 800; color: var(--color-dark); margin: 0;
}
.rel-tag {
    display: inline-block; padding: 6px 15px; border-radius: 10px;
    font-size: 12px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.tag-stable { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.tag-beta { background: linear-gradient(135deg, #f39c12, #e67e22); }
.tag-open { background: linear-gradient(135deg, #e67e22, #d35400); }
.tag-alpha { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.tag-nightly { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

/* NOVAS TAGS DE SUPORTE */
.tag-discontinued { background: linear-gradient(135deg, #7f8c8d, #34495e); }
.tag-developing { background: linear-gradient(135deg, #3498db, #2980b9); }
.tag-current { background: linear-gradient(135deg, #16a085, #1abc9c); }
.tag-extended { background: linear-gradient(135deg, #2c3e50, #1a252f); }

.release-notes {
    background: rgba(255,255,255,0.4); border-radius: 15px; padding: 20px;
    border: 1px solid rgba(255,255,255,0.5); line-height: 1.6; color: #444;
}

/* =========================================
   FEATURES STYLE
   ========================================= */
.feature-separator { grid-column: 1 / -1; width: 100%; border-top: 2px dashed var(--color-mid); margin: 20px 0; opacity: 0.4; }
.feature-img { width: 100%; border-radius: 12px; margin: 15px 0; box-shadow: 0 5px 15px rgba(56, 157, 215, 0.15); }
.feature-subtitle { color: var(--color-dark); margin: 15px 0 5px 0; font-size: 1.1em; border-left: 3px solid var(--color-mid); padding-left: 10px; }
.feature-subdesc { font-size: 0.9em; color: #555; margin-bottom: 15px; }

/* =========================================
   WAVY FOOTER
   ========================================= */
footer { position: relative; background: var(--color-dark); text-align: center; padding: 40px 0 20px 0; margin-top: auto; z-index: 1;}
footer p { color: white; margin: 0; z-index: 2; position: relative; } 
.wavy-wrapper { position: absolute; bottom: 100%; left: 0; width: 100%; height: 120px; overflow: hidden; line-height: 0; transform: translateY(1px); pointer-events: none;}
.waves { width: 100%; height: 100%; min-height: 100px; max-height: 120px; }
.parallax-waves > use { animation: move-forever 20s cubic-bezier(.55,.5,.45,.5) infinite; }
.parallax-waves > use:nth-child(1) { animation-delay: -2s; animation-duration: 15s; fill: var(--color-lightest); opacity: 0.4; }
.parallax-waves > use:nth-child(2) { animation-delay: -3s; animation-duration: 20s; fill: var(--color-mid); opacity: 0.3; }
.parallax-waves > use:nth-child(3) { animation-delay: -4s; animation-duration: 25s; fill: var(--color-lightest); opacity: 0.2; }
.parallax-waves > use:nth-child(4) { animation-delay: -5s; animation-duration: 30s; fill: var(--color-dark); }
@keyframes move-forever { 0% { transform: translate3d(-90px,0,0); } 100% { transform: translate3d(85px,0,0); } }

/* Grid / Modals */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); z-index: 999; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; }
.modal-content { background: #fff; width: 90%; max-width: 600px; max-height: 80vh; border-radius: 24px; padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 28px; cursor: pointer; color: var(--color-dark); border: none; background: transparent; font-weight: bold; }
.modal-body { overflow-y: auto; }

/* Admin Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--color-lightest); }
.gallery-item img { width: 100%; height: 70px; object-fit: cover; }
.gallery-item .delete-btn { position: absolute; top: 2px; right: 2px; background: #e74c3c; color: white !important; border-radius: 50%; width: 20px; height: 20px; text-align: center; font-size: 12px; line-height: 20px; text-decoration: none; }