/* ================================
   Paleta:
     BG:       #0D1117
     BG2:      #161B22
     Text:     #FFFFFF
     Text2:    #C9D1D9
     Blue:     #1F6FEB
     Blue Hov: #388BFD
     Red:      #E5533D
     Green:    #2EA043
     Yellow:   #D29922
   Font: Oswald (títulos), Inter (cuerpo)
================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0D1117;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.section-subtitle {
    text-align: center;
    color: #C9D1D9;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}


.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: #1F6FEB;
    color: #FFFFFF;
    border-color: #1F6FEB;
}

.btn-primary:hover {
    background-color: #388BFD;
    border-color: #388BFD;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(31, 111, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #1F6FEB;
}

.btn-secondary:hover {
    background-color: rgba(31, 111, 235, 0.15);
    border-color: #388BFD;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(22, 27, 34, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(13, 17, 23, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.nav-logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    color: #C9D1D9;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1F6FEB;
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #FFFFFF;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-buttons .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
}


.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 17, 23, 0.7) 0%,
        rgba(13, 17, 23, 0.5) 40%,
        rgba(13, 17, 23, 0.85) 80%,
        #0D1117 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 24px;
    border: 3px solid rgba(229, 83, 61, 0.5);
    box-shadow: 0 0 40px rgba(229, 83, 61, 0.3);
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E5533D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #C9D1D9;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.15rem;
    color: #C9D1D9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
    color: #C9D1D9;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}


.stats {
    padding: 60px 0;
    background-color: #0D1117;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background-color: #161B22;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 111, 235, 0.3);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon-blue { background-color: rgba(31, 111, 235, 0.15); color: #1F6FEB; }
.stat-icon-green { background-color: rgba(46, 160, 67, 0.15); color: #2EA043; }
.stat-icon-yellow { background-color: rgba(210, 153, 34, 0.15); color: #D29922; }

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    color: #C9D1D9;
    font-size: 0.95rem;
}

.stat-soon {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #E05C3A;
    background: rgba(224, 92, 58, 0.12);
    border: 1px solid rgba(224, 92, 58, 0.3);
    border-radius: 20px;
    padding: 2px 10px;
    margin-top: 4px;
}


.features {
    padding: 80px 0;
    background-color: #0D1117;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: #161B22;
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(31, 111, 235, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon-red     { background-color: rgba(229, 83, 61, 0.15); color: #E5533D; }
.feature-icon-blue    { background-color: rgba(31, 111, 235, 0.15); color: #1F6FEB; }
.feature-icon-yellow  { background-color: rgba(210, 153, 34, 0.15); color: #D29922; }
.feature-icon-green   { background-color: rgba(46, 160, 67, 0.15); color: #2EA043; }
.feature-icon-pink    { background-color: rgba(219, 97, 162, 0.15); color: #DB61A2; }
.feature-icon-cyan    { background-color: rgba(56, 173, 169, 0.15); color: #38ADA9; }
.feature-icon-orange  { background-color: rgba(229, 142, 61, 0.15); color: #E58E3D; }
.feature-icon-purple  { background-color: rgba(139, 92, 246, 0.15); color: #8B5CF6; }

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #C9D1D9;
    font-size: 0.9rem;
    line-height: 1.6;
}


.commands {
    padding: 80px 0;
    background-color: #161B22;
}

.commands-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
    color: #C9D1D9;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #1F6FEB;
    color: #FFFFFF;
}

.filter-btn.active {
    background-color: #1F6FEB;
    border-color: #1F6FEB;
    color: #FFFFFF;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.command-card {
    background-color: #0D1117;
    border-radius: 8px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
}

.command-card:hover {
    border-color: rgba(31, 111, 235, 0.3);
}

.command-card.hidden {
    display: none;
}

.command-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1F6FEB;
}

.command-desc {
    font-size: 0.85rem;
    color: #C9D1D9;
}


.tutorial {
    padding: 80px 0;
    background-color: #0D1117;
}

.tutorial-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.tutorial-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.tutorial-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.donate {
    padding: 80px 0;
    background-color: #161B22;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.donate-card {
    background-color: #0D1117;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.donate-card:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 111, 235, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.donate-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background-color: rgba(229, 83, 61, 0.12);
    color: #E5533D;
}

.donate-icon-cafecito {
    background-color: rgba(210, 153, 34, 0.12);
    color: #D29922;
}

.donate-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.donate-card p {
    color: #C9D1D9;
    font-size: 0.95rem;
}


.footer {
    padding: 60px 0 24px;
    background-color: #0D1117;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-desc {
    color: #C9D1D9;
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #161B22;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9D1D9;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background-color: #1F6FEB;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #C9D1D9;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #1F6FEB;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #C9D1D9;
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem !important;
    opacity: 0.5;
}


.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .commands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}


@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

  
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: #161B22;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-buttons.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(64px + var(--nav-links-height, 200px));
        left: 0;
        right: 0;
        background-color: #161B22;
        padding: 0 24px 24px;
        gap: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .commands-grid {
        grid-template-columns: 1fr;
    }

    .commands-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .donate-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}


@media (max-width: 400px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

/* ============================================================
   HERO — Live serving banner
   ============================================================ */
.hero-serving-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto 0;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-serving-banner strong {
    color: #ff4444;
    font-weight: 700;
    font-size: 1.05rem;
}

/* ============================================================
   STATS — stat-icon-purple
   ============================================================ */
.stat-icon-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.1));
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}
.stat-icon-orange {
    background: linear-gradient(135deg, rgba(249,115,22,0.18), rgba(234,88,12,0.1));
    color: #fdba74;
    border: 1px solid rgba(249,115,22,0.3);
}

/* ============================================================
   TRUST SECTION — "Gracias por confiar"
   ============================================================ */
.trust {
    padding: 80px 0;
    background: linear-gradient(180deg, #0D1117 0%, #111827 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 68, 68, 0.35);
    box-shadow: 0 8px 32px rgba(255, 68, 68, 0.08);
}

.trust-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}
.trust-card-icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4444, #cc2222);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    border-radius: 16px;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.trust-card-info {
    flex: 1;
    min-width: 0;
}
.trust-card-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trust-card-members {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px;
}

.trust-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.trust-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.trust-badge-verified {
    background: rgba(88, 101, 242, 0.2);
    color: #a5b4fc;
    border: 1px solid rgba(88, 101, 242, 0.4);
}
.trust-badge-partner {
    background: rgba(255, 185, 0, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(255, 185, 0, 0.3);
}
.trust-badge-boost {
    background: rgba(255, 114, 200, 0.15);
    color: #f9a8d4;
    border: 1px solid rgba(255, 114, 200, 0.3);
}

.trust-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    padding: 40px;
}
.trust-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #ff4444;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.trust-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    padding: 40px;
}

@media (max-width: 600px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .hero-serving-banner {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
}

/* =============================
   UPDATES & CHANGELOG
   ============================= */
.updates,
.changelog {
    padding: 80px 0;
}

.updates {
    background-color: #0D1117;
}

.changelog {
    background-color: #161B22;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
}

.update-post {
    background-color: #161B22;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid #F0A500;
    padding: 28px 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.changelog .update-post {
    background-color: #0D1117;
}

.update-post.visible {
    opacity: 1;
    transform: translateY(0);
}

.update-post:hover {
    border-color: rgba(240, 165, 0, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.update-post--bugfix {
    border-left-color: #E5533D;
}

.update-post--bugfix:hover {
    border-color: rgba(229, 83, 61, 0.5);
}

.update-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.update-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.update-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c47b0, #3c1f7a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(108, 71, 176, 0.4);
}

.update-author-avatar--img {
    object-fit: cover;
    background: none;
}

.update-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.update-author-name {
    font-weight: 600;
    color: #E6EDF3;
    font-size: 0.95rem;
}

.update-author-role {
    color: #8B949E;
    font-size: 0.78rem;
}

.update-timestamp {
    color: #8B949E;
    font-size: 0.8rem;
    white-space: nowrap;
}

.update-post-title {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #E6EDF3;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.update-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.update-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
}

.update-meta-label {
    color: #8B949E;
}

.update-meta-value {
    color: #E6EDF3;
    font-weight: 600;
}

.update-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 18px 0;
}

.update-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: #C9D1D9;
    margin-top: 4px;
}

.update-footer-meta strong {
    color: #E6EDF3;
}

.update-sections {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.update-section h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #E6EDF3;
    margin-bottom: 8px;
}

.update-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 4px;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.update-section ul li {
    color: #C9D1D9;
    padding: 3px 0 3px 14px;
    font-size: 0.875rem;
    line-height: 1.6;
    position: relative;
}

.update-section ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #8B949E;
}

.update-section ul ul {
    margin-top: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
}

.update-section ul ul li {
    padding-left: 20px;
    font-size: 0.84rem;
}

.update-section ul ul li::before {
    content: '↳';
    left: 2px;
    color: #8B949E;
    font-size: 0.75rem;
}

.update-section code {
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.82rem;
    color: #79c0ff;
    font-family: 'Courier New', monospace;
}

.update-section strong {
    color: #E6EDF3;
    font-weight: 600;
}

@media (max-width: 600px) {
    .update-post {
        padding: 20px 18px;
    }
    .update-post-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .update-timestamp {
        font-size: 0.75rem;
    }
    .update-meta {
        flex-direction: column;
        gap: 6px;
    }
}

/* ── Staff ────────────────────────────────────────────────────────────────── */
.staff {
    padding: 80px 0;
    background-color: #161B22;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.staff-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #8B949E;
    padding: 48px;
    font-size: 0.9rem;
}

.staff-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #30363D;
    border-top-color: #E05C3A;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

.staff-card {
    background: #0D1117;
    border: 1px solid #21262D;
    border-radius: 16px;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(224, 92, 58, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.staff-avatar-wrapper {
    position: relative;
}

.staff-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #30363D;
    display: block;
}

.staff-avatar-fallback {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #21262D;
    border: 2px solid #30363D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #E05C3A;
}

.staff-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.staff-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #E6EDF3;
    line-height: 1.2;
    word-break: break-word;
}

.staff-role {
    font-size: 0.68rem;
    font-weight: 600;
    color: #E05C3A;
    border: 1px solid rgba(224, 92, 58, 0.35);
    border-radius: 20px;
    padding: 2px 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (max-width: 600px) {
    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 14px;
    }
    .staff-card {
        padding: 18px 12px;
    }
    .staff-avatar,
    .staff-avatar-fallback {
        width: 60px;
        height: 60px;
    }
}
