/* ============================================
   SPA.CSS — Navigation + Home + Carousel
   Pixel-perfect match to the reference designs
   ============================================ */

/* ── Body offset for fixed nav ── */
body { padding-top: 68px; }

/* =============================================
   TOP NAV
   ============================================= */
.top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: rgba(4, 8, 18, 0.9);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(255,255,255,0.055);
    box-shadow: 0 2px 32px rgba(0,0,0,0.5);
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,0.038);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 100px;
    padding: 4px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 20px;
    border-radius: 100px;
    color: rgba(120,145,190,0.85);
    background: transparent;
    border: none;
    font-size: 0.855rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    letter-spacing: 0.1px;
    white-space: nowrap;
}
.nav-btn i { font-size: 0.8rem; }
.nav-btn:hover { color: rgba(220,235,255,0.9); }

/* Active base */
.nav-btn.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
/* Active per-section accent */
.nav-btn.nav-accounts.active  { background: rgba(0,200,255,0.14); color: #00c8ff; }
.nav-btn.nav-manifests.active { background: rgba(239,68,68,0.14); color: #f87171; }
.nav-btn.nav-tools.active     { background: rgba(0,255,65,0.13);  color: #00ff41; }

@media (max-width: 480px) {
    .nav-btn span { display: none; }
    .nav-btn { padding: 9px 13px; }
    .nav-btn i { font-size: 0.95rem; }
}

/* =============================================
   SPA SECTION SWITCHER
   ============================================= */
.spa-section { display: none; }
.spa-section.active { display: block; }
#section-home.active { display: flex; }

/* =============================================
   HOME SECTION
   ============================================= */
#section-home {
    min-height: calc(100vh - 60px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.28);
    color: #a78bfa;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 2.2rem;
    animation: hero-enter 0.5s ease both;
}
.home-eyebrow i { color: #c084fc; }

.home-hero-title {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.06;
    font-family: 'Oxanium', sans-serif;
    color: #fff;
    margin-bottom: 0.3rem;
    animation: hero-enter 0.6s ease 0.06s both;
    display: block;
}

.home-gradient-line {
    display: block;
    background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 45%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.1em;
}

.home-hero-sub {
    font-size: 1.1rem;
    color: rgba(140,165,210,0.85);
    max-width: 540px;
    line-height: 1.72;
    margin: 1.4rem auto 2.8rem;
    animation: hero-enter 0.6s ease 0.12s both;
}

/* Home cards */
.home-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1060px;
    width: 100%;
    animation: hero-enter 0.7s ease 0.18s both;
}

.hcard {
    background: rgba(10,16,34,0.88);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.4rem;
    padding: 2rem 1.6rem 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1), border-color 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
}
.hcard::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
}
.hcard:hover { transform: translateY(-9px); }
.hcard:hover::before { opacity: 1; }

/* Per-card accent */
.hcard-accounts::before  { background: radial-gradient(circle at 50% -10%, rgba(0,200,255,0.1), transparent 65%); }
.hcard-manifests::before { background: radial-gradient(circle at 50% -10%, rgba(139,92,246,0.1), transparent 65%); }
.hcard-tools::before     { background: radial-gradient(circle at 50% -10%, rgba(0,255,65,0.09), transparent 65%); }

.hcard-accounts:hover  { border-color: rgba(0,200,255,0.3); box-shadow: 0 22px 55px rgba(0,0,0,0.35), 0 0 28px rgba(0,200,255,0.07); }
.hcard-manifests:hover { border-color: rgba(139,92,246,0.3); box-shadow: 0 22px 55px rgba(0,0,0,0.35), 0 0 28px rgba(139,92,246,0.07); }
.hcard-tools:hover     { border-color: rgba(0,255,65,0.3);   box-shadow: 0 22px 55px rgba(0,0,0,0.35), 0 0 28px rgba(0,255,65,0.07); }

.hcard-icon {
    width: 62px; height: 62px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin: 0 auto 1.1rem;
    position: relative; z-index: 1;
    transition: transform 0.3s ease;
}
.hcard:hover .hcard-icon { transform: scale(1.1) rotate(-5deg); }
.hcard-accounts  .hcard-icon { background: rgba(0,200,255,0.1); color: #00c8ff; border: 1px solid rgba(0,200,255,0.2); }
.hcard-manifests .hcard-icon { background: rgba(139,92,246,0.1); color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }
.hcard-tools     .hcard-icon { background: rgba(0,255,65,0.1); color: #00ff41; border: 1px solid rgba(0,255,65,0.2); }

.hcard-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.55rem;
    font-family: 'Oxanium', sans-serif;
    position: relative; z-index: 1;
}
.hcard-desc {
    font-size: 0.855rem;
    color: rgba(120,148,195,0.85);
    line-height: 1.68;
    margin-bottom: 1.2rem;
    position: relative; z-index: 1;
}
.hcard-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    position: relative; z-index: 1;
    transition: gap 0.2s ease;
}
.hcard-accounts  .hcard-cta { color: #00c8ff; }
.hcard-manifests .hcard-cta { color: #a78bfa; }
.hcard-tools     .hcard-cta { color: #00ff41; }
.hcard:hover .hcard-cta { gap: 11px; }

@media (max-width: 820px) {
    .home-cards { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 540px) {
    .home-hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}

/* =============================================
   RECENTLY ADDED CAROUSEL  (matches Image 1)
   ============================================= */
.rc-section {
    padding: 0.5rem 0 1.8rem;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.rc-section.rc-hiding { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.rc-section.rc-hidden { display: none; }

/* Header row */
.rc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
    gap: 10px;
}
.rc-title-group {
    display: flex;
    align-items: center;
    gap: 11px;
}
/* Green icon box */
.rc-icon-box {
    width: 36px; height: 36px;
    background: rgba(0,220,90,0.12);
    border: 1px solid rgba(0,220,90,0.28);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00dc5a;
    font-size: 0.9rem;
}
.rc-label {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Oxanium', sans-serif;
    color: #fff;
    letter-spacing: 0.2px;
}
/* LIVE badge */
.rc-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(0,220,80,0.1);
    border: 1px solid rgba(0,220,80,0.28);
    color: #00dc5a;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.rc-live::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #00dc5a;
    animation: live-blink 1.4s ease-in-out infinite;
}
@keyframes live-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,220,90,0.45); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(0,220,90,0); }
}

/* Right side: stats + arrows */
.rc-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rc-stats-txt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: rgba(110,140,190,0.85);
    white-space: nowrap;
}
.rc-stats-txt strong { color: #00dc5a; font-weight: 700; }
.rc-dot { margin: 0 6px; opacity: 0.4; }
.rc-nav-wrap { display: flex; gap: 6px; }
.rc-arrow {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(130,160,210,0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: all 0.18s ease;
}
.rc-arrow:hover:not(:disabled) {
    background: rgba(0,220,90,0.12);
    border-color: rgba(0,220,90,0.3);
    color: #00dc5a;
}
.rc-arrow:disabled { opacity: 0.3; cursor: default; }

/* Track */
.rc-overflow {
    overflow: hidden;
    border-radius: 10px;
}
.rc-track {
    display: flex;
    gap: 13px;
    transition: transform 0.42s cubic-bezier(0.22,1,0.36,1);
    will-change: transform;
}

/* === GAME CARD === */
.rc-card {
    flex: 0 0 212px;
    background: #0d1620;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), border-color 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
    display: block;
}
.rc-card:hover {
    transform: translateY(-7px) scale(1.018);
    border-color: rgba(0,220,80,0.35);
    box-shadow: 0 16px 44px rgba(0,0,0,0.5), 0 0 22px rgba(0,220,80,0.06);
}

/* Image area */
.rc-img-wrap {
    position: relative;
    height: 126px;
    overflow: hidden;
    background: #0a1322;
}
.rc-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50px;
    background: linear-gradient(to top, #0d1620, transparent);
    pointer-events: none;
    z-index: 1;
}
.rc-cover {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.rc-card:hover .rc-cover { transform: scale(1.07); }

.rc-no-img {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(145deg, #0d1828, #090f1e);
    color: rgba(90,120,170,0.6);
}
.rc-no-img i { font-size: 1.8rem; }
.rc-no-img span { font-size: 0.68rem; letter-spacing: 0.4px; }

/* NEW badge – top-left */
.rc-badge-new {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 2;
    background: #00cc55;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2.5px 7px;
    border-radius: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,204,80,0.45);
}

/* Acc count pill – top-right */
.rc-badge-acc {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 2;
    background: rgba(6,14,28,0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,200,255,0.35);
    color: #00c8ff;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.rc-badge-acc i { font-size: 0.58rem; }

/* Card body */
.rc-body {
    padding: 9px 11px 11px;
}
.rc-name {
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(210,228,255,0.92);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    transition: color 0.2s;
}
.rc-card:hover .rc-name { color: #fff; }

.rc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rc-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: rgba(90,120,170,0.75);
    font-family: 'JetBrains Mono', monospace;
}
.rc-time i { font-size: 0.62rem; }
.rc-get {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #00cc55;
    transition: gap 0.2s, color 0.2s;
}
.rc-card:hover .rc-get { gap: 8px; color: #00ff77; }

/* === SKELETON CARDS === */
.rc-skel {
    flex: 0 0 212px;
    background: var(--bg-card, #0d1525);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
}
.rcs-img {
    height: 126px;
    background: linear-gradient(90deg, #0d1828 25%, rgba(255,255,255,0.025) 50%, #0d1828 75%);
    background-size: 200% 100%;
    animation: skel-shine 1.9s linear infinite;
}
.rcs-body { padding: 9px 11px 11px; }
.rcs-line {
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, #0d1828 25%, rgba(255,255,255,0.025) 50%, #0d1828 75%);
    background-size: 200% 100%;
    animation: skel-shine 1.9s linear infinite;
    margin-bottom: 6px;
}
.rcs-short { width: 50%; }

@keyframes skel-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =============================================
   MANIFEST SECTION VARIANTS
   ============================================= */
.manifests-gradient {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.manifest-glow {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
}
.manifest-search-box {
    border-color: rgba(239,68,68,0.18) !important;
}
.manifest-search-btn {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
}

/* =============================================
   TOOLS SECTION
   ============================================= */
.tools-spa-section {
    position: relative;
    padding: 2rem 0 3rem;
}
#matrixCanvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.11;
    pointer-events: none;
}
.scanline-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,65,0.012) 2px, rgba(0,255,65,0.012) 4px);
    pointer-events: none;
    z-index: 0;
}
.tools-header-section {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative; z-index: 1;
}
.tools-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    font-family: 'Oxanium', monospace;
    color: #00ff41;
    text-shadow: 0 0 22px rgba(0,255,65,0.3), 0 0 44px rgba(0,255,65,0.12);
    margin-bottom: 0.6rem;
    letter-spacing: 2px;
    animation: glitch 6s infinite;
}
@keyframes glitch {
    0%,86%,100% { text-shadow:0 0 22px rgba(0,255,65,0.3),0 0 44px rgba(0,255,65,0.12); transform:none; }
    87% { text-shadow:3px 0 rgba(255,0,0,0.35),-3px 0 rgba(0,0,255,0.35); transform:translate(-2px,0); }
    88% { text-shadow:-3px 0 rgba(0,0,255,0.35),3px 0 rgba(255,0,0,0.35); transform:translate(2px,0); }
    89% { text-shadow:0 0 22px rgba(0,255,65,0.3); transform:none; }
}
.tools-subtitle { font-size: 0.95rem; color: rgba(0,255,65,0.6); font-family: 'JetBrains Mono', monospace; }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative; z-index: 1;
}
.tool-card {
    background: rgba(4,12,4,0.93);
    border: 1px solid rgba(0,255,65,0.1);
    border-radius: 1.2rem;
    padding: 1.6rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    text-decoration: none;
    display: block;
    animation: card-enter 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.tool-card:nth-child(2){animation-delay:.06s}.tool-card:nth-child(3){animation-delay:.12s}.tool-card:nth-child(4){animation-delay:.18s}.tool-card:nth-child(5){animation-delay:.24s}.tool-card:nth-child(6){animation-delay:.30s}.tool-card:nth-child(7){animation-delay:.36s}.tool-card:nth-child(8){animation-delay:.42s}.tool-card:nth-child(9){animation-delay:.48s}

.tool-card::before {
    content:'';
    position:absolute;
    inset:-1px;
    background:linear-gradient(45deg,#00ff41,#00c853,#00ff41);
    background-size:300% 300%;
    border-radius:1.2rem;
    z-index:-1;
    opacity:0;
    transition:opacity 0.3s ease;
    animation:grad-spin 3.5s ease infinite;
}
@keyframes grad-spin { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.tool-card::after {
    content:'';
    position:absolute;
    top:0;left:-100%;
    width:48%;height:100%;
    background:linear-gradient(90deg,transparent,rgba(0,255,65,0.045),transparent);
    transition:left 0.55s ease;
}
.tool-card:hover::before { opacity:1; }
.tool-card:hover::after { left:200%; }
.tool-card:hover {
    transform:translateY(-8px) scale(1.01);
    background:rgba(5,18,5,0.97);
    box-shadow:0 0 32px rgba(0,255,65,0.07), 0 22px 55px rgba(0,0,0,0.55);
    border-color:transparent;
}
.tool-header { display:flex; align-items:center; gap:1.1rem; margin-bottom:1rem; }
.tool-icon {
    width:50px;height:50px;
    background:rgba(0,255,65,0.06);
    border:1px solid rgba(0,255,65,0.17);
    border-radius:0.85rem;
    display:flex;align-items:center;justify-content:center;
    font-size:1.45rem;
    color:#00d46a;
    transition:all 0.3s ease;
    flex-shrink:0;
}
.tool-card:hover .tool-icon {
    background:#00ff41;
    color:#030a03;
    box-shadow:0 0 20px rgba(0,255,65,0.4);
    transform:rotate(8deg) scale(1.08);
}
.tool-title { font-size:0.97rem; font-weight:700; color:#00d46a; font-family:'Oxanium',monospace; line-height:1.3; transition:color 0.2s, text-shadow 0.2s; }
.tool-card:hover .tool-title { color:#00ff41; text-shadow:0 0 12px rgba(0,255,65,0.4); }
.tool-description { color:rgba(155,210,155,0.6); font-size:0.84rem; line-height:1.65; margin-bottom:1rem; }
.tool-features { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:0.9rem; }
.feature-tag { padding:2.5px 9px; background:rgba(0,255,65,0.055); border:1px solid rgba(0,255,65,0.17); border-radius:100px; font-size:0.66rem; color:#00d46a; font-weight:600; text-transform:uppercase; letter-spacing:0.4px; transition:all 0.2s ease; }
.tool-card:hover .feature-tag { background:rgba(0,255,65,0.1); border-color:rgba(0,255,65,0.3); }
.tool-action { display:flex; align-items:center; justify-content:space-between; padding-top:0.75rem; border-top:1px solid rgba(0,255,65,0.08); }
.action-text { color:rgba(0,255,65,0.5); font-weight:600; font-size:0.75rem; text-transform:uppercase; letter-spacing:1.5px; transition:color 0.2s; }
.tool-card:hover .action-text { color:#00ff41; }
.action-arrow { color:#00d46a; font-size:0.95rem; transition:transform 0.3s ease; }
.tool-card:hover .action-arrow { transform:translateX(8px); filter:drop-shadow(0 0 7px rgba(0,255,65,0.45)); }

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

/* =============================================
   SHARED KEYFRAMES (hero-enter, card-enter)
   ============================================= */
@keyframes hero-enter {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes card-enter {
    from { opacity:0; transform:translateY(24px) scale(0.97); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}

/* =============================================
   FOOTER — SOCIAL + DONATE
   ============================================= */
.spa-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 0 1.5rem;
    background: rgba(4,8,18,0.6);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
}

.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
    letter-spacing: 0.2px;
    cursor: pointer;
}
.footer-social i { font-size: 1rem; }
.footer-social:hover { transform: translateY(-3px); }

/* Discord — indigo */
.footer-social.discord {
    background: rgba(88,101,242,0.12);
    border-color: rgba(88,101,242,0.28);
    color: #818cf8;
}
.footer-social.discord:hover {
    background: rgba(88,101,242,0.22);
    border-color: rgba(88,101,242,0.5);
    color: #a5b4fc;
    box-shadow: 0 8px 24px rgba(88,101,242,0.18);
}

/* YouTube — red */
.footer-social.youtube {
    background: rgba(255,0,0,0.1);
    border-color: rgba(255,0,0,0.22);
    color: #f87171;
}
.footer-social.youtube:hover {
    background: rgba(255,0,0,0.18);
    border-color: rgba(255,0,0,0.4);
    color: #fca5a5;
    box-shadow: 0 8px 24px rgba(255,0,0,0.12);
}

/* Website — cyan */
.footer-social.website {
    background: rgba(0,200,255,0.1);
    border-color: rgba(0,200,255,0.22);
    color: #67e8f9;
}
.footer-social.website:hover {
    background: rgba(0,200,255,0.18);
    border-color: rgba(0,200,255,0.4);
    color: #a5f3fc;
    box-shadow: 0 8px 24px rgba(0,200,255,0.12);
}

/* Donate — warm amber (Buy Me a Coffee brand) */
.footer-social.donate {
    background: linear-gradient(135deg, rgba(255,216,0,0.12), rgba(255,165,0,0.12));
    border-color: rgba(255,200,0,0.3);
    color: #fcd34d;
    position: relative;
    overflow: hidden;
}
.footer-social.donate::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,216,0,0.15), rgba(255,130,0,0.15));
    opacity: 0;
    transition: opacity 0.22s ease;
    border-radius: inherit;
}
.footer-social.donate:hover {
    border-color: rgba(255,200,0,0.55);
    color: #fde68a;
    box-shadow: 0 8px 28px rgba(255,190,0,0.2);
    transform: translateY(-4px) scale(1.03);
}
.footer-social.donate:hover::before { opacity: 1; }
.footer-social.donate span { position: relative; z-index: 1; }
.footer-social.donate i  { position: relative; z-index: 1; }

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 540px) {
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-social-row { gap: 8px; }
    .footer-social span { display: none; }
    .footer-social { padding: 10px 14px; border-radius: 12px; }
    .footer-social i { font-size: 1.15rem; }
}
