:root {
    --bg-dark: #0b1329;
    --card-bg: #111a33;
    --box-bg: #090e1a;
    --accent-orange: #ff5500;
    --accent-blue: #0088ff;
    --accent-gray: #2b3240;
    --text-primary: #ffffff;
    --text-muted: #8c9ba5;
    --border-orange: #ff4500;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-wrapper {
    width: 100%;
    max-width: 1000px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HEADER */
.main-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-title {
    color: #ffffff;
}

.brand-badge {
    color: var(--accent-orange);
    margin-left: 8px;
}

/* MAIN CARD */
.content-container {
    width: 100%;
}

.top-release {
    background-color: var(--card-bg);
    border: 2px solid var(--border-orange);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.15);
    margin-bottom: 40px;
}

.badge-tag {
    display: inline-block;
    background-color: var(--accent-orange);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.version-title {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #ffffff;
}

.release-date {
    color: #ffd700;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* CHANGELOG BOX */
.changelog-box {
    background-color: var(--box-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.changelog-box ul {
    list-style-type: none;
}

.changelog-box li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #c4d1db;
    font-size: 0.95rem;
    line-height: 1.5;
}

.changelog-box li:last-child {
    margin-bottom: 0;
}

.changelog-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8c9ba5;
}

/* BUTTON GRID */
.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .button-grid {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.2s ease-in-out;
}

.btn-windows {
    background-color: var(--accent-blue);
    color: #ffffff;
}

.btn-windows:hover {
    background-color: #0077e6;
    transform: translateY(-2px);
}

.btn-mac {
    background-color: var(--accent-gray);
    color: #ffffff;
}

.btn-mac:hover {
    background-color: #3b4454;
    transform: translateY(-2px);
}

.btn-linux {
    background-color: var(--accent-orange);
    color: #ffffff;
}

.btn-linux:hover {
    background-color: #e04b00;
    transform: translateY(-2px);
}

.btn-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* PREVIOUS RELEASES */
.previous-releases-section {
    width: 100%;
    margin-top: 10px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.previous-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.previous-card {
    background-color: var(--card-bg);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
    .previous-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.previous-info {
    display: flex;
    flex-direction: column;
}

.prev-version {
    font-weight: 800;
    font-size: 1.05rem;

}

.prev-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.prev-buttons {
    display: flex;
    gap: 8px;
}

.prev-btn {
    background-color: #172442;
    color: #0088ff;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.2s;
}

.prev-btn:hover {
    background-color: #20325c;
}

/* FOOTER */
.main-footer {
    margin-top: 60px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.main-footer a {
    color: var(--accent-orange);
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}
