/* Components: Buttons, Cards, Badges, Forms */

/* BUTTONS - BINGO STYLE */
.play-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--bingo-red) 0%, #dc2626 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    border: 3px solid #fff;
    text-align: center;
    box-shadow: 0 4px 0 #991b1b, 0 6px 12px rgba(0,0,0,0.3);
    position: relative;
}

.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #991b1b, 0 8px 16px rgba(239, 68, 68, 0.5);
    color: #fff;
}

.play-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 0 #991b1b, 0 4px 8px rgba(0,0,0,0.3);
}

/* BADGES - BINGO STYLE */
.updated-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 243, 199, 0.95) 100%);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 3px solid var(--bingo-yellow);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.star {
    color: var(--bingo-yellow);
    margin-right: 8px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* CASINO HERO CARDS - HORIZONTAL COMPACT DESIGN */
.casinos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.casino-card {
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    color: var(--color-text);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--bingo-yellow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.casino-card:hover {
    border-color: var(--bingo-red) !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.3);
}

/* New Horizontal Header */
.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
    width: 100%;
}

.card-logo-mini {
    height: 32px;
    /* Small & Compact */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.casino-name {
    font-weight: 800;
    font-size: 1.05rem;
    /* Clean size */
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
    /* No margin needed due to flex gap */
}

/* Adjusted Bonus Section - BINGO STYLE */
.casino-bonus {
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    padding: 12px;
    border-radius: 15px;
    border: 3px dashed var(--bingo-blue);
    position: relative;
}

.casino-bonus::before {
    content: '🎱';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.5rem;
    background: var(--bingo-red);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.casino-bonus .main {
    display: block;
    font-weight: 900;
    font-size: 1rem;
    color: var(--bingo-red);
    line-height: 1.3;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.casino-bonus .sub {
    font-size: 0.85rem;
    color: #78350f;
    font-weight: 600;
}

.play-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    /* Larger Click target text */
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Button pop */
}

/* Hyper-specific selector to override .hero p */
.hero .casinos-grid .casino-card p.casino-disclaimer {
    font-size: 0.65rem !important;
    /* Force Tiny */
    color: #1e293b !important;
    /* Force Dark */
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    /* Reset hero p margin */
    border-top: 1px dotted #cbd5e1;
    padding-top: 6px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.8;
    line-height: 1.2 !important;
    /* Reset hero p line-height */
    max-width: 100%;
    /* Reset hero p max-width */
}

@media (max-width: 900px) {
    .casinos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* HERO CASINO GRID - FORCE NO OVERLAP */
    .hero .casinos-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero .casino-card {
        margin: 0 !important;
        padding: 16px !important;
        min-height: auto !important;
        height: auto !important;
        position: relative !important;
        transform: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .card-header-flex {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .casino-name {
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .casino-bonus {
        margin-bottom: 10px;
        padding: 10px;
    }

    .casino-bonus .main {
        font-size: 0.9rem;
    }

    .casino-bonus .sub {
        font-size: 0.75rem;
    }

    .hero .play-btn {
        width: 100%;
        padding: 12px 20px;
    }

    .hero .casino-disclaimer {
        margin-top: 10px;
    }
}



/* STEPS CARDS - BINGO BALLS */
.register-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.step-card {
    background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
    padding: 24px;
    border-radius: 20px;
    border: 4px solid var(--bingo-yellow);
    position: relative;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.step-card:nth-child(1) { border-color: var(--bingo-red); }
.step-card:nth-child(2) { border-color: var(--bingo-blue); }
.step-card:nth-child(3) { border-color: var(--bingo-green); }
.step-card:nth-child(4) { border-color: var(--bingo-purple); }

.step-number {
    font-size: 4rem;
    font-weight: 900;
    position: absolute;
    top: -15px;
    right: 15px;
    line-height: 1;
    background: linear-gradient(135deg, var(--bingo-red), var(--bingo-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.step-title {
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    color: var(--bingo-red);
}

@media (max-width: 600px) {
    .register-steps {
        grid-template-columns: 1fr;
    }
}