@charset "UTF-8";
/**
 * VietEMoney - Cyber Fintech & 3D Web Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-glow: #10b981;
    --gold-glow: #f59e0b;
    --dark-bg: #030712;
    --card-bg: rgba(15, 23, 42, 0.75);
    --border-color: rgba(51, 65, 85, 0.6);
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: #f1f5f9;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-glow {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
}

.glass-panel-gold {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
}

/* 3D Canvas Container */
#threejs-coin-container {
    cursor: grab;
    user-select: none;
    touch-action: none;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

#threejs-coin-container:active {
    cursor: grabbing;
}

/* Radial Glow Behind 3D Coin */
.coin-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

/* Hero Background Grid Pattern */
.bg-grid-pattern {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
    background: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Banknote Card Styling */
.banknote-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.banknote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Keyframes Pulse Glow */
@keyframes subtlePulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

.animate-subtle-pulse {
    animation: subtlePulse 4s infinite ease-in-out;
}

/* Mobile Dedicated Enhancements */
.safe-area-pb {
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
    .is-mobile-view main {
        padding-bottom: 2.5rem;
    }
    .is-mobile-view #threejs-coin-container {
        height: 290px !important;
    }
    .is-mobile-view #threejs-stock-container {
        height: 330px !important;
    }
    .is-mobile-view table th,
    .is-mobile-view table td {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
