:root {
  --neon-green: #00ff99;
  --neon-red: #ff0055;
  --gold: #f5c842;
  --neon-yellow: #f1c40f;
  --neon-blue: #00d2ff;
}

.buy-overlay { position:fixed;inset:0;background:rgba(4,4,10,0.95);backdrop-filter:blur(14px);display:none;flex-direction:column;align-items:center;justify-content:center;z-index:9999; padding-bottom: 90px; }
.overlay-inner-ff { width:100%;max-width:380px;display:flex;align-items:center;justify-content:center; }
.victory-card-ff {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 32px;
    padding: 52px 44px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    animation: popIn .3s cubic-bezier(.34, 1.56, .64, 1) both;
    backdrop-filter: blur(10px);
}
.victory-card-ff::before {
    content: ''; position: absolute; inset: -1px; border-radius: 33px;
    background: linear-gradient(135deg, rgba(245, 200, 66, .3), transparent, rgba(0, 207, 255, .2));
    z-index: -1; animation: borderShimmer 3s linear infinite;
}
.victory-title-ff { font-family: 'Anton', sans-serif; font-size: 2.5rem; color: var(--gold); letter-spacing: .1em; text-shadow: 0 0 20px rgba(245, 200, 66, 0.3); line-height: 1; margin-bottom: 8px; }
.victory-sub-ff { font-size: 1.1rem; color: rgba(255, 255, 255, 0.6); letter-spacing: .05em; margin-bottom: 20px; font-family: 'Inter', sans-serif;}

.hint-packages-ff { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; width: 100%; }
.hint-pkg-btn-ff { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; transition: all .25s; color: #fff; font-family: 'Anton', sans-serif; }
.hint-pkg-btn-ff:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.hint-pkg-btn-ff.selected-pkg { background: linear-gradient(135deg, rgba(245, 200, 66, .15), rgba(245, 200, 66, .05)); border-color: rgba(245, 200, 66, .6); box-shadow: 0 4px 20px rgba(245, 200, 66, .2); }
.hint-pkg-btn-ff.selected-pkg:hover { background: linear-gradient(135deg, rgba(245, 200, 66, .25), rgba(245, 200, 66, .1)); border-color: var(--gold); }

.pkg-info-ff { display: flex; flex-direction: column; align-items: flex-start; }
.pkg-amount-ff { font-size: 1.8rem; letter-spacing: .05em; color: #fff; line-height: 1; }
.hint-pkg-btn-ff.selected-pkg .pkg-amount-ff { color: var(--gold); }

.pkg-price-ff { font-size: 1.6rem; color: var(--gold); background: rgba(0, 0, 0, 0.3); padding: 8px 16px; border-radius: 12px; letter-spacing: .05em; }

.victory-btn-ff { width: 100%; padding: 20px; font-family: 'Anton', sans-serif; font-size: 1.6rem; letter-spacing: .1em; color: #05080f; background: linear-gradient(135deg, var(--gold), #c9962a); border: none; border-radius: 100px; cursor: pointer; box-shadow: 0 8px 32px rgba(245, 200, 66, 0.3), 0 2px 0 rgba(255, 255, 255, .2) inset; transition: all .3s cubic-bezier(.4, 0, .2, 1); margin-bottom: 12px; }
.victory-btn-ff:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(245, 200, 66, 0.4) }
.victory-btn-ff:active { transform: translateY(0) }

.back-btn-ov-ff { width: 100%; background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: white; border-radius: 12px; padding: 12px; font-family: 'Anton', sans-serif; font-size: 1.1rem; cursor: pointer; }
.back-btn-ov-ff:hover { background: rgba(255, 255, 255, 0.1); }

@keyframes borderShimmer { 0% { opacity: .5 } 50% { opacity: 1 } 100% { opacity: .5 } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.9) translateY(20px) } 100% { opacity: 1; transform: scale(1) translateY(0) } }

@media (max-height: 900px), (max-width: 600px) {
  .victory-card-ff { padding: 30px 20px; border-radius: 24px; width: 95%; }
  .victory-title-ff { font-size: 2rem; margin-bottom: 4px; }
  .victory-sub-ff { font-size: 1rem; margin-bottom: 12px; }
  .hint-packages-ff { gap: 8px; margin-bottom: 12px; }
  .hint-pkg-btn-ff { padding: 12px 16px; border-radius: 12px; }
  .pkg-amount-ff { font-size: 1.4rem; }
  .pkg-price-ff { font-size: 1.2rem; padding: 6px 12px; }
  .victory-btn-ff { padding: 14px; font-size: 1.3rem; margin-bottom: 8px; }
}
