/* Custom CSS for IR BONDS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

@keyframes deal-card {
    from {
        transform: translate(-50%, -500px) rotate(0deg);
        opacity: 0;
    }
    to {
        transform: translate(0, 0) rotate(var(--tw-rotate, 0deg));
        opacity: 1;
    }
}

.animate-deal {
    animation: deal-card 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.card-hover:hover {
    transform: translateY(-20px) scale(1.05) rotate(var(--tw-rotate, 0deg)) !important;
    z-index: 50;
    transition: all 0.3s ease;
}

.bg-hero-gradient {
    background: radial-gradient(circle at 20% 30%, rgba(76, 29, 149, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(252, 194, 0, 0.05) 0%, transparent 50%);
}

.price-bond-overlay {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 90%;
    height: 100%;
    background: url('../images/price-bond.png') no-repeat center right / contain;
    background-blend-mode: overlay;
    opacity: 0.2;
    z-index: -1;
    display: none; /* Hidden by default */
}

@media (min-width: 1024px) { /* Show on large screens and up */
    .price-bond-overlay {
        display: block;
        width: 70%; /* Adjust for larger screens */
        background-position: right -10% center;
    }
}

.text-gradient-gold {
    background: linear-gradient(to right, #fcc200, #fde047, #fcc200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gold {
    background: linear-gradient(to right, #fcc200, #fde047);
    color: #070b24;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(252, 194, 0, 0.4);
}

.btn-purple {
    background: rgba(76, 29, 149, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-purple:hover {
    background: rgba(76, 29, 149, 0.4);
    border-color: rgba(139, 92, 246, 0.5);
}

.game-card {
    background: rgba(12, 18, 50, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: rgba(252, 194, 0, 0.3);
    transform: translateY(-5px);
}

.commission-banner {
    background: rgba(12, 18, 50, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Game table specific helpers */
.text-gold { color: #fcca00; }
.bg-gold { background: linear-gradient(180deg,#fcca00,#ffd950); }
.border-gold { border-color: rgba(252,202,0,0.85); }
.shadow-gold { box-shadow: 0 10px 40px rgba(252,202,0,0.12); }

/* Table UI responsiveness */
.table-ui-player { transition: transform .25s ease, opacity .2s ease; }
.table-ui-player.online { transform: scale(1.03); opacity: 1; }
.table-ui-player.offline { opacity: 0.6; filter: grayscale(0.6); }

/* Small card and community styling fallbacks */
.card-placeholder { background: linear-gradient(180deg,#ffffff,#f3f4f6); border-radius: .5rem; min-width: 48px; min-height: 64px; }

@media (max-width: 640px) {
    .bg-gold { background: #fcca00; }
}
