/* Uniform game card sizes on homepage and games pages */

.onlinegame .row > [class*="col-"],
.gameBox .row > [class*="col-"],
.branddetail .row > [class*="col-"] {
    display: flex;
}

.onlinegame .row > [class*="col-"] > a,
.gameBox .row > [class*="col-"] > a,
.branddetail .row > [class*="col-"] > a,
.branddetailCard > a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.onlinegame .row > [class*="col-"] > a > img.w-100,
.gameBox .row > [class*="col-"] > a > img.w-100,
.branddetail .row > [class*="col-"] > a > img.w-100,
.branddetailCard > a > img.w-100 {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px;
    background: #1e4998;
    box-shadow: 0 2px 10px rgba(30, 73, 152, 0.15);
}

.onlinegame h3,
.gameBox h3,
.branddetailCard h3 {
    min-height: 2.8em;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
    font-size: 18px !important;
}

@media (min-width: 576px) {
    .onlinegame .row > [class*="col-"] > a > img.w-100,
    .gameBox .row > [class*="col-"] > a > img.w-100,
    .branddetail .row > [class*="col-"] > a > img.w-100,
    .branddetailCard > a > img.w-100 {
        height: 170px;
    }
}

@media (min-width: 768px) {
    .onlinegame .row > [class*="col-"] > a > img.w-100,
    .gameBox .row > [class*="col-"] > a > img.w-100,
    .branddetail .row > [class*="col-"] > a > img.w-100,
    .branddetailCard > a > img.w-100 {
        height: 190px;
    }

    .onlinegame h3,
    .gameBox h3,
    .branddetailCard h3 {
        font-size: 20px !important;
    }
}

@media (min-width: 992px) {
    .onlinegame .row > [class*="col-"] > a > img.w-100,
    .gameBox .row > [class*="col-"] > a > img.w-100,
    .branddetail .row > [class*="col-"] > a > img.w-100,
    .branddetailCard > a > img.w-100 {
        height: 210px;
    }
}

/* Feature section — match casinoroyalusa.com */
.gamefeature .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.gamefeature .row > [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}

.gamefeature .featureBox {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-height: 424px;
    height: 100%;
    text-align: center;
    background-size: cover !important;
    background-position: center !important;
}

.gamefeature .featureBox > div {
    width: 100%;
    padding: 0 10px;
}

.gamefeature .featureBox img {
    max-height: 56px;
    width: auto;
    margin-bottom: 12px;
    object-fit: contain;
}

.gamefeature .featureBox h3 {
    font-size: 22px !important;
    margin-bottom: 12px !important;
}

.gamefeature .featureBox p {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hide WhatsApp only — keep Facebook, Telegram, YouTube */
a[href*="wa.me"],
a[href*="whatsapp.com"],
a[href*="api.whatsapp"],
img[src*="feature-whatsapp"],
.socialMedia > a:nth-child(4),
.socialMediaFooter > a:nth-child(4),
.contactPage .col-lg-12.col-6:nth-child(2),
.contactPage img.qrImage[src*="whatsapp"] {
    display: none !important;
}

/* Game detail page — professional layout */
.gamedetail {
    padding: 40px 0 60px;
}

.gamedetail .gamedetailTitle {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.gamedetail .gameSubdescription {
    font-size: 1.1rem;
    color: #5a6a85;
    font-weight: 500;
    margin-bottom: 0;
}

.gamedetail .row.mt-3 > .col-lg-6:first-child img {
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(30, 73, 152, 0.18);
    background: #1e4998;
    object-fit: cover;
    min-height: 220px;
}

.gamedetail .gamedetailDescription {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.gamedetail .playBtn,
.gamedetail a.playBtn,
.gamedetail button.playBtn {
    display: inline-block;
    min-width: 220px;
    padding: 14px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #f5b301 0%, #ff8c00 100%);
    color: #1a1a2e !important;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(245, 179, 1, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gamedetail .playBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 179, 1, 0.45);
    color: #1a1a2e !important;
}

/* Brand detail page */
.branddetail {
    padding-bottom: 50px;
}

.branddetail h2.mb-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.branddetail .branddetailImage {
    border-radius: 14px;
    box-shadow: 0 10px 32px rgba(30, 73, 152, 0.15);
}

.branddetail p,
.branddetail .brandDescription {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2c3e50;
}

.branddetailCard h3 {
    color: #1e4998;
    font-weight: 600;
}

.branddetailCard > a:hover img {
    transform: scale(1.02);
    transition: transform 0.25s ease;
}

.branddetailCard > a img {
    transition: transform 0.25s ease;
}

/* Brand page — "And Many More" + contact CTA */
.brand-more-cta {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.brand-more-cta__inner {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 2rem;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 55%, #eef3fb 100%);
    border: 1px solid rgba(30, 73, 152, 0.14);
    box-shadow: 0 16px 48px rgba(30, 73, 152, 0.12);
    text-align: center;
}

.brand-more-cta__inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e4998 0%, #f5b301 50%, #1e4998 100%);
}

.brand-more-cta__badge {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(30, 73, 152, 0.1);
    color: #1e4998;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-more-cta__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1e4998;
    letter-spacing: -0.02em;
}

.brand-more-cta__text {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #3d4f66;
}

.brand-more-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.brand-more-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 230px;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.brand-more-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.brand-more-cta__btn--facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bd7 100%);
    color: #fff !important;
}

.brand-more-cta__btn--telegram {
    background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
    color: #fff !important;
}

.brand-more-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-more-cta__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: center;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: #4a5d78;
}

.brand-more-cta__contact a {
    color: #1e4998;
    font-weight: 600;
    text-decoration: none;
}

.brand-more-cta__contact a:hover {
    text-decoration: underline;
}

.brand-more-cta__hint {
    margin: 0;
    font-size: 0.92rem;
    color: #6b7c93;
    font-style: italic;
}

.brand-more-cta__fallback {
    margin: 0;
    color: #6b7c93;
}

@media (max-width: 575px) {
    .brand-more-cta__inner {
        padding: 1.5rem 1.1rem;
    }

    .brand-more-cta__btn {
        width: 100%;
        min-width: 0;
    }
}

/* GET ACCOUNT button — Facebook redirect */
.get-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 210px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    background: linear-gradient(135deg, #1e4998 0%, #2d62c4 100%);
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 26px rgba(30, 73, 152, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.get-account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(30, 73, 152, 0.36);
    color: #fff !important;
}

.get-account-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.get-account-btn--prominent {
    min-width: 230px;
    background: linear-gradient(135deg, #163a7a 0%, #1e4998 55%, #f5b301 140%);
}

.hero-cta-group,
.game-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 1.25rem;
}

.bannerSection .hero-cta-group .playBtn {
    margin: 0;
}

.brand-description-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-get-account-wrap {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(30, 73, 152, 0.12);
}

.brand-get-account-note {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5a6a85;
}

.brand-more-cta__actions .get-account-btn {
    min-width: 240px;
}

@media (max-width: 575px) {
    .hero-cta-group,
    .game-cta-group,
    .brand-more-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .get-account-btn,
    .hero-cta-group .get-account-btn,
    .game-cta-group .get-account-btn {
        width: 100%;
        min-width: 0;
    }
}
