/* ==========================================================
   CUSTOM FONT DECLARATION
   ========================================================== */
@font-face {
    font-family: 'Byrd';
    src: url('fonts/byrd-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
/* ==========================================================
   CSS VARIABLES (ROOT COLORS) - UBAH WARNA DI SINI SAJA!
   ========================================================== */
:root {
    /* 🎨 PRIMARY COLORS - GREEN THEME */
    --primary-purple: #22c55e;
    --primary-pink: #16a34a;
    --primary-orange: #22c55e;
    --primary-indigo: #15803d;
    --primary-violet: #166534;
    --primary-rose: #14532d;
    /* 🌙 DARK THEME COLORS */
    --bg-primary: #0a031c;
    --bg-secondary: #23272f;
    --bg-card: rgba(35, 39, 47, 0.8);
    --bg-overlay: rgba(0, 0, 0, 0.8);
    --bg-navbar: rgba(17, 24, 39, 0.8);
    /* 📝 TEXT COLORS */
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --text-purple: #22c55e;
    --text-pink: #16a34a;
    --text-orange: #22c55e;
    --text-indigo: #15803d;
    --text-violet: #166534;
    --text-rose: #14532d;
    /* 🔗 BORDER COLORS */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-purple: #22c55e;
    --border-pink: #16a34a;
    --border-orange: #22c55e;
    /* ✨ GLOW COLORS */
    --glow-purple: rgba(34, 197, 94, 0.4);
    --glow-pink: rgba(22, 163, 74, 0.4);
    --glow-orange: rgba(34, 197, 94, 0.4);
    /* 🌟 SHINE EFFECT COLORS */
    --shine-color: rgba(34, 197, 94, 0.1);
    /* 🎯 NOTIFICATION COLORS */
    --success-color: #10b981;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    /* 🎨 BUTTON COLORS */
    --btn-buy-bg: rgba(34, 197, 94, 0.2);
    --btn-buy-bg-hover: rgba(34, 197, 94, 0.3);
    --btn-buy-border: rgba(34, 197, 94, 0.3);
    --btn-buy-border-hover: rgba(34, 197, 94, 0.5);
    --btn-buy-shadow: rgba(34, 197, 94, 0.3);
    --btn-buy-shadow-hover: rgba(34, 197, 94, 0.4);
    --btn-buy-shine: rgba(34, 197, 94, 0.2);
    /* 🎨 TEXT SECTION COLORS */
    --text-marketcap: #22c55e;
    --text-volume: #16a34a;
    --text-liquidity: #22c55e;
    --text-fdv: #22c55e;
    --text-supply: #22c55e;
    --text-tokenomics-marketcap: #16a34a;
    --text-tokenomics-priceusd: #22c55e;
    --text-hero-priceusd: #22c55e;
    --text-hero-pricenative: #16a34a;
    --text-hero-change: #22c55e;
    /* 🎨 SECONDARY BUTTON COLORS */
    --btn-secondary-bg: rgba(22, 163, 74, 0.2);
    --btn-secondary-bg-hover: rgba(22, 163, 74, 0.3);
    --btn-secondary-border: rgba(22, 163, 74, 0.3);
    --btn-secondary-border-hover: rgba(22, 163, 74, 0.5);
    --btn-secondary-shadow: rgba(22, 163, 74, 0.3);
    --btn-secondary-shadow-hover: rgba(22, 163, 74, 0.4);
    --btn-secondary-shine: rgba(22, 163, 74, 0.2);
    --notif-green: #22c55e;
    /* ==========================================================
       JAX COSMIC COLOR PALETTE (EXTRACTED FROM SUPERNOVA IMAGE)
       ========================================================== */
    /* PRIMARY (Biru Neon & Variasi) */
    --jax-blue: #3a7cff;
    --jax-blue-light: #6fd6ff;
    --jax-blue-dark: #1a3a6e;
    /* ACCENT (Merah & Oranye Neon) */
    --jax-red: #ff2a00;
    --jax-red-light: #ff7c1a;
    --jax-red-dark: #b21800;
    /* HIGHLIGHT (Kuning Neon) */
    --jax-yellow: #ffe14a;
    --jax-yellow-light: #fff7b2;
    --jax-yellow-dark: #bfa100;
    /* BACKGROUND (Biru Tua/Hitam Angkasa) */
    --jax-space: #0a0a2a;
    --jax-space-light: #23234a;
    --jax-space-dark: #020228;
    /* GRADIENTS */
    --jax-gradient-main: linear-gradient(90deg, #3a7cff 0%, #ff2a00 100%);
    --jax-gradient-accent: linear-gradient(90deg, #ff2a00 0%, #ff7c1a 100%);
    --jax-gradient-blue: linear-gradient(90deg, #1a3a6e 0%, #6fd6ff 100%);
}
body,
html,
* {
    color: var(--text-marketcap) !important;
}
html {
    /* scroll-behavior: smooth; */
}
body {
    font-family: 'Byrd', 'Inter', sans-serif;
    background-color: #f0f2f5;
    /* Light grey background */
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}
/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Flash effect for data updates */
@keyframes flash-update {
    0% {
        color: inherit;
        transform: scale(1);
    }
    50% {
        color: #22d3ee;
        transform: scale(1.02);
    }
    100% {
        color: inherit;
        transform: scale(1);
    }
}
.flash-update {
    animation: flash-update 0.5s ease-in-out;
}
/* Custom styles for the crypto tracking website */
/* Loading animation */
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Green flash effect for increasing values */
@keyframes flashGreen {
    0% {
        color: inherit;
        transform: scale(1);
    }
    50% {
        color: #22c55e;
        transform: scale(1.05);
    }
    100% {
        color: inherit;
        transform: scale(1);
    }
}
.flash-green {
    animation: flashGreen 0.6s ease-in-out;
}
/* Red flash effect for decreasing values */
@keyframes flashRed {
    0% {
        color: inherit;
        transform: scale(1);
    }
    50% {
        color: #ef4444;
        transform: scale(1.05);
    }
    100% {
        color: inherit;
        transform: scale(1);
    }
}
.flash-red {
    animation: flashRed 0.6s ease-in-out;
}
/* Custom font */
.font-inter {
    font-family: 'Byrd', 'Inter', sans-serif;
}
/* Glassmorphism effect for navbar */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
/* Gradient text effect */
.bg-gradient-to-r {
    background: linear-gradient(to right, var(--tw-gradient-stops));
}
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}
.text-transparent {
    color: transparent;
}
/* Custom card shadows */
.shadow-\[0_0_32px_0_\#22d3ee55\] {
    box-shadow: 0 0 32px 0 rgba(34, 211, 238, 0.33);
}
/* Loading state styling */
.loading-data {
    color: #22d3ee;
    font-style: italic;
    animation: pulse 2s infinite;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    .text-6xl {
        font-size: 3rem;
    }
    .text-4xl {
        font-size: 2rem;
    }
    .text-3xl {
        font-size: 1.5rem;
    }
}
/* Card hover effect */
.bg-\[#23272f\]:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px 0 rgba(34, 211, 238, 0.4);
    transition: all 0.3s ease;
}
/* Smooth transitions for all cards */
.bg-\[#23272f\] {
    transition: all 0.3s ease;
}
/* ==========================================================
   ANIMASI NOTIFIKASI
   ========================================================== */
/* Notification always on top - Professional Compact Design */
.notification {
    z-index: 2147483647 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    pointer-events: auto !important;
    min-width: 320px;
    max-width: 400px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #1a1a1a !important;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: notif-in-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Exception untuk icon di dalam notification */
.notification .fas,
.notification .fa,
.notification .fab,
.notification .far {
    color: #1a1a1a !important;
}
@keyframes notif-in-top {
    0% {
        opacity: 0;
        transform: translateX(100%) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}
.notification.success {
    background: linear-gradient(90deg, #10b981 80%, #059669 100%);
    color: #fff;
    border-left: 4px solid #10b981;
}
.notification.error {
    background: linear-gradient(90deg, #ef4444 80%, #dc2626 100%);
    color: #fff;
    border-left: 4px solid #ef4444;
}
.notification.info {
    background: linear-gradient(90deg, #3b82f6 80%, #2563eb 100%);
    color: #fff;
    border-left: 4px solid #3b82f6;
}
.notification .notif-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    opacity: 0.9;
}
.notification .notif-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 2px;
    border-radius: 4px;
}
.notification .notif-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}
/* Responsive design untuk notifikasi */
@media (max-width: 768px) {
    .notification {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        min-width: auto;
        max-width: none;
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
    .notification .notif-icon {
        font-size: 1rem;
    }
    .notification .notif-close {
        font-size: 0.875rem;
    }
}
/* Responsive design untuk tombol CA */
@media (max-width: 768px) {
    .button {
        min-width: 240px;
        padding: 10px 20px;
        height: 44px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .button {
        min-width: 200px;
        padding: 8px 16px;
        height: 40px;
        font-size: 13px;
    }
    .button .state p span {
        font-size: 12px;
    }
}
@keyframes notif-out {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scale(0.95);
    }
}
@keyframes shine-green {
    0% {
        box-shadow: 0 0 0 0 var(--notif-green);
    }
    50% {
        box-shadow: 0 0 24px 8px var(--notif-green);
    }
    100% {
        box-shadow: 0 0 0 0 var(--notif-green);
    }
}
.shake-notif {
    animation: shake-notif 0.5s;
}
/* Notification color classes */
.notification.success {
    background-color: var(--success-color);
    color: var(--text-primary);
}
.notification.error {
    background-color: var(--error-color);
    color: var(--text-primary);
}
.notification.info {
    background-color: var(--info-color);
    color: var(--text-primary);
}
/* ==========================================================
   EFEK HOVER CARD
   ========================================================== */
/* Efek hover untuk semua card */
.card,
.contract-address-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    /* Hapus glow default */
    box-shadow: none;
    /* Tambahkan position relative untuk shine effect */
    position: relative;
    overflow: hidden;
}
.card:hover,
.contract-address-card:hover {
    transform: scale(0.97);
    /* Glow hanya muncul saat hover */
    box-shadow: 0 0 40px 8px var(--glow-green);
}
.card:active,
.contract-address-card:active {
    transform: scale(0.95);
}
/* Efek hover untuk icon di dalam card */
.card svg,
.contract-address-card svg {
    transition: transform 0.4s ease;
}
.card:hover svg,
.contract-address-card:hover svg {
    transform: scale(1.05);
}
/* Efek kilauan (shine effect) untuk semua card */
.card::before,
.contract-address-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--shine-color), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.card:hover::before,
.contract-address-card:hover::before {
    left: 100%;
}
/* ==========================================================
   ANIMASI PULSE
   ========================================================== */
#market-marketcap {
    color: var(--text-marketcap);
}
#market-volume24h {
    color: var(--text-volume);
}
#market-liquidity {
    color: var(--text-liquidity);
}
#fdv {
    color: var(--text-fdv);
}
#tokenomics-supply {
    color: var(--text-supply);
}
#tokenomics-marketcap {
    color: var(--text-tokenomics-marketcap);
}
#tokenomics-priceusd {
    color: var(--text-tokenomics-priceusd);
}
#price-usd {
    color: var(--text-hero-priceusd);
}
#price-native {
    color: var(--text-hero-pricenative);
}
#price-change-24h {
    color: var(--text-hero-change);
}
/* ==========================================================
   BUTTON BUY STYLE
   ========================================================== */
.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    cursor: pointer;
    width: 150px;
    height: 50px;
    background: linear-gradient(135deg, var(--btn-buy-bg) 0%, rgba(238, 34, 180, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--btn-buy-border);
    transition: all 0.3s ease;
    font-family: 'Byrd', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
/* Button buy untuk navbar (ukuran lebih kecil) */
nav .btn-buy {
    width: auto;
    height: 40px;
    padding: 0 20px;
    font-size: 13px;
    border-radius: 20px;
}
.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    cursor: pointer;
    width: 150px;
    height: 50px;
    background: linear-gradient(135deg, var(--btn-secondary-bg) 0%, rgba(238, 34, 180, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--btn-secondary-border);
    transition: all 0.3s ease;
    font-family: 'Byrd', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--btn-secondary-shine), transparent);
    transition: left 0.5s ease;
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px var(--btn-secondary-shadow),
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--btn-secondary-border-hover);
}
.btn-secondary:hover::before {
    left: 100%;
}
.btn-secondary:active {
    transform: translateY(0);
    box-shadow:
        0 4px 15px var(--btn-secondary-shadow-hover),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.btn-secondary:focus {
    outline: none;
    box-shadow:
        0 0 0 3px var(--btn-secondary-shine),
        0 8px 25px var(--btn-secondary-shadow),
        0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--btn-buy-shine), transparent);
    transition: left 0.5s ease;
}
.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px var(--btn-buy-shadow),
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--btn-buy-border-hover);
}
.btn-buy:hover::before {
    left: 100%;
}
.btn-buy:active {
    transform: translateY(0);
    box-shadow:
        0 4px 15px var(--btn-buy-shadow-hover),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.btn-buy:focus {
    outline: none;
    box-shadow:
        0 0 0 3px var(--btn-buy-shine),
        0 8px 25px var(--btn-buy-shadow),
        0 4px 10px rgba(0, 0, 0, 0.2);
}
/* ==========================================================
   PARALLAX BACKGROUND EFFECT
   ========================================================== */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.1s ease-out;
    will-change: transform;
    pointer-events: none;
    z-index: -10;
}
/* Hero Parallax Stack Styles */
.hero-parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
}
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transition: transform 0.3s ease;
    pointer-events: none;
}
.parallax-layer:hover {
    transform: translateY(-10px);
}
/* Layer depths untuk parallax effect */
.layer-5 {
    z-index: 1;
    transform: translateZ(0) scale(1.3);
    /* Blokir gerakan ke bawah untuk layer-5 */
    pointer-events: auto;
}
.layer-5:hover {
    transform: translateZ(0) scale(1.3) translateY(-10px);
}
.layer-4 {
    z-index: 2;
    transform: translateZ(0);
}
.layer-3 {
    z-index: 3;
    transform: translateZ(0);
}
.layer-2 {
    z-index: 4;
    transform: translateZ(0);
}
.layer-1 {
    z-index: 5;
    transform: translateZ(0);
}
.parallax-container {
    position: relative;
    overflow: hidden;
}
/* ==========================================================
   NAVBAR STYLE - OVERLAY ON HERO
   ========================================================== */
.navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.navbar-overlay .nav-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}
/* ==========================================================
   HERO SECTION - FULL SCREEN WITH NAVBAR OVERLAY
   ========================================================== */
.hero-fullscreen {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-fullscreen .hero-content {
    padding-top: 120px;
    padding-bottom: 80px;
    z-index: 10;
    position: relative;
}
/* ==========================================================
   MARQUEE STYLES
   ========================================================== */
.marquee-outer-container {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
}
.marquee-row {
    overflow: hidden;
}
.marquee-content-wrapper {
    display: inline-block;
    white-space: nowrap;
    font-size: 0;
    will-change: transform;
}
.marquee-item {
    display: inline-block;
    margin-right: 1.2rem;
}
.marquee-image {
    height: 240px;
    width: 240px;
    object-fit: cover;
    border-radius: 0.375rem;
    display: inline-block;
    vertical-align: middle;
    background-color: var(--bg-card);
    border: 2px solid var(--border-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.marquee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.marquee-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--shine-color), transparent);
    transition: left 0.5s ease;
    z-index: 2;
}
.marquee-image:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--border-fuchsia);
    box-shadow:
        0 8px 25px var(--glow-purple),
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.marquee-image:hover img {
    transform: scale(1.2);
}
.marquee-image:hover::before {
    left: 100%;
}
.marquee-image:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 4px 15px var(--glow-purple),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.marquee-image:active img {
    transform: scale(1.15);
}
.marquee-image:focus {
    outline: none;
    box-shadow:
        0 0 0 3px var(--shine-color),
        0 8px 25px var(--glow-purple),
        0 4px 10px rgba(0, 0, 0, 0.2);
}
/* Responsive adjustments for marquee images */
@media (max-width: 768px) {
    .marquee-image {
        height: 180px;
        width: 180px;
        margin-right: 0.9rem;
    }
}
@media (max-width: 640px) {
    .marquee-image {
        height: 120px;
        width: 120px;
        margin-right: 0.6rem;
    }
}
/* Fade-in animation for marquee images */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.fade-in-image {
    animation: fadeIn 0.5s ease-out forwards;
}
/* Social button blur effect */
.btn-social img {
    transition: filter 0.3s ease;
}
.btn-social:hover img {
    filter: none;
}
/* Blur other social buttons when one is hovered */
.navbar-overlay:has(.btn-social:hover) .btn-social:not(:hover) img {
    opacity: 0.3;
    transform: scale(0.9);
}
/* ==========================================================
   TWITTER EMBED SECTION STYLES
   ========================================================== */
/* Twitter Embed Container Styling */
.twitter-embed-container {
    background: var(--jax-space-light, #151515);
    border: 1px solid var(--border-primary, rgba(255, 255, 255, 0.1));
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.twitter-embed-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.2);
    border-color: var(--border-fuchsia, #a855f7);
}
.twitter-tweet {
    width: 100% !important;
    max-width: 100% !important;
}
.twitter-tweet iframe {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0.5rem;
}
.twitter-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    color: var(--text-primary, #fff);
    font-size: 1rem;
    min-height: 200px;
    background: var(--jax-space-light, #151515);
    border: 1px solid var(--border-primary, rgba(255, 255, 255, 0.1));
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}
.twitter-loading .animate-spin {
    animation: spin 1s linear infinite;
    border-color: transparent;
    border-top-color: #a855f7;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* Loading pulse effect */
.twitter-loading span {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
.twitter-tweet.hidden {
    display: none !important;
}
.twitter-loading.hidden {
    display: none !important;
}
.twitter-loading::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-primary, rgba(255, 255, 255, 0.1));
    border-top: 3px solid var(--jax-orange, #ff7c1a);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* RSS Feed Content Styling */
.twitter-embed-container .bg-[#23272f],
.twitter-embed-container .rss-feed-content {
    background: var(--jax-space-light, #151515) !important;
    border: 1px solid var(--border-primary, rgba(255, 255, 255, 0.1));
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.twitter-embed-container .bg-[#23272f] h3 {
    color: var(--jax-orange, #ff7c1a) !important;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}
.twitter-embed-container .bg-[#23272f] p {
    color: var(--text-primary, #fff) !important;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}
.twitter-embed-container .bg-[#23272f] a {
    color: var(--jax-orange, #ff7c1a) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}
.twitter-embed-container .bg-[#23272f] a:hover {
    color: var(--jax-yellow, #ffe14a) !important;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .twitter-embed-container {
        min-height: 250px;
        padding: 1rem;
    }
    .twitter-loading {
        min-height: 150px;
        font-size: 0.875rem;
    }
}
@media (max-width: 768px) {
    .twitter-embed-container {
        min-height: 200px;
        padding: 0.75rem;
    }
    .twitter-loading {
        min-height: 120px;
        font-size: 0.75rem;
    }
}
@media (max-width: 640px) {
    .twitter-loading {
        min-height: 100px;
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    .twitter-loading::before {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
}
/* ==========================================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ========================================================== */
/* Large screens (1200px+) */
@media (min-width: 1200px) {
    .max-w-5xl {
        max-width: 1200px;
    }
    .max-w-6xl {
        max-width: 1280px;
    }
    /* Hero section improvements */
    .hero-content h1 {
        font-size: 4.5rem;
        line-height: 1.1;
    }
    /* Market cards spacing */
    .grid[class*="grid-cols-3"] {
        gap: 2rem;
    }
}
/* Tablet landscape (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Hero adjustments */
    .hero-content h1 {
        font-size: 3.5rem;
        line-height: 1.2;
    }
    .hero-content {
        padding: 1.5rem;
    }
    /* Twitter embeds - 2 columns */
    .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .twitter-embed-container {
        min-height: 400px;
    }
}
/* Mobile landscape (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    /* Hero section */
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    .hero-content {
        padding: 1rem;
        gap: 1.5rem;
    }
    /* Contract address card */
    .contract-address-card {
        padding: 1rem;
        font-size: 0.875rem;
    }
    /* Card padding adjustments */
    .card {
        padding: 1.5rem;
    }
    .twitter-embed-container {
        padding: 0.75rem;
        min-height: 350px;
    }
    .twitter-loading {
        height: 300px;
        font-size: 0.875rem;
    }
    /* Navbar adjustments */
    .nav-content {
        padding: 0.75rem 1rem;
    }
    .btn-buy {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
/* Mobile portrait (320px - 479px) */
@media (max-width: 479px) {
    /* Hero section */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.4;
    }
    .hero-content {
        padding: 0.75rem;
        gap: 1rem;
    }
    /* Contract address card */
    .contract-address-card {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
    .contract-address-card .flex.items-center {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    /* Section spacing */
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    /* Section titles */
    .text-4xl.md\\:text-5xl {
        font-size: 1.875rem !important;
    }
    /* Card adjustments */
    .card {
        padding: 1rem;
    }
    .card .text-2xl.md\\:text-3xl {
        font-size: 1.5rem !important;
    }
    /* Twitter embeds */
    .twitter-embed-container {
        padding: 0.5rem;
        min-height: 280px;
    }
    .twitter-loading {
        height: 250px;
        font-size: 0.75rem;
    }
    /* Navbar mobile */
    .nav-content {
        padding: 0.5rem 0.75rem;
    }
    .nav-content .flex.items-center.gap-3 {
        gap: 0.5rem;
    }
    .nav-content .flex.items-center.gap-3 span {
        font-size: 1.25rem;
    }
    .nav-content .flex.items-center.gap-3 img {
        width: 2rem;
        height: 2rem;
    }
    .btn-buy {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    /* Hide social icons on very small screens */
    .hidden.md\\:flex {
        display: none !important;
    }
    /* Marquee adjustments */
    .marquee-image {
        height: 100px;
        width: 100px;
        margin-right: 0.5rem;
    }
    /* Buttons mobile stack */
    .flex.flex-col.sm\\:flex-row {
        gap: 0.75rem;
    }
    .flex.flex-col.sm\\:flex-row .btn-buy,
    .flex.flex-col.sm\\:flex-row .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
/* Extra small screens optimization */
@media (max-width: 359px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    .contract-address-card {
        font-size: 0.625rem;
        padding: 0.5rem;
    }
    .card div {
        font-size: 1.25rem !important;
    }
    .twitter-loading {
        height: 200px;
        font-size: 0.625rem;
    }
    .btn-buy {
        padding: 0.25rem 0.5rem;
        font-size: 0.625rem;
    }
    section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
/* ==========================================================
   FINAL MOBILE OPTIMIZATIONS
   ========================================================== */
/* Touch-friendly button sizing */
@media (max-width: 768px) {
    .btn-buy,
    .btn-secondary {
        min-height: 44px;
        /* Apple's recommended touch target */
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        /* Prevent zoom on touch */
    }
    /* Stack buttons vertically on mobile */
    .flex.flex-col.sm\\:flex-row.gap-4 {
        flex-direction: column;
        gap: 1rem;
    }
    .flex.flex-col.sm\\:flex-row.gap-4>* {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}
/* Improve text readability on small screens */
@media (max-width: 640px) {
    /* Ensure sufficient contrast and spacing */
    .text-gray-400 {
        color: #d1d5db;
        /* Lighter gray for better readability */
    }
    /* Better spacing for section headers */
    section h2 {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    section p {
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    /* Improve card readability */
    .card .text-gray-400 {
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }
}
/* Prevent horizontal scrolling */
@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    /* Ensure contract address doesn't overflow */
    .contract-address-card .flex.items-center span {
        word-break: break-all;
        font-size: 0.75rem;
        line-height: 1.2;
    }
    /* Better marquee performance on mobile */
    .marquee-outer-container {
        will-change: transform;
        transform: translateZ(0);
        /* Force hardware acceleration */
    }
}
.text-sm,
.text-xs,
small,
.text-muted,
.text-gray-400,
.text-gray-300 {
    color: #fff !important;
}
/* JAX Features Section & Card Flip */
.jax-features-section {
    padding: 64px 0 32px 0;
    background: var(--jax-space);
}
.jax-features-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.jax-feature-card {
    overflow: visible;
    width: 190px;
    height: 254px;
}
.jax-feature-card .content {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 300ms;
    box-shadow: 0px 0px 10px 1px #000000ee;
    border-radius: 5px;
}
.jax-feature-card .front,
.jax-feature-card .back {
    background-color: var(--jax-space-light, #151515);
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 5px;
    overflow: hidden;
}
.jax-feature-card .back {
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.jax-feature-card .back::before {
    position: absolute;
    content: ' ';
    display: block;
    width: 160px;
    height: 160%;
    background: linear-gradient(90deg, transparent, var(--jax-yellow), var(--jax-yellow), var(--jax-yellow), var(--jax-yellow), transparent);
    animation: rotation_481 5000ms infinite linear;
}
.jax-feature-card .back-content-jax {
    position: absolute;
    width: 99%;
    height: 99%;
    background-color: var(--jax-space-light, #151515);
    border-radius: 5px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.jax-feature-card:hover .content {
    transform: rotateY(180deg);
}
@keyframes rotation_481 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}
.jax-feature-card .front {
    transform: rotateY(180deg);
    color: white;
}
.jax-feature-card .front-content-jax {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.jax-feature-card .badge {
    background-color: #00000055;
    padding: 2px 10px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    width: fit-content;
}
.jax-feature-card .description {
    box-shadow: 0px 0px 10px 5px #00000088;
    width: 100%;
    padding: 10px;
    background-color: #00000099;
    backdrop-filter: blur(5px);
    border-radius: 5px;
}
.jax-feature-card .title {
    font-size: 11px;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
}
.jax-feature-card .title p {
    width: 50%;
}
.jax-feature-card .card-footer {
    color: #ffffff88;
    margin-top: 5px;
    font-size: 8px;
}
.jax-feature-card .jax-feature-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.jax-feature-card .circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--jax-yellow, #ffbb66);
    position: relative;
    filter: blur(15px);
    animation: floating 2600ms infinite linear;
}
.jax-feature-card #bottom {
    background-color: var(--jax-orange, #ff8866);
    left: 50px;
    top: 0px;
    width: 150px;
    height: 150px;
    animation-delay: -800ms;
}
.jax-feature-card #right {
    background-color: var(--jax-red, #ff2233);
    left: 160px;
    top: -80px;
    width: 30px;
    height: 30px;
    animation-delay: -1800ms;
}
@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0px);
    }
}
@media (max-width: 900px) {
    .jax-features-grid {
        gap: 1.2rem;
    }
    .jax-feature-card {
        width: 170px;
        height: 230px;
    }
}
@media (max-width: 600px) {
    .jax-features-section {
        padding: 32px 0 16px 0;
    }
    .jax-features-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .jax-feature-card {
        width: 95vw;
        max-width: 320px;
        height: 200px;
    }
}
/* Uiverse.io Flip Card Style khusus section utilitas JAX */
.uiverse-flip-section {
    padding: 48px 0 32px 0;
    background: transparent;
}
.uiverse-flip-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.uiverse-flip-card {
    overflow: visible;
    width: 190px;
    height: 254px;
    perspective: 1000px;
    border-radius: 12px;
    /* border: none; tidak ada border default */
}
.uiverse-flip-content {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 300ms;
    box-shadow: 0px 0px 10px 1px #000000ee;
    border-radius: 12px;
    position: relative;
}
.uiverse-flip-card:hover .uiverse-flip-content {
    transform: rotateY(180deg);
}
.uiverse-flip-front,
.uiverse-flip-back {
    background-color: var(--jax-space-light, #151515);
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}
.uiverse-flip-front {
    z-index: 2;
    color: white;
}
.uiverse-flip-front-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 18px 0 10px 0;
    gap: 0;
}
.uiverse-flip-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60%;
    min-height: 80px;
}
.uiverse-flip-card-body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 40%;
    min-height: 40px;
    padding-top: 8px;
}
.uiverse-flip-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.5rem;
}
.uiverse-flip-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.uiverse-flip-icon {
    font-size: 3rem;
    color: var(--jax-orange, #ff7c1a) !important;
    text-shadow: none !important;
}
.uiverse-flip-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--jax-orange, #ff7c1a);
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
    max-width: 90%;
    display: block;
}
.uiverse-flip-back {
    transform: rotateY(180deg);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.uiverse-flip-back::before {
    position: absolute;
    content: ' ';
    display: block;
    width: 160px;
    height: 160%;
    border: 6px solid var(--jax-orange, #ff7c1a);
    background: linear-gradient(90deg, transparent, var(--jax-orange, #ff7c1a), var(--jax-orange, #ff7c1a), var(--jax-orange, #ff7c1a), var(--jax-orange, #ff7c1a), transparent);
    animation: rotation_481 2.5s infinite linear;
    z-index: 1;
    opacity: 0.7;
}
@keyframes rotation_481 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}
.uiverse-flip-back-content {
    position: absolute;
    width: 99%;
    height: 99%;
    background-color: var(--jax-space-light, #151515);
    border-radius: 5px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 2;
}
.uiverse-flip-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.uiverse-flip-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 12px 16px 12px;
    background: linear-gradient(0deg, rgba(10, 10, 42, 0.97) 80%, rgba(10, 10, 42, 0.2) 100%);
    color: var(--jax-yellow, #ffe14a);
    border-radius: 0 0 5px 5px;
    text-align: left;
    z-index: 2;
}
.uiverse-flip-overlay h3 {
    color: var(--jax-orange, #ff7c1a) !important;
    font-weight: bold;
    margin: 0 0 6px 0;
    font-size: 1.1rem;
}
.uiverse-flip-overlay p {
    color: #fff !important;
    font-size: 0.72rem;
    margin: 0;
}
/* Override untuk warna icon FontAwesome */
.fas,
.fa,
.fab,
.far {
    color: inherit !important;
}
/* Khusus untuk icon yang sudah di-set warna kuning */
.fas.text-\[#FFD700\],
.fa.text-\[#FFD700\],
.fab.text-\[#FFD700\],
.far.text-\[#FFD700\] {
    color: #FFD700 !important;
}
/* Override tambahan untuk memastikan icon kuning ditampilkan */
.uiverse-flip-icon .fas,
.uiverse-flip-icon .fa,
.uiverse-flip-icon .fab,
.uiverse-flip-icon .far {
    color: #FFD700 !important;
}
.card .fas,
.card .fa,
.card .fab,
.card .far {
    color: #FFD700 !important;
}
.uiverse-flip-icon .fa-lock {
    margin-top: 12px;
    font-size: 2.6rem;
}
@media (max-width: 600px) {
    .uiverse-flip-card-img {
        min-height: 56px;
    }
    .uiverse-flip-card-body {
        min-height: 28px;
    }
    .uiverse-flip-title {
        font-size: 1rem;
    }
}
.btn-social img,
.btn-buy img,
.btn-secondary img {
    filter: brightness(0) invert(1) !important;
}
.primary-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(360deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0.0) 100%);
    opacity: 1;
    pointer-events: none;
    z-index: 10;
}
/* ==========================================================
   TWITTER FEED IMAGES STYLING
   ========================================================== */
.tweet-images {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.tweet-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tweet-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.tweet-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.tweet-image:hover {
    transform: scale(1.05);
}
/* Multiple images layout */
.tweet-images:has(.tweet-image-container:nth-child(2)) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.tweet-images:has(.tweet-image-container:nth-child(3)) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.tweet-images:has(.tweet-image-container:nth-child(3)) .tweet-image-container:last-child {
    grid-column: 1 / -1;
}
.tweet-images:has(.tweet-image-container:nth-child(4)) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
/* Image loading state */
.tweet-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 1.5s infinite;
    z-index: 1;
}
.tweet-image-container img[src] {
    position: relative;
    z-index: 2;
}
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/* Responsive adjustments for tweet images */
@media (max-width: 768px) {
    .tweet-image {
        max-height: 150px;
    }
    .tweet-images:has(.tweet-image-container:nth-child(2)),
    .tweet-images:has(.tweet-image-container:nth-child(3)),
    .tweet-images:has(.tweet-image-container:nth-child(4)) {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .tweet-image {
        max-height: 120px;
    }
    .tweet-image-container {
        margin-bottom: 0.25rem;
    }
}
/* ==========================================================
   END TWITTER FEED IMAGES STYLING
   ========================================================== */
.hide-loader::before {
    display: none !important;
}
/* ==========================================================
   TWITTER LOADING SHIMMER EFFECT
   ========================================================== */
.twitter-loading {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.shimmer-effect {
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
/* Enhanced loading spinner */
.twitter-loading .animate-spin {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}
.twitter-loading .animate-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
/* Loading skeleton animation */
.twitter-loading .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
/* === Navbar Transparan & Compact === */
.navbar-overlay {
    transition: all 0.3s ease;
}
.navbar-overlay.navbar-transparent {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.navbar-overlay .nav-content {
    transition: all 0.3s ease;
}
.navbar-overlay.navbar-compact .nav-content {
    min-height: 2.5rem;
    transform: scale(0.8);
    transform-origin: center;
}
/* ==========================================================
   FONT BYRD DEFINITION
   ========================================================== */
@font-face {
    font-family: 'byrd';
    src: url('fonts/byrd-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'byrd-bold';
    src: url('fonts/byrd-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
/* ==========================================================
   CONTRACT ADDRESS BUTTON STYLES
   ========================================================== */
/* From Uiverse.io by marcelodolza - Updated for CA Button */
.button {
    --primary: #8B5CF6;
    /* Ungu tema */
    --neutral-1: #A78BFA;
    /* Ungu muda */
    --neutral-2: #7C3AED;
    /* Ungu gelap */
    --radius: 12px;
    /* Border radius lebih rounded */
    cursor: pointer;
    border-radius: var(--radius);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border: none;
    box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    min-width: 280px;
    /* Lebih lebar untuk persegi panjang */
    padding: 12px 24px;
    /* Padding lebih tipis */
    height: 48px;
    /* Tinggi lebih tipis */
    font-family: "byrd-bold", "byrd", "Galano Grotesque", Poppins, Montserrat, sans-serif;
    font-style: normal;
    font-size: 16px;
    /* Font size lebih kecil */
    font-weight: 400;
    /* Font weight lebih tipis */
}
.button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 1px 2px rgba(139, 92, 246, 0.3),
        0 15px 30px rgba(139, 92, 246, 0.2), 0 10px 3px -3px rgba(139, 92, 246, 0.1);
}
.button:active {
    transform: scale(1);
    box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
        0 10px 3px -3px rgba(0, 0, 0, 0.2);
}
.button:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 2.5px solid transparent;
    background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45)) border-box;
    z-index: 0;
    transition: all 0.4s ease;
}
.button:hover::after {
    transform: scale(1.05, 1.1);
    box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}
.button::before {
    content: "";
    inset: 7px 6px 6px 6px;
    position: absolute;
    background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
    border-radius: 30px;
    filter: blur(0.5px);
    z-index: 2;
}
.state p {
    display: flex;
    align-items: center;
    justify-content: center;
}
.state .icon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: scale(1.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.state .icon svg {
    overflow: visible;
}
/* Outline */
.outline {
    position: absolute;
    border-radius: inherit;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    inset: -2px -3.5px;
}
.outline::before {
    content: "";
    position: absolute;
    inset: -100%;
    background: conic-gradient(from 180deg,
            transparent 60%,
            white 80%,
            transparent 100%);
    animation: spin 2s linear infinite;
    animation-play-state: paused;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.button:hover .outline {
    opacity: 1;
}
.button:hover .outline::before {
    animation-play-state: running;
}
/* Glow effect untuk tombol CA */
.button:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(139, 92, 246, 0.2),
        0 0 60px rgba(139, 92, 246, 0.1);
}
/* Letters */
.state p span {
    display: block;
    opacity: 0;
    animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.button:hover p span {
    opacity: 1;
    animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.button:focus p span {
    opacity: 1;
    animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes wave {
    30% {
        opacity: 1;
        transform: translateY(4px) translateX(0) rotate(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px) translateX(0) rotate(0);
        color: #8B5CF6;
        /* Ungu tema */
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotate(0);
    }
}
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px) translateX(5px) rotate(-90deg);
        color: #8B5CF6;
        /* Ungu tema */
        filter: blur(5px);
    }
    30% {
        opacity: 1;
        transform: translateY(4px) translateX(0) rotate(0);
        filter: blur(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px) translateX(0) rotate(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotate(0);
    }
}
@keyframes disapear {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateX(5px) translateY(20px);
        color: var(--primary);
        filter: blur(5px);
    }
}
/* Plane */
.state--default .icon svg {
    animation: land 0.6s ease forwards;
}
.button:hover .state--default .icon {
    transform: rotate(45deg) scale(1.25);
}
.button:focus .state--default svg {
    animation: takeOff 0.8s linear forwards;
}
.button:focus .state--default .icon {
    transform: rotate(0) scale(1.25);
}
@keyframes takeOff {
    0% {
        opacity: 1;
    }
    60% {
        opacity: 1;
        transform: translateX(70px) rotate(45deg) scale(2);
    }
    100% {
        opacity: 0;
        transform: translateX(160px) rotate(45deg) scale(0);
    }
}
@keyframes land {
    0% {
        transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
        opacity: 0;
        filter: blur(3px);
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0);
        opacity: 1;
        filter: blur(0);
    }
}
/* Contrail */
.state--default .icon:before {
    content: "";
    position: absolute;
    top: 50%;
    height: 2px;
    width: 0;
    left: -5px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.button:focus .state--default .icon:before {
    animation: contrail 0.8s linear forwards;
}
@keyframes contrail {
    0% {
        width: 0;
        opacity: 1;
    }
    8% {
        width: 15px;
    }
    60% {
        opacity: 0.7;
        width: 80px;
    }
    100% {
        opacity: 0;
        width: 160px;
    }
}
/* States */
.state {
    padding-left: 29px;
    z-index: 2;
    display: flex;
    position: relative;
}
.state--default span:nth-child(4) {
    margin-right: 5px;
}
.state--sent {
    display: none;
}
.state--sent svg {
    transform: scale(1.25);
    margin-right: 8px;
}
.button:focus .state--default {
    position: absolute;
}
.button:focus .state--sent {
    display: flex;
}
.button:focus .state--sent span {
    opacity: 0;
    animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}
.button:focus .state--sent .icon svg {
    opacity: 0;
    animation: appear 1.2s ease forwards 0.8s;
}
@keyframes appear {
    0% {
        opacity: 0;
        transform: scale(4) rotate(-40deg);
        color: var(--primary);
        filter: blur(4px);
    }
    30% {
        opacity: 1;
        transform: scale(0.6);
        filter: blur(1px);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/* ==========================================================
   MEME GRID SECTION STYLES
   ========================================================== */
/* Meme Card Container */
.meme-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}
.meme-card:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(19, 68, 179, 0.5);
}
/* Meme Image Container */
.meme-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    contain: layout style paint;
}
/* Meme Image */
.meme-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}
.meme-card:hover .meme-image {
    transform: scale(1.03) translateZ(0);
    filter: brightness(1.05) contrast(1.05);
}
/* Focus States for Accessibility */
.meme-card:focus {
    outline: 2px solid rgba(19, 68, 179, 0.6);
    outline-offset: 2px;
}
/* ==========================================================
   MASONRY LAYOUT STYLES
   ========================================================== */
/* Masonry Container */
.masonry-container {
    display: flex;
    gap: 1rem;
    contain: layout style paint;
}
.masonry-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    contain: layout style paint;
}
/* Responsive Masonry */
@media (max-width: 767px) {
    .masonry-container {
        flex-direction: column;
    }
    .masonry-column {
        flex: none;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .masonry-container {
        gap: 0.75rem;
    }
    .masonry-column {
        gap: 0.75rem;
    }
}
@media (min-width: 1024px) {
    .masonry-container {
        gap: 1.5rem;
    }
    .masonry-column {
        gap: 1.5rem;
    }
}
/* AOS styles removed for meme gallery */
.contract-address-display {
    margin-bottom: 0.5rem;
}
.contract-address-box {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 24px;
    height: 48px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 280px;
    font-family: "byrd-bold", "byrd", "Galano Grotesque", Poppins, Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
}
.contract-address-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 1px 2px rgba(139, 92, 246, 0.3),
        0 15px 30px rgba(139, 92, 246, 0.2), 0 10px 3px -3px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
}
.contract-address-box::before {
    content: "";
    inset: 7px 6px 6px 6px;
    position: absolute;
    background: linear-gradient(to top, rgba(167, 139, 250, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 30px;
    filter: blur(0.5px);
    z-index: 2;
}
.contract-address-box .text-\[#1344B3\] {
    color: #22c55e !important;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    word-break: break-all;
    z-index: 3;
    position: relative;
}
/* Responsive untuk contract address display */
@media (max-width: 768px) {
    .contract-address-box {
        padding: 0.75rem 1rem;
        min-width: auto;
        width: 100%;
    }
    .contract-address-box .text-\[#1344B3\] {
        font-size: 0.875rem;
    }
}
