/* ==========================================================================
   Mobile-First Index Page Styles (Always Mobile Viewport Experience)
   ========================================================================== */

/* Sections */
.section {
    padding: 36px 16px;
    width: 100%;
}

.section-alt {
    background-color: var(--bg-page-subtle);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    text-align: left;
    margin-bottom: 24px;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.section-header .section-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--color-text-main);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.section-header .section-title span {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 12px;
    margin-top: 12px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--color-primary-soft);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

/* ==========================================================================
   Featured Promotions (Mobile Stack)
   ========================================================================== */
.promos-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promo-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease;
}

.promo-card:active {
    transform: scale(0.99);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    width: fit-content;
    margin-bottom: 12px;
}

.promo-card:nth-child(2) .promo-badge {
    background: var(--color-emerald-soft);
    color: var(--color-emerald);
}

.promo-card:nth-child(3) .promo-badge {
    background: var(--color-accent-soft);
    color: #b45309;
}

.promo-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-card p {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.promo-cta {
    background: var(--gradient-primary);
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* ==========================================================================
   Games Grid (Mobile 2-Column Casino Layout)
   ========================================================================== */
.vertical-games {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.game-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.game-card-image-wrap {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: var(--bg-page-subtle);
}

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

.game-rtp-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #10b981;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.game-card-body {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-card-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-desc {
    color: var(--color-text-muted);
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.game-card-actions {
    display: flex;
    gap: 6px;
}

.btn-card {
    flex: 1;
    padding: 7px 4px;
    border-radius: var(--radius-pill);
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 11px;
}

.btn-card.visite {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.btn-card.contato {
    background: var(--bg-page-subtle);
    border: 1px solid var(--border-light);
    color: var(--color-text-body);
}

/* ==========================================================================
   How It Works (Mobile 2x2 or Stacked Steps)
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 12px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.step-icon {
    width: 36px;
    height: 36px;
    background: var(--color-primary-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
}

.step-card:nth-child(2) .step-icon {
    background: var(--color-emerald-soft);
    color: var(--color-emerald);
}

.step-card:nth-child(3) .step-icon {
    background: var(--color-accent-soft);
    color: #b45309;
}

.step-card:nth-child(4) .step-icon {
    background: #f3e8ff;
    color: #9333ea;
}

.step-number {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 900;
    color: var(--color-text-light);
}

.step-card h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 6px;
    line-height: 1.3;
}

.step-card p {
    color: var(--color-text-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* ==========================================================================
   Signature Dark Contrast Section (Mobile Frame)
   ========================================================================== */
.dark-showcase-section {
    background: var(--bg-dark-section);
    color: #ffffff;
    padding: 36px 16px;
    width: 100%;
}

.dark-header {
    text-align: left;
    margin-bottom: 24px;
}

.dark-header .section-pill-tag {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.3);
}

.dark-header h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #ffffff;
}

.dark-header h2 span {
    background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-header p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

/* 2x2 Mobile Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 16px 12px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

/* Mobile Spotlight Ambassador Card */
.spotlight-card {
    background: #ffffff;
    color: var(--color-text-body);
    border-radius: var(--radius-xl);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.spotlight-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 3px solid var(--color-primary-soft);
}

.spotlight-stars {
    color: #f59e0b;
    font-size: 13px;
    text-align: center;
    margin-bottom: 4px;
}

.spotlight-quote {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.4;
    text-align: center;
}

.spotlight-text {
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.spotlight-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}

.spotlight-author-name {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-text-main);
    font-size: 13px;
}

.spotlight-author-badge {
    background: var(--color-emerald-soft);
    color: var(--color-emerald);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   Real-Time Live Wins Ticker (Mobile Cards)
   ========================================================================== */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #dc2626;
    border-radius: 50%;
    animation: livePulse 1.6s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
}

.wins-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.win-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.win-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.win-card-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.win-card-time {
    font-size: 11px;
    color: var(--color-text-light);
}

.win-card-user {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.win-card-amount {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 900;
    color: var(--color-emerald);
}

.win-card-amount.highlight {
    color: var(--color-primary);
}

.win-card-amount.jackpot {
    color: #d97706;
}

.win-card-footer {
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-body);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   Player Testimonials (Mobile Cards)
   ========================================================================== */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    box-shadow: var(--shadow-card);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
}

.testimonial-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    color: var(--color-text-main);
}

.testimonial-win {
    font-size: 11px;
    color: var(--color-emerald);
    font-weight: 700;
}

.testimonial-text {
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.6;
    font-style: italic;
}

/* ==========================================================================
   News / Tips & Articles (Mobile Cards)
   ========================================================================== */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-content {
    padding: 16px 14px;
}

.news-content h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--color-text-main);
    margin-bottom: 6px;
}

.news-content p {
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* ==========================================================================
   FAQ Accordion (Mobile Touch-Friendly)
   ========================================================================== */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.faq-question {
    padding: 16px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--color-text-main);
}

.faq-question-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-number {
    width: 28px;
    height: 28px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 11px;
    flex-shrink: 0;
}

.faq-icon {
    width: 26px;
    height: 26px;
    background: var(--bg-page-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 11px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--color-primary);
    color: #ffffff;
}

.faq-answer {
    padding: 0 14px 16px 52px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   Responsible Gaming
   ========================================================================== */
.responsible-gaming-box {
    background: var(--bg-page-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px 16px;
    text-align: center;
}

.rg-icon {
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 32px;
}

.responsible-gaming-box h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

.responsible-gaming-box p {
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.rg-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 12px;
}

/* ==========================================================================
   Footer Promo CTA (Mobile Banner)
   ========================================================================== */
.footer-promo {
    margin: 20px 16px 36px;
    background: var(--gradient-hero-cta);
    border-radius: var(--radius-xl);
    padding: 32px 18px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 15px 40px -10px rgba(79, 70, 229, 0.4);
}

.footer-promo .logo img {
    height: 30px;
    margin: 0 auto 14px;
    filter: brightness(0) invert(1);
}

.footer-promo h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 10px;
}

.footer-promo p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 22px;
    line-height: 1.55;
}

.footer-promo .btn-register {
    background: #ffffff;
    color: var(--color-primary);
    padding: 13px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
}
