/* ==========================================================
   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 - COSMIC THEME */
    --primary-purple: #fea53d;
    --primary-pink: #fbb040;
    --primary-orange: #fea53d;
    --primary-indigo: #e8942a;
    --primary-violet: #d2851f;
    --primary-rose: #c67614;

    /* 🌙 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: #fea53d;
    --text-pink: #fbb040;
    --text-orange: #fea53d;
    --text-indigo: #e8942a;
    --text-violet: #d2851f;
    --text-rose: #c67614;

    /* 🔗 BORDER COLORS */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-purple: #fea53d;
    --border-pink: #fbb040;
    --border-orange: #fea53d;

    /* ✨ GLOW COLORS */
    --glow-purple: rgba(254, 165, 61, 0.4);
    --glow-pink: rgba(251, 176, 64, 0.4);
    --glow-orange: rgba(254, 165, 61, 0.4);

    /* 🌟 SHINE EFFECT COLORS */
    --shine-color: rgba(254, 165, 61, 0.1);

    /* 🎯 NOTIFICATION COLORS */
    --success-color: #10b981;
    --error-color: #ef4444;
    --info-color: #3b82f6;

    /* 🎨 BUTTON COLORS */
    --btn-buy-bg: rgba(254, 165, 61, 0.2);
    --btn-buy-bg-hover: rgba(254, 165, 61, 0.3);
    --btn-buy-border: rgba(254, 165, 61, 0.3);
    --btn-buy-border-hover: rgba(254, 165, 61, 0.5);
    --btn-buy-shadow: rgba(254, 165, 61, 0.3);
    --btn-buy-shadow-hover: rgba(254, 165, 61, 0.4);
    --btn-buy-shine: rgba(254, 165, 61, 0.2);

    /* 🎨 TEXT SECTION COLORS */
    --text-marketcap: #fea53d;
    --text-volume: #fbb040;
    --text-liquidity: #fea53d;
    --text-fdv: #fea53d;
    --text-supply: #fea53d;
    --text-tokenomics-marketcap: #fbb040;
    --text-tokenomics-priceusd: #fea53d;
    --text-hero-priceusd: #fea53d;
    --text-hero-pricenative: #fbb040;
    --text-hero-change: #fea53d;

    /* 🎨 SECONDARY BUTTON COLORS */
    --btn-secondary-bg: rgba(251, 176, 64, 0.2);
    --btn-secondary-bg-hover: rgba(251, 176, 64, 0.3);
    --btn-secondary-border: rgba(251, 176, 64, 0.3);
    --btn-secondary-border-hover: rgba(251, 176, 64, 0.5);
    --btn-secondary-shadow: rgba(251, 176, 64, 0.3);
    --btn-secondary-shadow-hover: rgba(251, 176, 64, 0.4);
    --btn-secondary-shine: rgba(251, 176, 64, 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 - Target specific elements */
@keyframes flashGreen {
    0% {
        color: inherit !important;
        transform: scale(1);
        background-color: transparent;
    }

    25% {
        color: #22c55e !important;
        transform: scale(1.08);
        background-color: rgba(34, 197, 94, 0.1);
    }

    50% {
        color: #16a34a !important;
        transform: scale(1.12);
        background-color: rgba(34, 197, 94, 0.2);
    }

    75% {
        color: #22c55e !important;
        transform: scale(1.08);
        background-color: rgba(34, 197, 94, 0.1);
    }

    100% {
        color: inherit !important;
        transform: scale(1);
        background-color: transparent;
    }
}

/* Higher specificity selectors for flash effects */
#market-marketcap.flash-green,
#market-volume24h.flash-green,
#market-liquidity.flash-green,
#price-change-h24.flash-green,
#price-usd.flash-green,
#price-native.flash-green {
    animation: flashGreen 0.6s ease-in-out !important;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
    color: #22c55e !important;
}

/* Red flash effect for decreasing values - Target specific elements */
@keyframes flashRed {
    0% {
        color: inherit !important;
        transform: scale(1);
        background-color: transparent;
    }

    25% {
        color: #ef4444 !important;
        transform: scale(1.08);
        background-color: rgba(239, 68, 68, 0.1);
    }

    50% {
        color: #dc2626 !important;
        transform: scale(1.12);
        background-color: rgba(239, 68, 68, 0.2);
    }

    75% {
        color: #ef4444 !important;
        transform: scale(1.08);
        background-color: rgba(239, 68, 68, 0.1);
    }

    100% {
        color: inherit !important;
        transform: scale(1);
        background-color: transparent;
    }
}

/* Higher specificity selectors for flash effects */
#market-marketcap.flash-red,
#market-volume24h.flash-red,
#market-liquidity.flash-red,
#price-change-h24.flash-red,
#price-usd.flash-red,
#price-native.flash-red {
    animation: flashRed 0.6s ease-in-out !important;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
    color: #ef4444 !important;
}

/* Flash update effect for general updates */
@keyframes flashUpdate {
    0% {
        color: inherit !important;
        transform: scale(1);
        background-color: transparent;
    }

    25% {
        color: #3b82f6 !important;
        transform: scale(1.05);
        background-color: rgba(59, 130, 246, 0.1);
    }

    50% {
        color: #1d4ed8 !important;
        transform: scale(1.08);
        background-color: rgba(59, 130, 246, 0.2);
    }

    75% {
        color: #3b82f6 !important;
        transform: scale(1.05);
        background-color: rgba(59, 130, 246, 0.1);
    }

    100% {
        color: inherit !important;
        transform: scale(1);
        background-color: transparent;
    }
}

/* Higher specificity selectors for flash-update */
#market-marketcap.flash-update,
#market-volume24h.flash-update,
#market-liquidity.flash-update,
#price-change-h24.flash-update,
#price-usd.flash-update,
#price-native.flash-update {
    animation: flashUpdate 0.6s ease-in-out !important;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
    color: #3b82f6 !important;
}

/* Color classes removed - using flash effects instead of permanent color changes */

/* 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 */
.notification {
    z-index: 2147483647 !important;
    position: fixed !important;
    bottom: 32px !important;
    left: 50% !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    pointer-events: auto !important;
    min-width: 280px;
    max-width: 90vw;
    padding: 1.1rem 2.2rem 1.1rem 1.1rem;
    border-radius: 1.1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    background: rgba(34, 34, 54, 0.85);
    backdrop-filter: blur(8px);
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    animation: notif-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes notif-in {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.notification.success {
    background: linear-gradient(90deg, #22c55e 80%, #16a34a 100%);
    color: #fff;
}

.notification.error {
    background: linear-gradient(90deg, #ef4444 80%, #b91c1c 100%);
    color: #fff;
}

.notification.info {
    background: linear-gradient(90deg, #38bdf8 80%, #0ea5e9 100%);
    color: #fff;
}

.notification .notif-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    opacity: 0.85;
}

.notification .notif-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification .notif-close:hover {
    opacity: 1;
}

@keyframes notif-out {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(60px) 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);
}

/* ==========================================================
   SKEUOMORPHISM CARD EFFECTS
   ========================================================== */

/* Base styling untuk semua card dengan efek skeuomorphism klasik */
.card,
.contract-address-card,
.twitter-embed-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Classic skeuomorphism - raised button effect dengan background yang sama */
    background: var(--jax-space-light, #151515);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);

    /* Classic raised shadow */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        inset 1px 0 0 rgba(255, 255, 255, 0.1),
        inset -1px 0 0 rgba(0, 0, 0, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Special styling untuk contract address card */
.contract-address-card {
    /* Classic skeuomorphism - raised button effect dengan background yang sama */
    background: var(--jax-space-light, #151515);
    border: 2px solid rgba(255, 124, 26, 0.4);
    border-top: 2px solid rgba(255, 124, 26, 0.6);
    border-left: 2px solid rgba(255, 124, 26, 0.5);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        inset 1px 0 0 rgba(255, 255, 255, 0.1),
        inset -1px 0 0 rgba(0, 0, 0, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        0 0 24px 4px rgba(255, 124, 26, 0.15);
}

/* Hover effect - elevated button */
.card:hover,
.contract-address-card:hover,
.twitter-embed-container:hover {
    transform: translateY(-3px) scale(1.02);

    /* More pronounced raised effect on hover */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        inset 1px 0 0 rgba(255, 255, 255, 0.15),
        inset -1px 0 0 rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 124, 26, 0.3);

    border-color: rgba(255, 124, 26, 0.4);
    border-top-color: rgba(255, 124, 26, 0.6);
    border-left-color: rgba(255, 124, 26, 0.5);
}

/* Active state - pressed button effect */
.card:active,
.contract-address-card:active,
.twitter-embed-container:active {
    transform: translateY(1px) scale(0.98);

    /* Classic pressed button effect */
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05),
        inset 1px 0 0 rgba(0, 0, 0, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 0 8px rgba(0, 0, 0, 0.2);

    border-top-color: rgba(255, 124, 26, 0.3);
    border-left-color: rgba(255, 124, 26, 0.3);
    border-bottom-color: rgba(255, 124, 26, 0.5);
    border-right-color: rgba(255, 124, 26, 0.4);
}

/* Classic skeuomorphism inner highlight effect */
.card::before,
.contract-address-card::before,
.twitter-embed-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Classic skeuomorphism left highlight */
.card::after,
.contract-address-card::after,
.twitter-embed-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.15) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Classic skeuomorphism icon effect */
.card svg,
.contract-address-card svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.card:hover svg,
.contract-address-card:hover svg {
    transform: scale(1.05) translateY(-1px);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

/* ==========================================================
   ANIMASI PULSE
   ========================================================== */

#market-marketcap {
    color: var(--jax-orange, #ff7c1a) !important;
}

#market-volume24h {
    color: var(--jax-orange, #ff7c1a) !important;
}

#market-liquidity {
    color: var(--jax-orange, #ff7c1a) !important;
}

#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: var(--btn-buy-bg);
    border-radius: 30px;
    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;

    /* Classic skeuomorphism - raised button effect */
    border: 1px solid var(--btn-buy-border);
    border-top: 1px solid rgba(254, 165, 61, 0.5);
    border-left: 1px solid rgba(254, 165, 61, 0.4);

    /* Classic raised shadow */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        inset 1px 0 0 rgba(255, 255, 255, 0.15),
        inset -1px 0 0 rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 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: var(--btn-secondary-bg);
    border-radius: 30px;
    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;

    /* Classic skeuomorphism - raised button effect */
    border: 1px solid var(--btn-secondary-border);
    border-top: 1px solid rgba(251, 176, 64, 0.5);
    border-left: 1px solid rgba(251, 176, 64, 0.4);

    /* Classic raised shadow */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        inset 1px 0 0 rgba(255, 255, 255, 0.15),
        inset -1px 0 0 rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

.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(-3px);

    /* More pronounced raised effect on hover */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        inset 1px 0 0 rgba(255, 255, 255, 0.2),
        inset -1px 0 0 rgba(0, 0, 0, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);

    border-color: var(--btn-secondary-border-hover);
    border-top-color: rgba(251, 176, 64, 0.7);
    border-left-color: rgba(251, 176, 64, 0.6);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:active {
    transform: translateY(1px);

    /* Classic pressed button effect */
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 1px 0 0 rgba(0, 0, 0, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 0 8px rgba(0, 0, 0, 0.2);

    border-top-color: rgba(251, 176, 64, 0.3);
    border-left-color: rgba(251, 176, 64, 0.3);
    border-bottom-color: rgba(251, 176, 64, 0.5);
    border-right-color: rgba(251, 176, 64, 0.4);
}

.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(-3px);

    /* More pronounced raised effect on hover */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        inset 1px 0 0 rgba(255, 255, 255, 0.2),
        inset -1px 0 0 rgba(0, 0, 0, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);

    border-color: var(--btn-buy-border-hover);
    border-top-color: rgba(254, 165, 61, 0.7);
    border-left-color: rgba(254, 165, 61, 0.6);
}

.btn-buy:hover::before {
    left: 100%;
}

.btn-buy:active {
    transform: translateY(1px);

    /* Classic pressed button effect */
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 1px 0 0 rgba(0, 0, 0, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 0 8px rgba(0, 0, 0, 0.2);

    border-top-color: rgba(254, 165, 61, 0.3);
    border-left-color: rgba(254, 165, 61, 0.3);
    border-bottom-color: rgba(254, 165, 61, 0.5);
    border-right-color: rgba(254, 165, 61, 0.4);
}

.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);
}

/* ==========================================================
   HERO SECTION DIVIDER
   ========================================================== */

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    /* Di atas slideshow tapi di bawah content */
    pointer-events: none;
    /* Agar tidak mengganggu interaksi */
}

.hero-divider img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    transform: translateY(20%) scale(1.2);
    /* Base position - turun 10% dari posisi sebelumnya */
    transition: transform 0.1s ease-out;
    /* Smooth transition untuk parallax */
}

/* Responsive adjustments for hero divider */
@media (max-width: 768px) {
    .hero-divider img {
        height: 200px;
        /* Fixed height untuk mobile */
        object-fit: cover;
        object-position: center;
        transform: translateY(10%) scale(1.2);
        /* Tablet - turun 10% dari posisi sebelumnya */
    }
}

@media (max-width: 480px) {
    .hero-divider img {
        height: 150px;
        /* Lebih kecil untuk mobile kecil */
        transform: translateY(5%) scale(1.2);
        /* Mobile - turun 10% dari posisi sebelumnya */
    }
}

/* ==========================================================
   LIGHTBOX MODAL
   ========================================================== */

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;

    /* Classic skeuomorphism untuk lightbox image */
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-left: 2px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        inset 1px 0 0 rgba(255, 255, 255, 0.15),
        inset -1px 0 0 rgba(0, 0, 0, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.8),
        0 10px 20px rgba(0, 0, 0, 0.6),
        0 5px 10px rgba(0, 0, 0, 0.4);

    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(255, 124, 26, 0.8);
    border-color: rgba(255, 124, 26, 0.6);
    transform: scale(1.1);
}


/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-container {
        max-width: 95vw;
        max-height: 95vh;
    }

    .lightbox-image {
        max-height: 75vh;
    }

    .lightbox-close {
        top: -45px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .lightbox-container {
        max-width: 98vw;
        max-height: 98vh;
    }

    .lightbox-image {
        max-height: 70vh;
    }

    .lightbox-close {
        top: -40px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* ==========================================================
   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 Slideshow Styles */
.hero-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    pointer-events: none;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 0.6;
}

.hero-slide.fade-out {
    opacity: 0;
}

.hero-slide.fade-in {
    opacity: 0.6;
}

.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: 350px;
    /* Diperbesar lebih lagi */
    width: 350px;
    /* Diperbesar lebih lagi */
    object-fit: cover;
    border-radius: 0.375rem;
    display: inline-block;
    vertical-align: middle;
    background-color: var(--bg-card);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;

    /* Classic skeuomorphism - raised button effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);

    /* Classic raised shadow */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        inset 1px 0 0 rgba(255, 255, 255, 0.1),
        inset -1px 0 0 rgba(0, 0, 0, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.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(-3px) scale(1.02);

    /* More pronounced raised effect on hover */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        inset 1px 0 0 rgba(255, 255, 255, 0.15),
        inset -1px 0 0 rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 124, 26, 0.3);

    border-color: rgba(255, 124, 26, 0.4);
    border-top-color: rgba(255, 124, 26, 0.6);
    border-left-color: rgba(255, 124, 26, 0.5);
}

.marquee-image:hover img {
    transform: scale(1.2);
}

.marquee-image:hover::before {
    left: 100%;
}

.marquee-image:active {
    transform: translateY(1px) scale(0.98);

    /* Classic pressed button effect */
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05),
        inset 1px 0 0 rgba(0, 0, 0, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 0 8px rgba(0, 0, 0, 0.2);

    border-top-color: rgba(255, 124, 26, 0.3);
    border-left-color: rgba(255, 124, 26, 0.3);
    border-bottom-color: rgba(255, 124, 26, 0.5);
    border-right-color: rgba(255, 124, 26, 0.4);
}

.marquee-image:active img {
    transform: scale(1.15);
}

.marquee-image:focus {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 124, 26, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments for marquee images */
@media (max-width: 768px) {
    .marquee-image {
        height: 260px;
        /* Diperbesar lebih lagi */
        width: 260px;
        /* Diperbesar lebih lagi */
        margin-right: 0.9rem;
    }
}

@media (max-width: 640px) {
    .marquee-image {
        height: 180px;
        /* Diperbesar lebih lagi */
        width: 180px;
        /* Diperbesar lebih lagi */
        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 {
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.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;
    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: var(--jax-orange, #ff7c1a);
}

@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] {
    background: var(--bg-card, #23272f) !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: 150px;
        /* Diperbesar lebih lagi */
        width: 150px;
        /* Diperbesar lebih lagi */
        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: var(--jax-space-light, #151515);
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;

    /* Classic skeuomorphism - raised button effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);

    /* Classic raised shadow */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        inset 1px 0 0 rgba(255, 255, 255, 0.1),
        inset -1px 0 0 rgba(0, 0, 0, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.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;
}

.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;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0.0) 25%);
    opacity: 1;
    pointer-events: none;
    z-index: 2;

}

/* ==========================================================
   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;
}

/* Classic skeuomorphism shimmer effect */
.shimmer-effect {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Classic skeuomorphism loading spinner */
.twitter-loading .animate-spin {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

.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;
    }
}