/* ============================================================
   Button Casino Pro v2 – Frontend CSS
   5 Styles: gold · neon · royal · fire · crystal
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800&display=swap');

/* ── BASE ─────────────────────────────────────────────────── */
.bc-wrapper {
    display: flex;
    width: 100%;
    margin: 1.5em 0;
    box-sizing: border-box;
}
.bc-wrapper.bc-align-center { justify-content: center; }
.bc-wrapper.bc-align-left   { justify-content: flex-start; }
.bc-wrapper.bc-align-right  { justify-content: flex-end; }

.bc-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

/* ── BUTTON BASE ──────────────────────────────────────────── */
.bc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: .045em;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1),
                box-shadow .25s ease,
                background .2s ease;
}

/* shine */
.bc-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.3) 40%,
        rgba(255,255,255,0) 55%);
    transform: translateX(-100%);
    pointer-events: none;
    transition: transform 0s;
}
.bc-btn:hover .bc-shine {
    transform: translateX(220%);
    transition: transform .65s ease;
}

/* arrow */
.bc-arrow {
    font-size: 1.4em;
    line-height: 1;
    transition: transform .22s ease;
}
.bc-btn:hover .bc-arrow { transform: translateX(5px); }

/* icon */
.bc-icon { display: flex; align-items: center; flex-shrink: 0; }
.bc-icon svg { display: block; }

/* press */
.bc-btn:active { transform: scale(.97) translateY(1px) !important; }

/* ── SIZES ────────────────────────────────────────────────── */
.bc-size-sm .bc-btn { padding: 10px 22px; font-size: 13px; border-radius: 100px; }
.bc-size-sm .bc-icon svg { width: 15px; height: 15px; }

.bc-size-md .bc-btn { padding: 14px 30px; font-size: 15px; border-radius: 100px; }
.bc-size-md .bc-icon svg { width: 18px; height: 18px; }

.bc-size-lg .bc-btn { padding: 18px 42px; font-size: 17px; border-radius: 100px; }
.bc-size-lg .bc-icon svg { width: 22px; height: 22px; }

/* ══════════════════════════════════════════════════════════
   STYLE 1 – GOLD VEGAS 🥇
   Pill shape · warm gold gradient · glow pulse
══════════════════════════════════════════════════════════ */
.bc-style-gold .bc-btn-register {
    background: linear-gradient(135deg, #ffe566 0%, #ffaa00 45%, #e65c00 100%);
    color: #1a0800;
    border: 1.5px solid rgba(255,230,100,.5);
    box-shadow: 0 4px 20px rgba(255,140,0,.45),
                0 1px 0 rgba(255,255,255,.25) inset;
    animation: bc-gold-pulse 2.8s ease-in-out infinite;
}
.bc-style-gold .bc-btn-register:hover {
    animation: none;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 36px rgba(255,140,0,.65);
}
@keyframes bc-gold-pulse {
    0%,100% { box-shadow: 0 4px 18px rgba(255,140,0,.45), 0 0 0 0 rgba(255,200,0,.4); }
    50%      { box-shadow: 0 4px 18px rgba(255,140,0,.45), 0 0 0 9px rgba(255,200,0,0); }
}

.bc-style-gold .bc-btn-login {
    color: #e65c00;
    background: rgba(255,220,100,.06);
    border: 2px solid #ffaa00;
    box-shadow: 0 2px 12px rgba(255,140,0,.18);
    backdrop-filter: blur(4px);
}
.bc-style-gold .bc-btn-login:hover {
    background: linear-gradient(135deg, #ffe566, #ffaa00);
    color: #1a0800;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 28px rgba(255,140,0,.5);
}

/* ══════════════════════════════════════════════════════════
   STYLE 2 – NEON CYBER 🔮
   Rounded rect · purple-cyan gradient · neon glow
══════════════════════════════════════════════════════════ */
.bc-style-neon .bc-group { gap: 12px; }

.bc-style-neon .bc-btn {
    border-radius: 8px;         /* square-ish corners */
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .9em;
}

.bc-style-neon .bc-btn-register {
    background: linear-gradient(135deg, #bf00ff 0%, #7b00ff 40%, #00d4ff 100%);
    color: #fff;
    border: none;
    box-shadow: 0 0 18px rgba(191,0,255,.6),
                0 0 48px rgba(0,212,255,.25),
                inset 0 1px 0 rgba(255,255,255,.2);
    animation: bc-neon-flicker 3s ease-in-out infinite;
}
.bc-style-neon .bc-btn-register:hover {
    animation: none;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 0 30px rgba(191,0,255,.85),
                0 0 70px rgba(0,212,255,.45);
}
@keyframes bc-neon-flicker {
    0%,90%,100% { box-shadow: 0 0 18px rgba(191,0,255,.6), 0 0 48px rgba(0,212,255,.25), inset 0 1px 0 rgba(255,255,255,.2); }
    92%         { box-shadow: 0 0 6px rgba(191,0,255,.3),  0 0 16px rgba(0,212,255,.1);  }
    94%         { box-shadow: 0 0 22px rgba(191,0,255,.7), 0 0 56px rgba(0,212,255,.3);  }
}

.bc-style-neon .bc-btn-login {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    box-shadow: 0 0 10px rgba(0,212,255,.3), inset 0 0 10px rgba(0,212,255,.05);
}
.bc-style-neon .bc-btn-login:hover {
    background: rgba(0,212,255,.12);
    color: #fff;
    box-shadow: 0 0 22px rgba(0,212,255,.65);
    transform: translateY(-4px) scale(1.03);
}

/* ══════════════════════════════════════════════════════════
   STYLE 3 – ROYAL GREEN 👑
   Pill · emerald gradient · shimmer
══════════════════════════════════════════════════════════ */
.bc-style-royal .bc-btn-register {
    background: linear-gradient(135deg, #52ffb8 0%, #00c896 45%, #007a5a 100%);
    color: #002c1a;
    border: 1.5px solid rgba(80,255,180,.35);
    box-shadow: 0 4px 22px rgba(0,200,150,.45),
                0 1px 0 rgba(255,255,255,.3) inset;
    animation: bc-royal-pulse 3s ease-in-out infinite;
}
.bc-style-royal .bc-btn-register:hover {
    animation: none;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 36px rgba(0,200,150,.65);
}
@keyframes bc-royal-pulse {
    0%,100% { box-shadow: 0 4px 22px rgba(0,200,150,.45), 0 0 0 0 rgba(80,255,180,.4); }
    55%     { box-shadow: 0 4px 22px rgba(0,200,150,.45), 0 0 0 10px rgba(80,255,180,0); }
}

.bc-style-royal .bc-btn-login {
    color: #00c896;
    background: transparent;
    border: 2px solid #00c896;
    box-shadow: 0 2px 12px rgba(0,200,150,.18);
}
.bc-style-royal .bc-btn-login:hover {
    background: linear-gradient(135deg, #52ffb8, #00c896);
    color: #002c1a;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,200,150,.55);
}

/* ══════════════════════════════════════════════════════════
   STYLE 4 – FIRE RED 🔥
   Angled clip-path · flame gradient · heat shimmer
══════════════════════════════════════════════════════════ */
.bc-style-fire .bc-btn {
    border-radius: 6px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.bc-style-fire .bc-btn-register {
    background: linear-gradient(135deg, #ff9a00 0%, #ff3d00 50%, #c60000 100%);
    color: #fff;
    border: none;
    box-shadow: 0 5px 24px rgba(255,60,0,.5),
                0 1px 0 rgba(255,200,80,.25) inset;
    animation: bc-fire-shake 2.5s ease-in-out infinite;
}
.bc-style-fire .bc-btn-register:hover {
    animation: none;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 38px rgba(255,60,0,.75);
}
@keyframes bc-fire-shake {
    0%,100% { transform: translateX(0); }
    92%     { transform: translateX(-1px) rotate(-.3deg); }
    94%     { transform: translateX( 1px) rotate( .3deg); }
    96%     { transform: translateX(-1px); }
    98%     { transform: translateX( 1px); }
}

.bc-style-fire .bc-btn-login {
    background: rgba(255,80,0,.08);
    color: #ff6b00;
    border: 2px solid #ff6b00;
    box-shadow: 0 2px 12px rgba(255,60,0,.18);
}
.bc-style-fire .bc-btn-login:hover {
    background: linear-gradient(135deg, #ff9a00, #ff3d00);
    color: #fff;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(255,60,0,.6);
}

/* ══════════════════════════════════════════════════════════
   STYLE 5 – CRYSTAL BLUE 💎
   Glassmorphism · frosted · shimmer bands
══════════════════════════════════════════════════════════ */
.bc-style-crystal .bc-btn {
    border-radius: 14px;
}

.bc-style-crystal .bc-btn-register {
    background: linear-gradient(135deg,
        rgba(0,207,255,.85) 0%,
        rgba(0,112,243,.9)  50%,
        rgba(0,50,160,.95) 100%);
    color: #fff;
    border: 1px solid rgba(0,207,255,.45);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 28px rgba(0,112,243,.45),
                0 1px 0 rgba(255,255,255,.3) inset,
                inset 0 -1px 0 rgba(0,0,0,.15);
    animation: bc-crystal-glow 3.5s ease-in-out infinite;
}
.bc-style-crystal .bc-btn-register:hover {
    animation: none;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 40px rgba(0,112,243,.65),
                0 0 40px rgba(0,207,255,.3);
}
@keyframes bc-crystal-glow {
    0%,100% { box-shadow: 0 6px 28px rgba(0,112,243,.45), 0 1px 0 rgba(255,255,255,.3) inset, 0 0 0 0 rgba(0,207,255,.3); }
    55%     { box-shadow: 0 6px 28px rgba(0,112,243,.45), 0 1px 0 rgba(255,255,255,.3) inset, 0 0 0 10px rgba(0,207,255,0); }
}

.bc-style-crystal .bc-btn-login {
    background: rgba(255,255,255,.07);
    color: #00cfff;
    border: 1.5px solid rgba(0,207,255,.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(0,112,243,.15),
                inset 0 1px 0 rgba(255,255,255,.15);
}
.bc-style-crystal .bc-btn-login:hover {
    background: rgba(0,207,255,.18);
    color: #fff;
    border-color: rgba(0,207,255,.7);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,112,243,.5);
}

/* ── PARTICLES ────────────────────────────────────────────── */
.bc-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}
.bc-particles span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
    opacity: 0;
    transform: scale(0);
}
.bc-particles span:nth-child(1) { top:15%; left:8%;  }
.bc-particles span:nth-child(2) { top:65%; left:20%; }
.bc-particles span:nth-child(3) { top:30%; left:55%; }
.bc-particles span:nth-child(4) { top:10%; left:78%; }
.bc-particles span:nth-child(5) { top:72%; left:88%; }

.bc-btn-register:hover .bc-particles span { animation: bc-burst .7s ease forwards; }
.bc-btn-register:hover .bc-particles span:nth-child(1) { animation-delay: .05s; }
.bc-btn-register:hover .bc-particles span:nth-child(2) { animation-delay: .13s; }
.bc-btn-register:hover .bc-particles span:nth-child(3) { animation-delay: .21s; }
.bc-btn-register:hover .bc-particles span:nth-child(4) { animation-delay: .09s; }
.bc-btn-register:hover .bc-particles span:nth-child(5) { animation-delay: .17s; }

@keyframes bc-burst {
    0%   { opacity:1; transform:scale(0); }
    70%  { opacity:.9; transform:scale(1.6) translate(6px,-8px); }
    100% { opacity:0; transform:scale(0)  translate(12px,-14px); }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 520px) {
    .bc-group        { flex-direction: column; gap: 10px; width: 100%; }
    .bc-btn          { width: 100%; justify-content: center; }
    .bc-style-fire .bc-btn { clip-path: none; border-radius: 10px; }
}
