/* =============================================================================
   GIRO RELEASES — DESIGN SYSTEM (ESTILO ANTIGRAVITY DARK & GRAFITE)
   ============================================================================= */

:root {
    --bg-main: #121212;
    --bg-card: #1c1c1c;
    --bg-card-hover: #262626;
    --border: #2a2a2a;
    --border-light: #383838;
    
    --primary: #f97316;
    --primary-hover: #ea580c;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #a855f7;

    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-badge {
    width: 48px;
    height: 48px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-text h1 span {
    color: var(--primary);
}

.brand-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.header-badges {
    display: flex;
    gap: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
}

.badge-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.badge-primary {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--primary);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Hero Card (Latest Release) */
.hero-card {
    background: var(--bg-card);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow);
}

.card-tag {
    position: absolute;
    top: -12px;
    left: 28px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 6px;
}

.hero-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.release-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.release-changelog {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 600px;
}

.hash-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #141414;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    max-width: fit-content;
}

.hash-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

.hash-code {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--primary);
    word-break: break-all;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

.btn-download i {
    font-size: 1.6rem;
}

.btn-text strong {
    display: block;
    font-size: 0.95rem;
}

.btn-text span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.btn-manifest {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.btn-manifest:hover {
    color: var(--primary);
}

/* Section Cards */
.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.section-title i {
    color: var(--primary);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.step-box {
    background: #141414;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
}

.step-num {
    width: 28px;
    height: 28px;
    background: rgba(249, 115, 22, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.step-box h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.step-box code {
    background: #1e1e1e;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 0.78rem;
    color: var(--primary);
    border: 1px solid var(--border);
    display: inline-block;
}

/* Table */
.table-container {
    overflow-x: auto;
}

.releases-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.releases-table th {
    background: #141414;
    color: var(--primary);
    padding: 10px 14px;
    text-align: left;
    border-bottom: 2px solid var(--border);
    font-weight: 700;
}

.releases-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.releases-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.btn-sm-dl {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-sm-dl:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-body {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-actions {
        align-items: flex-start;
        width: 100%;
    }
    .btn-download {
        width: 100%;
        justify-content: center;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
