/* ===========================
   RAILS OF INDIA — style.css
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0b0d10;
    color: #fff;
    overflow-x: hidden;
}

/* ================= NAV ================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

nav.scrolled {
    background: rgba(11, 13, 16, 0.95);
}

.logo {
    font-weight: 900;
    font-size: 1.15rem;
    color: #f59e0b;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.btn-sm {
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-sm:hover {
    background: rgba(255, 255, 255, 0.1);
}

#logout-btn,
#user-name {
    display: none;
}

#user-name {
    color: #f59e0b;
    font-size: 0.82rem;
}

/* ================= HERO ================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('./Images/Howrah_Birdseye.jpg') center/cover no-repeat;
}

.hero-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 13, 16, 0.35),
        rgba(11, 13, 16, 0.7) 60%,
        #0b0d10
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content .tag {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    animation: fade 1s ease 0.2s both;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin: 10px 0;
    background: linear-gradient(135deg, #fff 40%, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fade 1s ease 0.5s both;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.4);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    max-width: 420px;
    margin: 0 auto;
    animation: fade 1s ease 0.8s both;
}

.hero-btns {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade 1s ease 1.1s both;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.35);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-2px);
}

/* ================= ANIMATIONS ================= */
@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= SECTIONS ================= */
section {
    padding: 100px 24px;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
}

/* Inline code + link defaults */
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 0.85em;
}

a:not(.btn):not(.btn-sm):not(.logo) {
    color: #fbbf24;
    text-decoration: none;
    border-bottom: 1px solid rgba(245, 158, 11, 0.35);
    transition: color 0.2s, border-color 0.2s;
}

a:not(.btn):not(.btn-sm):not(.logo):hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.label {
    color: #f59e0b;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-top: 6px;
}

/* ================= FEATURES GRID ================= */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.feat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 26px 20px;
    transition: background 0.25s, transform 0.25s;
}

.feat:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.feat .icon {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.feat h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feat p {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ================= SHOWCASE / ABOUT ================= */
.showcase {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.showcase p {
    color: rgba(255, 255, 255, 0.35);
    max-width: 520px;
    margin: 14px auto 0;
    line-height: 1.7;
}

/* ================= DOWNLOAD CTA ================= */
.cta {
    text-align: center;
}

.cta .heading {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.cta p {
    color: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
}

.cta .hero-btns {
    margin-top: 28px;
}

.cta .meta {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.78rem;
    margin-top: 20px;
}

/* ================= FOOTER ================= */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

footer span {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
}

footer a {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 16px;
    transition: color 0.2s;
}

footer a:hover {
    color: #f59e0b;
}

/* ================= SCROLL REVEAL ================= */
.r {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.r.v {
    opacity: 1;
    transform: translateY(0);
}

/* ================= HERO SHORT (sub-pages) ================= */
.hero-short {
    height: 50vh;
    min-height: 340px;
}

.hero-short .hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
}

/* ================= DOWNLOAD PAGE ================= */

/* Steps */
.instructions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
}

.step-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.step p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    line-height: 1.5;
}

.step code {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Download Cards */
.dl-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 22px 24px;
    margin-top: 14px;
    transition: background 0.25s;
}

.dl-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dl-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dl-card-header .icon {
    font-size: 1.5rem;
}

.dl-card-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
}

.dl-card-header h3 code {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 6px;
}

.dl-card-header p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    margin-top: 2px;
}

.btn-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.btn-enabled {
    opacity: 1;
    pointer-events: auto;
}

/* Patch Table */
.downloads-table {
    margin-top: 18px;
    text-align: left;
}

.downloads-table-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 10px 0 16px;
}

.downloads-table-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.downloads-table-header p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    margin-top: 4px;
}

.patch-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.patch-control {
    display: flex;
    align-items: center;
}

.patch-control input,
.patch-control select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.patch-control input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.patch-control input:focus,
.patch-control select:focus {
    outline: none;
    border-color: rgba(245, 158, 11, 0.6);
}

.patch-control select option {
    color: #0b0d10;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.downloads-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.downloads-table th {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
}

.downloads-table td {
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.downloads-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.downloads-table .btn {
    padding: 8px 16px;
    font-size: 0.78rem;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cat-minor {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.cat-major {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.cat-grand {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.cat-other {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ================= DOCS PAGE ================= */
.docs-hero {
    padding: 140px 24px 80px;
    background: radial-gradient(circle at top, rgba(245, 158, 11, 0.15), transparent 55%);
    text-align: left;
}

.docs-hero .wrap,
.docs .wrap {
    max-width: 1400px;
}

.docs-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    margin-top: 10px;
}

.docs-subtitle {
    color: rgba(255, 255, 255, 0.45);
    margin-top: 12px;
    max-width: 620px;
    line-height: 1.7;
}

.docs-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.docs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.docs-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 40px;
}

.docs {
    padding-top: 60px;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.docs-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.docs-search input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.docs-search-status {
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.docs-search-status[data-empty="false"] {
    color: rgba(245, 158, 11, 0.9);
}

.docs-search-inline {
    margin-top: 24px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.docs-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.docs-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
}

.docs-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.docs-content {
    display: flex;
    flex-direction: column;
    gap: 46px;
}

.docs-sheet {
    background: rgba(17, 22, 29, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 34px 38px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.docs-sheet-header {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 26px;
}

.docs-caption {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.docs-meta-line {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.docs-section h2 {
    font-size: 1.6rem;
    margin-top: 8px;
}

.docs-section h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.docs-section p {
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-top: 10px;
}

.docs-section {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.docs-hidden {
    display: none;
}

.docs-kicker {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(245, 158, 11, 0.9);
    font-weight: 700;
}

.docs-grid,
.docs-structure {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 16px;
}

.docs-split {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 16px;
}

.docs-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
}

.docs-card p {
    margin-top: 6px;
}

.docs-list,
.docs-steps {
    margin-top: 12px;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.docs-list li,
.docs-steps li {
    margin-bottom: 8px;
}

.docs-table table {
    min-width: 520px;
}

.docs-code {
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(17, 22, 29, 0.95), rgba(11, 13, 16, 0.95));
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 12px;
    padding: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    line-height: 1.6;
    overflow-x: auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.docs-code code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
}

.callout {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.callout.light {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.docs-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.docs-note.light {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.docs-checklist {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.check-item {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.docs-faq {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.faq-item {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.docs-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* ================= MOBILE ================= */
@media (max-width: 700px) {
    .nav-links {
        display: none;
    }

    .feat-grid {
        grid-template-columns: 1fr;
    }

    .dl-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .downloads-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .patch-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .patch-control {
        width: 100%;
    }

    .patch-control input,
    .patch-control select {
        width: 100%;
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
    }

    .docs-sheet {
        padding: 26px 22px;
    }
}

@media (max-width: 900px) {
    section {
        padding: 80px 20px;
    }

    .hero {
        height: auto;
        padding: 130px 0 90px;
    }

    nav {
        padding: 12px 20px;
    }
}

/* ================= DONATION SECTION ================= */
.donation {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.donation .heading {
    max-width: 650px;
    margin: 6px auto 0;
}

.donation-subtitle {
    color: rgba(255, 255, 255, 0.35);
    max-width: 520px;
    margin: 14px auto 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Specs Comparison */
.specs-comparison {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.spec-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: left;
    transition: background 0.25s, transform 0.25s;
    position: relative;
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.spec-current {
    border-color: rgba(239, 68, 68, 0.2);
}

.spec-current:hover {
    border-color: rgba(239, 68, 68, 0.35);
}

.spec-goal {
    border-color: rgba(245, 158, 11, 0.2);
}

.spec-goal:hover {
    border-color: rgba(245, 158, 11, 0.4);
}

.spec-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge-current {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-goal {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.spec-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.spec-detail {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
}

/* Arrow between cards */
.spec-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-arrow span {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 900;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        color: #f59e0b;
        transform: translateX(6px);
    }
}

/* Progress Bar */
.donation-progress {
    max-width: 500px;
    margin: 40px auto 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.progress-amount {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fbbf24;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 50px;
    transition: width 1s ease;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

/* Donation Box */
.donation-box {
    max-width: 440px;
    margin: 36px auto 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 32px 28px;
}

.donation-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.donation-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.donate-preset {
    padding: 9px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.donate-preset:hover {
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.08);
}

.donate-preset.active {
    border-color: #f59e0b;
    color: #000;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.25);
}

.donation-custom {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.donation-custom:focus-within {
    border-color: rgba(245, 158, 11, 0.5);
}

.currency-symbol {
    padding: 12px 0 12px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
}

.donate-input {
    flex: 1;
    padding: 12px 18px 12px 6px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.donate-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
}

/* Remove number input spinners */
.donate-input::-webkit-outer-spin-button,
.donate-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.donate-input[type=number] {
    -moz-appearance: textfield;
}

.donate-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 14px;
}

.donation-note {
    color: rgba(255, 255, 255, 0.25) !important;
    font-size: 0.82rem !important;
    margin-top: 0 !important;
}

/* ================= DONATION MOBILE ================= */
@media (max-width: 700px) {
    .specs-comparison {
        flex-direction: column;
        align-items: center;
    }

    .spec-card {
        max-width: 100%;
        width: 100%;
    }

    .spec-arrow span {
        transform: rotate(90deg);
    }

    @keyframes arrowPulse {
        0%, 100% {
            opacity: 0.3;
            transform: rotate(90deg) translateX(0);
        }
        50% {
            opacity: 1;
            color: #f59e0b;
            transform: rotate(90deg) translateX(6px);
        }
    }

    .donation-box {
        padding: 24px 18px;
    }

    .donate-preset {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
