/* ═══════════════════════════════════════════════════════════════
   LATINO KODI - NUVIO PROFESSIONAL THEME
   Clean minimal dark theme with warm amber accent
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,700;14..32,800;14..32,900&family=JetBrains+Mono:wght@400;700;800&display=swap');

:root {
  --bg-deep: #0a0a0a;
  --bg-panel: #111111;
  --bg-card: #111111;
  --bg-input: #1a1a1a;
  --border-color: #2a2a2a;
  --border-focus: #ffc107;
  --border-success: #4af626;
  --text-heading: #F3F4F6;
  --text-main: #EAEAEA;
  --text-muted: #888888;
  --accent: #ffc107;
  --accent-hover: #e6ac00;
  --accent-subtle: rgba(255, 193, 7, 0.1);
  --accent-subtle-hover: rgba(255, 193, 7, 0.18);
  --success: #4af626;
  --success-subtle: rgba(74,246,38,0.08);
  --danger: #ff2a2a;
  --danger-subtle: rgba(255,42,42,0.08);
  --info: #00b0ff;
  --info-subtle: rgba(0, 176, 255, 0.1);
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --transition-fast: 0.12s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Brand Colors */
  --brand-twitch: #9146ff;
  --brand-tiktok: #fe2c55;
  --brand-kick: #53fc18;
  --brand-telegram: #0088cc;
  --brand-youtube: #ff0000;
  --brand-stremio: #7b5fc4;
  --brand-kodi: #17b2e7;
  --brand-torrserve: #2ecc71;
  --brand-nuviotv: #00d4ff;
  --brand-nuviomobile: #ff007f;
  --brand-nuvioplugins: #9c27b0;
  --brand-nuvio: #ffffff;
  --brand-abinanthankv: #8e9aaf;
  --brand-troypoint: #ff9f1c;
  --brand-kodimanager: #ff6b35;
  --brand-realdebrid: #a2d246;
  --brand-torbox: #5b9cf5;
  --brand-torboxdownloader: #5b9cf5;
  --brand-tordownloader: #ffc107;
  --brand-ddownloader: #14b8a6;
  --brand-debridownloader: #0ea5e9;
  --brand-kofi: #ff5e5b;
}



html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
    font-family: var(--font-body);
    background: transparent;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-panel);
    border: 2px solid var(--bg-deep);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

::selection {
    background: var(--accent-subtle-hover);
    color: var(--text-heading);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero {
    text-align: center;
    padding: 4rem 1.5rem 2rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.25) 0%, rgba(255, 42, 42, 0.15) 50%, transparent 70%);
    filter: blur(28px);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.main-logo {
    width: 140px;
    height: auto;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.main-logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 8px 20px rgba(255, 193, 7, 0.25));
}

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FFE082 0%, #FFC107 50%, #FF5252 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.6rem;
    line-height: 0.9;
    filter: drop-shadow(0 2px 10px rgba(255, 193, 7, 0.15));
}

.brand-tagline {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════ */

.social-hub {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Section Titles */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 2.5rem 0 1rem;
    padding: 0 0.2rem;
    animation: fadeInUp 0.6s ease-out both;
}

.section-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px var(--accent-subtle-hover));
    transition: transform var(--transition-base);
}

.section-header:hover .section-icon {
    transform: scale(1.2) rotate(-6deg);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-heading);
    text-transform: uppercase;
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   SOCIAL CARDS
   ═══════════════════════════════════════════════════════════════ */

.social-card {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(18, 18, 18, 0.45);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 1rem;
    animation: fadeInUp 0.5s ease-out both;
}

.social-card:nth-child(1) { animation-delay: 0.05s; }
.social-card:nth-child(2) { animation-delay: 0.1s; }
.social-card:nth-child(3) { animation-delay: 0.15s; }
.social-card:nth-child(4) { animation-delay: 0.2s; }
.social-card:nth-child(5) { animation-delay: 0.25s; }



.social-card:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(26, 26, 26, 0.6);
}

/* Corner accent mark (bottom-right) */
.social-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    opacity: 0;
    transition: var(--transition-base);
}

.social-card:hover::after {
    opacity: 1;
}

.social-card:hover .icon-wrapper {
    transform: scale(1.08) rotate(4deg);
    color: var(--text-heading);
}

.social-card:active {
    transform: translateY(-1px) scale(0.99);
}

.social-card:focus {
    outline: none;
}

.social-card:focus-visible {
    border-color: var(--border-focus);
    border-left-color: var(--border-focus);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}

/* Icon Container */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.icon-wrapper svg {
    width: 17px;
    height: 17px;
}

/* Text Content */
.text-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.platform-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-heading);
    line-height: 1.15;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.platform-desc {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
    text-align: left;
    letter-spacing: 0.01em;
}

/* Version Badge */
.version-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--info);
    font-weight: 500;
    letter-spacing: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1px 6px;
}

/* ═══════════════════════════════════════════════════════════════
   CODE BADGES (Right-aligned)
   ═══════════════════════════════════════════════════════════════ */

.code-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    margin-left: auto;
    background: rgba(255, 193, 7, 0.06);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.04em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.code-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.social-card:hover .code-badge {
    background: rgba(255, 193, 7, 0.12);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.2);
    color: #fff;
}

.social-card:hover .code-badge::before {
    transform: translateX(100%);
}

.code-badge.copied {
    background: rgba(74, 246, 38, 0.12) !important;
    border-color: var(--success) !important;
    color: var(--success) !important;
    box-shadow: 0 0 12px rgba(74, 246, 38, 0.25) !important;
}

/* ═══════════════════════════════════════════════════════════════
   BRAND HOVER EFFECTS
   ═══════════════════════════════════════════════════════════════ */

/* Brand Hover Glow & Accent Highlights */
.social-card[data-platform="kofi"]:hover {
    border-color: rgba(255, 94, 91, 0.35);
    border-left-color: var(--brand-kofi);
    background: rgba(255, 94, 91, 0.04);
    box-shadow: 0 12px 30px -10px rgba(255, 94, 91, 0.3);
}
.social-card[data-platform="kofi"]:hover .icon-wrapper {
    background: rgba(255, 94, 91, 0.15);
    border-color: var(--brand-kofi);
    color: var(--brand-kofi);
}

.social-card[data-platform="twitch"]:hover {
    border-color: rgba(145, 70, 255, 0.35);
    border-left-color: var(--brand-twitch);
    background: rgba(145, 70, 255, 0.04);
    box-shadow: 0 12px 30px -10px rgba(145, 70, 255, 0.3);
}
.social-card[data-platform="twitch"]:hover .icon-wrapper {
    background: rgba(145, 70, 255, 0.15);
    border-color: var(--brand-twitch);
    color: var(--brand-twitch);
}

.social-card[data-platform="tiktok"]:hover {
    border-color: rgba(254, 44, 85, 0.35);
    border-left-color: var(--brand-tiktok);
    background: rgba(254, 44, 85, 0.04);
    box-shadow: 0 12px 30px -10px rgba(254, 44, 85, 0.3);
}
.social-card[data-platform="tiktok"]:hover .icon-wrapper {
    background: rgba(254, 44, 85, 0.15);
    border-color: var(--brand-tiktok);
    color: var(--brand-tiktok);
}

.social-card[data-platform="kick"]:hover {
    border-color: rgba(83, 252, 24, 0.25);
    border-left-color: var(--brand-kick);
    background: rgba(83, 252, 24, 0.03);
    box-shadow: 0 12px 30px -10px rgba(83, 252, 24, 0.2);
}
.social-card[data-platform="kick"]:hover .icon-wrapper {
    background: rgba(83, 252, 24, 0.15);
    border-color: var(--brand-kick);
    color: var(--brand-kick);
}

.social-card[data-platform="telegram"]:hover {
    border-color: rgba(0, 136, 204, 0.35);
    border-left-color: var(--brand-telegram);
    background: rgba(0, 136, 204, 0.04);
    box-shadow: 0 12px 30px -10px rgba(0, 136, 204, 0.3);
}
.social-card[data-platform="telegram"]:hover .icon-wrapper {
    background: rgba(0, 136, 204, 0.15);
    border-color: var(--brand-telegram);
    color: var(--brand-telegram);
}

.social-card[data-platform="youtube"]:hover {
    border-color: rgba(255, 0, 0, 0.35);
    border-left-color: var(--brand-youtube);
    background: rgba(255, 0, 0, 0.04);
    box-shadow: 0 12px 30px -10px rgba(255, 0, 0, 0.3);
}
.social-card[data-platform="youtube"]:hover .icon-wrapper {
    background: rgba(255, 0, 0, 0.15);
    border-color: var(--brand-youtube);
    color: var(--brand-youtube);
}

.social-card[data-platform="kodimanager"]:hover {
    border-color: rgba(255, 107, 53, 0.35);
    border-left-color: var(--brand-kodimanager);
    background: rgba(255, 107, 53, 0.04);
    box-shadow: 0 12px 30px -10px rgba(255, 107, 53, 0.3);
}
.social-card[data-platform="kodimanager"]:hover .icon-wrapper {
    background: rgba(255, 107, 53, 0.15);
    border-color: var(--brand-kodimanager);
    color: var(--brand-kodimanager);
}

.social-card[data-platform="torboxdownloader"]:hover {
    border-color: rgba(91, 156, 245, 0.35);
    border-left-color: var(--brand-torboxdownloader);
    background: rgba(91, 156, 245, 0.04);
    box-shadow: 0 12px 30px -10px rgba(91, 156, 245, 0.3);
}
.social-card[data-platform="torboxdownloader"]:hover .icon-wrapper {
    background: rgba(91, 156, 245, 0.15);
    border-color: var(--brand-torboxdownloader);
    color: var(--brand-torboxdownloader);
}

.social-card[data-platform="debridownloader"]:hover {
    border-color: rgba(14, 165, 233, 0.35);
    border-left-color: var(--brand-debridownloader);
    background: rgba(14, 165, 233, 0.04);
    box-shadow: 0 12px 30px -10px rgba(14, 165, 233, 0.3);
}
.social-card[data-platform="debridownloader"]:hover .icon-wrapper {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--brand-debridownloader);
    color: var(--brand-debridownloader);
}

.social-card[data-platform="realdebrid"]:hover {
    border-color: rgba(162, 210, 70, 0.35);
    border-left-color: var(--brand-realdebrid);
    background: rgba(162, 210, 70, 0.04);
    box-shadow: 0 12px 30px -10px rgba(162, 210, 70, 0.3);
}
.social-card[data-platform="realdebrid"]:hover .icon-wrapper {
    background: rgba(162, 210, 70, 0.15);
    border-color: var(--brand-realdebrid);
    color: var(--brand-realdebrid);
}

.social-card[data-platform="torbox"]:hover {
    border-color: rgba(91, 156, 245, 0.35);
    border-left-color: var(--brand-torbox);
    background: rgba(91, 156, 245, 0.04);
    box-shadow: 0 12px 30px -10px rgba(91, 156, 245, 0.3);
}
.social-card[data-platform="torbox"]:hover .icon-wrapper {
    background: rgba(91, 156, 245, 0.15);
    border-color: var(--brand-torbox);
    color: var(--brand-torbox);
}

.social-card[data-platform="stremiodl"]:hover {
    border-color: rgba(123, 95, 196, 0.35);
    border-left-color: var(--brand-stremio);
    background: rgba(123, 95, 196, 0.04);
    box-shadow: 0 12px 30px -10px rgba(123, 95, 196, 0.3);
}
.social-card[data-platform="stremiodl"]:hover .icon-wrapper {
    background: rgba(123, 95, 196, 0.15);
    border-color: var(--brand-stremio);
    color: var(--brand-stremio);
}

.social-card[data-platform="kodidl"]:hover {
    border-color: rgba(23, 178, 231, 0.35);
    border-left-color: var(--brand-kodi);
    background: rgba(23, 178, 231, 0.04);
    box-shadow: 0 12px 30px -10px rgba(23, 178, 231, 0.3);
}
.social-card[data-platform="kodidl"]:hover .icon-wrapper {
    background: rgba(23, 178, 231, 0.15);
    border-color: var(--brand-kodi);
    color: var(--brand-kodi);
}

.social-card[data-platform="torrservedl"]:hover {
    border-color: rgba(46, 204, 113, 0.35);
    border-left-color: var(--brand-torrserve);
    background: rgba(46, 204, 113, 0.04);
    box-shadow: 0 12px 30px -10px rgba(46, 204, 113, 0.3);
}
.social-card[data-platform="torrservedl"]:hover .icon-wrapper {
    background: rgba(46, 204, 113, 0.15);
    border-color: var(--brand-torrserve);
    color: var(--brand-torrserve);
}

.social-card[data-platform="nuviotvdl"]:hover {
    border-color: rgba(0, 212, 255, 0.35);
    border-left-color: var(--brand-nuviotv);
    background: rgba(0, 212, 255, 0.04);
    box-shadow: 0 12px 30px -10px rgba(0, 212, 255, 0.3);
}
.social-card[data-platform="nuviotvdl"]:hover .icon-wrapper {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--brand-nuviotv);
    color: var(--brand-nuviotv);
}

.social-card[data-platform="nuviomobiledl"]:hover {
    border-color: rgba(255, 0, 127, 0.35);
    border-left-color: var(--brand-nuviomobile);
    background: rgba(255, 0, 127, 0.04);
    box-shadow: 0 12px 30px -10px rgba(255, 0, 127, 0.3);
}
.social-card[data-platform="nuviomobiledl"]:hover .icon-wrapper {
    background: rgba(255, 0, 127, 0.15);
    border-color: var(--brand-nuviomobile);
    color: var(--brand-nuviomobile);
}

.social-card[data-platform="nuvioplugins"]:hover {
    border-color: rgba(156, 39, 176, 0.35);
    border-left-color: var(--brand-nuvioplugins);
    background: rgba(156, 39, 176, 0.04);
    box-shadow: 0 12px 30px -10px rgba(156, 39, 176, 0.3);
}
.social-card[data-platform="nuvioplugins"]:hover .icon-wrapper {
    background: rgba(156, 39, 176, 0.15);
    border-color: var(--brand-nuvioplugins);
    color: var(--brand-nuvioplugins);
}

.social-card[data-platform="nuvio"]:hover,
.social-card[data-platform="latinuvio2"]:hover {
    border-color: rgba(255, 255, 255, 0.2);
    border-left-color: var(--brand-nuvio);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 12px 30px -10px rgba(255, 255, 255, 0.1);
}
.social-card[data-platform="nuvio"]:hover .icon-wrapper,
.social-card[data-platform="latinuvio2"]:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-nuvio);
    color: var(--brand-nuvio);
}

.social-card[data-platform="autosetupnuvio"]:hover {
    border-color: rgba(255, 193, 7, 0.35);
    border-left-color: var(--accent);
    background: rgba(255, 193, 7, 0.04);
    box-shadow: 0 12px 30px -10px rgba(255, 193, 7, 0.3);
}
.social-card[data-platform="autosetupnuvio"]:hover .icon-wrapper {
    background: rgba(255, 193, 7, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.social-card[data-platform="abinanthankv"]:hover {
    border-color: rgba(142, 154, 175, 0.35);
    border-left-color: var(--brand-abinanthankv);
    background: rgba(142, 154, 175, 0.04);
    box-shadow: 0 12px 30px -10px rgba(142, 154, 175, 0.3);
}
.social-card[data-platform="abinanthankv"]:hover .icon-wrapper {
    background: rgba(142, 154, 175, 0.15);
    border-color: var(--brand-abinanthankv);
    color: var(--brand-abinanthankv);
}

.social-card[data-platform="troypointdl"]:hover {
    border-color: rgba(255, 159, 28, 0.35);
    border-left-color: var(--brand-troypoint);
    background: rgba(255, 159, 28, 0.04);
    box-shadow: 0 12px 30px -10px rgba(255, 159, 28, 0.3);
}
.social-card[data-platform="troypointdl"]:hover .icon-wrapper {
    background: rgba(255, 159, 28, 0.15);
    border-color: var(--brand-troypoint);
    color: var(--brand-troypoint);
}

.social-card[data-platform="tordownloader"]:hover {
    border-color: rgba(255, 193, 7, 0.35);
    border-left-color: var(--brand-tordownloader);
    background: rgba(255, 193, 7, 0.04);
    box-shadow: 0 12px 30px -10px rgba(255, 193, 7, 0.3);
}
.social-card[data-platform="tordownloader"]:hover .icon-wrapper {
    background: rgba(255, 193, 7, 0.15);
    border-color: var(--brand-tordownloader);
    color: var(--brand-tordownloader);
}

.social-card[data-platform="ddownloader"]:hover {
    border-color: rgba(20, 184, 166, 0.35);
    border-left-color: var(--brand-ddownloader);
    background: rgba(20, 184, 166, 0.04);
    box-shadow: 0 12px 30px -10px rgba(20, 184, 166, 0.3);
}
.social-card[data-platform="ddownloader"]:hover .icon-wrapper {
    background: rgba(20, 184, 166, 0.15);
    border-color: var(--brand-ddownloader);
    color: var(--brand-ddownloader);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.modern-footer {
    width: 100%;
    padding: 2rem 1.5rem calc(2.5rem + env(safe-area-inset-bottom));
    display: flex;
    justify-content: center;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.footer-glass-box {
    width: 100%;
    max-width: 540px;
    background: rgba(18, 18, 18, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* Top accent line */
.footer-glass-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, #FF5252 100%);
}

/* Corner accent mark */
.footer-glass-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.footer-kofi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.kofi-message-container {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 480px;
    margin-bottom: 0.5rem;
}

.kofi-message {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.kofi-message-highlight {
    color: var(--text-heading);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
}

.kofi-message-thanks {
    color: var(--accent);
    font-weight: 600;
}

.kofi-footer-image-link {
    display: inline-block;
    transition: var(--transition-base);
    z-index: 2;
}

.kofi-footer-image-link img {
    height: 40px;
    width: auto;
    display: block;
    transition: var(--transition-base);
}

.kofi-footer-image-link:hover img {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 8px 20px rgba(255, 94, 91, 0.4));
}



/* Visitor Counter */
.visitor-counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    background: rgba(74, 246, 38, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 246, 38, 0.12);
    border-left: 3px solid var(--success);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.visitor-counter-wrapper:hover {
    border-color: rgba(255, 193, 7, 0.25);
    border-left-color: var(--accent);
    background: rgba(255, 193, 7, 0.02);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.08);
}

.live-indicator {
    position: relative;
    width: 10px;
    height: 10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--success);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.visitor-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.visitor-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.count-number {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent);
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: var(--transition-base);
}

.footer-link:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════════════════════════════════════ */

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-panel);
    border: 1px solid var(--success);
    color: var(--text-main);
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════
   SHARE FAB
   ═══════════════════════════════════════════════════════════════ */

.share-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.share-fab svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.share-fab:hover {
    transform: translateY(-4px) rotate(15deg);
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-deep);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.35);
}

.share-fab:hover svg {
    transform: scale(1.1);
}

.share-fab:active {
    transform: translateY(-1px) scale(0.95);
}

/* ═══════════════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS (GSAP-independent fallbacks)
   ═══════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 640px) {
    .hero {
        padding: 5rem 2rem 2.5rem;
    }

    .main-logo {
        width: 160px;
    }

    .social-hub {
        max-width: 600px;
    }

    .social-card {
        padding: 0.7rem 1rem;
    }

    .platform-name {
        font-size: 1.15rem;
    }

    .icon-wrapper {
        width: 38px;
        height: 38px;
    }

    .icon-wrapper svg {
        width: 19px;
        height: 19px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .footer-glass-box {
        max-width: 600px;
        padding: 2.25rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem 1.5rem;
    }

    .main-logo {
        width: 120px;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    .social-hub {
        padding: 0 1rem 2.5rem;
    }

    .section-header {
        margin: 1.5rem 0 0.6rem;
    }

    .section-title {
        font-size: 1.05rem;
    }

    .social-card {
        padding: 0.55rem 0.7rem;
        gap: 0.6rem;
    }

    .icon-wrapper {
        width: 30px;
        height: 30px;
    }

    .icon-wrapper svg {
        width: 15px;
        height: 15px;
    }

    .platform-name {
        font-size: 0.98rem;
    }

    .platform-desc {
        font-size: 0.65rem;
    }

    .version-tag {
        font-size: 0.68rem;
    }

    .code-badge {
        font-size: 0.72rem;
        padding: 0.25rem 0.5rem;
    }

    .share-fab {
        bottom: calc(1.25rem + env(safe-area-inset-bottom));
        right: 1.25rem;
        width: 46px;
        height: 46px;
    }

    .toast {
        font-size: 0.78rem;
        padding: 0.75rem 1.25rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATED BACKGROUND
   ═══════════════════════════════════════════════════════════════ */

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background-color: var(--bg-deep);
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.02) 0%, transparent 80%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(51, 51, 51, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 51, 51, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform;
}

.bg-orb--1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.12) 0%, rgba(255, 143, 0, 0.03) 50%, transparent 70%);
  top: -15%;
  left: -15%;
  animation: floatOrb1 25s infinite alternate ease-in-out;
}

.bg-orb--2 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 42, 42, 0.1) 0%, rgba(255, 0, 127, 0.02) 50%, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation: floatOrb2 20s infinite alternate ease-in-out;
}

.bg-orb--3 {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(145, 70, 255, 0.08) 0%, rgba(123, 95, 196, 0.02) 50%, transparent 70%);
  top: 35%;
  left: 55%;
  animation: floatOrb3 30s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 8vh) scale(1.1); }
  100% { transform: translate(-4vw, -4vh) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1.05); }
  50% { transform: translate(-8vw, -10vh) scale(0.95); }
  100% { transform: translate(4vw, 5vh) scale(1.02); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(0.95); }
  50% { transform: translate(10vw, -6vh) scale(1.1); }
  100% { transform: translate(-5vw, 8vh) scale(0.9); }
}

/* prefers-reduced-motion safeguard */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .bg-orb {
    animation: none !important;
  }
}
