/* ============================================
   Neoboost - Game Website Styles
   Dark Theme with Blue and Purple Accents
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #0b0e17;
    color: #f9f9f9;
    line-height: 1.6;
}

/* Hide cookie consent bar (Allow/Decline) */
.cookie-main-wrapper {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.75rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Quick Topup (Royal ID + Whats App ID) */
.gx-quick-topup {
    margin-top: 18px;
}

.gx-quick-topup {
    /* Force children (player box + grid) to be centered consistently on phones */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gx-quick-topup > * {
    width: 100%;
}

.gx-player-box {
    /* Make the player box match the wider cards grid */
    max-width: 1400px;
    margin: 0 auto 22px;
    padding: 26px 26px 22px;
    border-radius: 22px;
    border: 2px solid rgba(212, 175, 55, 0.85);
    background: linear-gradient(135deg, rgba(26, 47, 74, 0.72) 0%, rgba(10, 22, 40, 0.92) 100%);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gx-player-box-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 2px;
    color: rgba(244, 208, 63, 0.98);
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}

.gx-quick-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
    max-width: 100%;
}

.gx-quick-field label {
    display: block;
    margin-bottom: 12px;
    font-weight: 800;
    color: rgba(244, 208, 63, 0.92);
    letter-spacing: 0.6px;
}

.gx-quick-input {
    width: 100%;
    height: 64px;
    border-radius: 16px;
    padding: 0 22px;
    border: 2px solid rgba(212, 175, 55, 0.85);
    background: rgba(10, 22, 40, 0.55);
    color: rgba(255, 255, 255, 0.92);
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.gx-quick-input::placeholder {
    color: rgba(255, 255, 255, 0.30);
}

.gx-quick-input:focus {
    border-color: rgba(244, 208, 63, 0.98);
    box-shadow: 0 0 0 5px rgba(244, 208, 63, 0.10);
}

/* Make card clickable as button */
button.gx-card-link {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    /* Don't inherit text-align from outer theme/layout (can be left on mobile) */
    text-align: center;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gx-player-box {
        padding: 18px 16px 16px;
        border-radius: 18px;
    }
    .gx-player-box-title {
        font-size: 18px;
        margin-bottom: 14px;
    }
    .gx-quick-fields { gap: 14px; }
    .gx-quick-input {
        height: 56px;
        border-radius: 14px;
        padding: 0 18px;
    }
}

/* ============================================
   Header Styles
   ============================================ */

header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(11, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.gx-site-header {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.86) 100%);
    border-bottom: 2px solid rgba(212, 175, 55, 0.75);
}

.gx-site-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
}

.gx-site-header .logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.gx-site-header .gx-site-logo {
    width: 68px;
    height: auto;
    max-height: 68px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.gx-site-header .logo-text h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    color: rgba(244, 208, 63, 0.98);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

.gx-site-header .logo-text p {
    margin: 2px 0 0;
    font-size: 14px;
    color: rgba(249, 249, 249, 0.70);
}

.gx-site-header .header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.gx-site-header .btn-outline,
.gx-site-header .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.gx-site-header .gx-wa-ico {
    font-size: 20px;
    line-height: 1;
    color: #25D366;
}

/* Make Hubungi (bongkar wa) icon black, keep Admin CS green */
.gx-site-header .gx-hubungi-btn .gx-wa-ico {
    color: #000;
}

.gx-site-header .btn-outline {
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.85);
    color: rgba(244, 208, 63, 0.98);
}

.gx-site-header .btn-outline:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.18);
    border-color: rgba(244, 208, 63, 0.98);
}

.gx-site-header .btn-primary {
    border: none;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #0a1628;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.22);
}

.gx-site-header .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.32);
}

@media (max-width: 768px) {
    .gx-site-header .header-content {
        padding: 14px 0;
    }
    .gx-site-header .header-buttons {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
    .gx-site-header .btn-outline,
    .gx-site-header .btn-primary {
        width: 132px;
        justify-content: center;
    }
    .gx-site-header .gx-site-logo {
        width: 56px;
        max-height: 56px;
    }
    .gx-site-header .logo-text h1 {
        font-size: 22px;
    }
    .gx-site-header .logo-text p {
        font-size: 12px;
    }
    .gx-site-header .btn-outline,
    .gx-site-header .btn-primary {
        height: 38px;
        padding: 0 14px;
        border-radius: 10px;
        font-size: 13px;
    }

    .gx-site-header .gx-wa-ico {
        font-size: 18px;
    }
}

/* Top-up details page: center the form when left panel is removed */
.gx-details-center {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.gx-details-center .dash-payment-btn .btn--base {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.header-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(to bottom, #4f8cff, #7a5cff);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    nav {
        display: flex;
    }
}

nav a {
    font-size: 0.875rem;
    color: rgba(249, 249, 249, 0.7);
    transition: color 150ms;
}

nav a:hover {
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions button {
    font-size: 0.875rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 150ms;
    color: rgba(249, 249, 249, 0.7);
}

.header-actions button:hover {
    color: #ffffff;
}

.btn-signup {
    padding: 0.5rem 1rem;
    background-color: #4f8cff;
    color: #ffffff;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 150ms;
}

.btn-signup:hover {
    background-color: #3d6fcc;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    padding: 4rem 1.5rem;
    background-color: #0b0e17;
}

.hero-container {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    color: rgba(249, 249, 249, 0.7);
    margin-bottom: 2rem;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .button-group {
        flex-direction: row;
    }
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 150ms;
    border: none;
}

.btn-primary {
    background-color: #4f8cff;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #3d6fcc;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f8cff;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(249, 249, 249, 0.6);
}

.hero-image {
    position: relative;
}

.hero-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #4f8cff, #7a5cff);
    border-radius: 1rem;
    filter: blur(3rem);
    opacity: 0.3;
}

.hero-image img {
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(79, 140, 255, 0.2);
    width: 100%;
    display: block;
}

/* ============================================
   Popular Games Section
   ============================================ */

.games-section {
    /* Reduce excessive top whitespace above "Popular Games" */
    padding: 3rem 1rem 4rem;
    background-color: #0b0e17;
}

/* Widen just the Popular Games container (avoid affecting other sections) */
.games-section .section-container {
    max-width: 96rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .games-section {
        padding: 3.5rem 1.25rem 5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(249, 249, 249, 0.7);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.game-card {
    position: relative;
    background-color: #14172b;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: border-color 150ms;
}

.game-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.game-card-image {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.game-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: #ff6b35;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.game-card-content {
    padding: 1rem;
}

.game-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.game-card-price {
    font-size: 0.75rem;
    color: rgba(249, 249, 249, 0.7);
    margin-bottom: 1rem;
}

.game-card-button {
    width: 100%;
    background-color: #4f8cff;
    color: #ffffff;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 150ms;
}

.game-card-button:hover {
    background-color: #3d6fcc;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    padding: 5rem 1.5rem;
    background-color: #0b0e17;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-item {
    text-align: center;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom, #4f8cff, #7a5cff);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    color: white;
    font-size: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-description {
    color: rgba(249, 249, 249, 0.7);
}

.steps-footer {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(249, 249, 249, 0.5);
    margin-top: 3rem;
}

/* ============================================
   Why Choose Neoboost Section
   ============================================ */

.features-section {
    padding: 5rem 1.5rem;
    background-color: #0b0e17;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background-color: #14172b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 150ms;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom, #4f8cff, #7a5cff);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
    font-size: 1.25rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: rgba(249, 249, 249, 0.7);
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
    padding: 5rem 1.5rem;
    background-color: #0b0e17;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: #14172b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #ff6b35;
}

.testimonial-text {
    color: rgba(249, 249, 249, 0.8);
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #4f8cff, #7a5cff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.testimonial-game {
    font-size: 0.75rem;
    color: rgba(249, 249, 249, 0.6);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 5rem 1.5rem;
    background-color: #0b0e17;
}

.faq-container {
    max-width: 56rem;
    margin: 0 auto;
}

.faq-space {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #14172b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
    cursor: pointer;
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.125rem;
    list-style: none;
    user-select: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 150ms;
}

.faq-item[open] .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    color: rgba(249, 249, 249, 0.7);
    margin-top: 1rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background-color: rgba(20, 23, 43, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 1.5rem;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(249, 249, 249, 0.6);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.25rem;
    height: 2.25rem;
    background-color: rgba(11, 14, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 150ms;
    cursor: pointer;
}

.social-link:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(249, 249, 249, 0.6);
    transition: color 150ms;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(249, 249, 249, 0.6);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-links {
        margin-top: 0;
    }
}

.footer-bottom-links a {
    color: rgba(249, 249, 249, 0.6);
    transition: color 150ms;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

/* ============================================
   Animation Classes
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

/* ============================================
   GameXP Cards Grid (Topup + Recharge Sections)
   Scoped styles to avoid overriding Bootstrap .card/.btn
   ============================================ */

.gx-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.gx-card {
    position: relative;
    background: radial-gradient(120% 120% at 50% 0%, rgba(36, 72, 110, 0.45) 0%, rgba(10, 22, 40, 0.96) 55%, rgba(10, 22, 40, 0.98) 100%);
    border: 2px solid rgba(212, 175, 55, 0.85);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, border-color 0.35s;
}

.gx-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.10), transparent 70%);
    pointer-events: none;
}

.gx-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 40px rgba(212, 175, 55, 0.14);
    border-color: rgba(244, 208, 63, 0.95);
}

.gx-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gx-badge-hot {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #c41e3a 0%, #e63946 100%);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.40);
    z-index: 2;
}

.gx-card-body {
    width: 100%;
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.gx-card-body--center {
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Ensure all inner content is centered */
.gx-card-body--center > * {
    text-align: center;
}

.gx-card-body--center .coin-icon {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

.gx-card-body--center .gx-coin-amount,
.gx-card-body--center .gx-coin-label,
.gx-card-body--center .gx-price-section {
    width: 100%;
    align-self: stretch; /* prevent "centered column" from shrinking */
}

.gx-card-body--center .gx-price-section {
    display: flex;
    justify-content: center;
}

.gx-card-body--center .gx-current-price {
    width: 100%;
    text-align: center;
}

.gx-card .coin-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: radial-gradient(circle at 30% 30%, #f4d03f, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4),
    inset -2px -2px 10px rgba(0, 0, 0, 0.3),
    inset 2px 2px 10px rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.gx-card .coin-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(244, 208, 63, 0.3), transparent);
    animation: gxGlow 2.5s ease-in-out infinite;
}

@keyframes gxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gxGlow {
    0%, 100% { box-shadow: 0 0 22px rgba(212, 175, 55, 0.32); }
    50% { box-shadow: 0 0 48px rgba(212, 175, 55, 0.62); }
}

/* Legacy (replaced by .gx-card .coin-icon above) */

.gx-coin-amount {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
    color: rgba(244, 208, 63, 0.98);
    margin: 4px 0 4px;
    letter-spacing: 0.6px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
    min-height: 36px; /* keep alignment across cards */
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gx-coin-label {
    font-size: 11px;
    color: rgba(184, 134, 11, 0.95);
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.gx-price-section {
    margin: 8px 0 10px;
}

.gx-current-price {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: rgba(244, 208, 63, 0.98);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
    letter-spacing: 0.6px;
    min-height: 34px;
}

.gx-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch; /* full width inside flex column */
    padding: 10px 14px;
    margin-top: auto; /* align buttons across cards */
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #0a1628;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.28);
}

.gx-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 50%, #f4d03f 100%);
}

@media (max-width: 768px) {
    .gx-cards-grid {
        /* Phone/tablet: 3 cards per row (avoid truncating price on narrow cards) */
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        justify-items: center; /* center each card inside its column */
    }
    .gx-card-body--center {
        padding: 12px 12px 10px;
    }
    .gx-card .coin-icon {
        width: 72px;
        height: 72px;
        font-size: 42px;
        margin-bottom: 6px;
    }
    .gx-coin-icon {
        width: 96px;
        height: 96px;
    }
    .gx-coin-icon img {
        width: 56px;
        height: 56px;
    }
    .gx-coin-amount {
        font-size: 18px;
        min-height: 22px;
    }
    .gx-current-price {
        font-size: 18px;
        min-height: 20px;
        letter-spacing: 0.2px;
        white-space: nowrap;
    }
    .gx-btn {
        padding: 8px 10px;
        font-size: 10px;
        border-radius: 10px;
    }
}

@media (max-width: 520px) {
    /* Phones: 3 cards per row so prices don't get clipped */
    .gx-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        gap: 10px;
    }
    .gx-card {
        width: 100%;
        max-width: none;
    }
    /* Make the coin icon smaller than the card width so it doesn't overflow/shift */
    .gx-card .coin-icon {
        width: 56px;
        height: 56px;
        font-size: 30px;
        margin: 0 auto;
    }
    .gx-card .coin-icon::before {
        inset: -6px;
    }
    .gx-card-body--center {
        padding: 10px 10px 8px;
    }
    .gx-coin-amount {
        font-size: 15px;
        min-height: 18px;
    }
    .gx-coin-label {
        font-size: 8px;
        margin-bottom: 4px;
        letter-spacing: 1px;
    }
    .gx-current-price {
        font-size: 15px;
        min-height: 18px;
        letter-spacing: 0.2px;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    /* Small phones: keep 3 per row */
    .gx-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
    }
    .gx-card {
        width: 100%;
    }
    .gx-card .coin-icon {
        width: 38px;
        height: 38px;
        font-size: 22px;
        margin: 0 auto 2px;
    }
    .gx-card .coin-icon::before {
        inset: -5px;
    }
}

@media (max-width: 420px) {
    /* Small phones: keep 3 per row, tighter spacing */
    .gx-cards-grid {
        gap: 10px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
    }
    .gx-card {
        width: 100%;
        max-width: none;
    }
    .gx-card-body--center {
        padding: 8px 8px 6px;
    }
    .gx-card .coin-icon {
        width: 52px;
        height: 52px;
        font-size: 28px;
        margin: 0 auto 2px;
    }
    .gx-coin-amount {
        font-size: 14px;
        min-height: 16px;
    }
    .gx-coin-label {
        font-size: 8px;
        margin-bottom: 4px;
    }
    .gx-price-section {
        margin: 1px 0 2px;
    }
    .gx-current-price {
        font-size: 14px;
        min-height: 16px;
        white-space: nowrap;
    }
    .gx-btn {
        padding: 6px 8px;
        font-size: 9px;
        border-radius: 8px;
        letter-spacing: 0.5px;
    }
}

/* Force card inner content to stay centered (override any conflicting styles) */
@media (max-width: 520px) {
    .gx-card-body--center {
        align-items: center !important;
        text-align: center !important;
    }
    .gx-card-body--center .coin-icon {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .gx-btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        line-height: 1 !important;
    }
}

@media (max-width: 520px) {
    /* Mobile: make button text visually centered inside small pill */
    .gx-btn {
        height: 26px;
        font-size: 9px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 320px) {
    /* Very small devices: fallback to 3 per row */
    .gx-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .gx-card {
        width: 100%;
    }
}

/* =========================================================
   Safety overrides: keep quick-topup card content centered
   (some theme/Bootstrap rules may affect <button> descendants)
   ========================================================= */
.gx-card-body.gx-card-body--center {
    align-items: center !important;
    text-align: center !important;
}
.gx-card-body.gx-card-body--center > * {
    text-align: center !important;
}
.gx-card-body.gx-card-body--center .gx-price-section {
    display: flex;
    justify-content: center !important;
}
.gx-card-body.gx-card-body--center .gx-current-price {
    text-align: center !important;
}
.gx-card-body.gx-card-body--center .gx-coin-amount,
.gx-card-body.gx-card-body--center .gx-coin-label,
.gx-card-body.gx-card-body--center .gx-current-price {
    text-align: center !important;
}
.gx-btn {
    justify-content: center !important;
    text-align: center !important;
}
