/* ===================================================================
   INDEX STYLES - HAVENLY CASINO INDONESIA (MOBILE-FIRST ARCHITECTURE)
   Tuned specifically for mobile viewports (Max-Width 480px container)
   =================================================================== */

/* ===================================================================
   1. HERO SECTION (Warm Amber/Terracotta Mobile Atmosphere)
   =================================================================== */
.hero {
    position: relative;
    padding: 2.8rem 1.15rem 3.5rem;
    overflow: hidden;
    background: linear-gradient(175deg, #2D1A10 0%, #462414 30%, #7E3E1F 70%, #A9582E 100%);
    color: #FAF5EE;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(235, 145, 75, 0.3) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(35px);
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.15rem;
}

.hero-logo-img {
    height: 72px;
    max-width: 220px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 20px rgba(235, 145, 75, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-base);
}

.hero-logo-img:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(235, 145, 75, 0.35);
}

.hero-tag {
    margin-bottom: 0.9rem;
}

.hero h1 {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 0.9rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(250, 245, 238, 0.88);
    margin-bottom: 1.6rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1.8rem;
}

.hero-actions .btn-primary {
    width: 100%;
}

.hero-actions .btn-outline {
    width: 100%;
}

/* Hero 3 Feature Pills (Mobile Compact Row) */
.hero-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
}

.hero-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.hero-feature-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.hero-feature-text strong {
    font-size: 0.72rem;
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}

.hero-feature-text span {
    font-size: 0.64rem;
    color: rgba(250, 245, 238, 0.75);
    line-height: 1.1;
    display: block;
}

/* Hero Interactive Havenly Widget */
.hero-interactive-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #F5B888, rgba(255, 255, 255, 0.2));
}

.card-mood-header {
    text-align: center;
    margin-bottom: 1rem;
}

.card-mood-header h3 {
    font-size: 1.12rem;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-mood-header p {
    font-size: 0.78rem;
    color: rgba(250, 245, 238, 0.75);
}

.mood-chips-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.mood-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.mood-chip:hover,
.mood-chip.active {
    background: #FFFFFF;
    color: var(--color-primary-deep);
    border-color: #FFFFFF;
}

.mood-quote-box {
    background: rgba(0, 0, 0, 0.18);
    border-left: 3px solid #E2873E;
    padding: 0.7rem 0.9rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 1rem;
}

.mood-quote-box p {
    font-size: 0.78rem;
    color: rgba(250, 245, 238, 0.9);
    font-style: italic;
    line-height: 1.45;
}

.jackpot-counter-box {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jackpot-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #F8D3B2;
    font-weight: 700;
}

.jackpot-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFE180;
}

/* ===================================================================
   2. HAVENLY SIGNATURE: ARCH DIAL & STATS SECTION (Mobile Fit)
   =================================================================== */
.arch-dial-section {
    position: relative;
    background: #FAF7F2;
    padding: 3.5rem 0 3.8rem;
    overflow: hidden;
}

.arch-container {
    width: 100%;
    position: relative;
    text-align: center;
}

/* Semicircular Arc Container */
.arch-fan-cards {
    position: relative;
    height: 120px;
    margin-bottom: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.arch-dial-svg {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    max-width: 100%;
    height: 160px;
    pointer-events: none;
    z-index: 1;
}

.fan-card-track {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0 0.5rem;
}

.fan-card {
    width: 48px;
    height: 68px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(46, 26, 17, 0.14);
    overflow: hidden;
    border: 1.5px solid #FFFFFF;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.fan-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tilted Rotations for Mobile Arc */
.fan-card:nth-child(1) { transform: translateY(32px) rotate(-16deg); }
.fan-card:nth-child(2) { transform: translateY(12px) rotate(-8deg); }
.fan-card:nth-child(3) { transform: translateY(0px) rotate(-2deg); }
.fan-card:nth-child(4) { transform: translateY(0px) rotate(2deg); }
.fan-card:nth-child(5) { transform: translateY(12px) rotate(8deg); }
.fan-card:nth-child(6) { transform: translateY(32px) rotate(16deg); }

/* Center Content Under Arch */
.arch-content {
    padding: 0 1.15rem;
    margin: 1.6rem auto 2.4rem;
    position: relative;
    z-index: 3;
}

.arch-content .badge-pill-light {
    margin-bottom: 0.9rem;
}

.arch-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.arch-content p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1.4rem;
}

.arch-content .btn-dark {
    width: 100%;
}

/* 4 Stats (Clean 2x2 Mobile Grid) */
.stats-grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 1.8rem 1.15rem 0;
    border-top: 1px solid #EBE3D7;
}

.stat-item {
    text-align: center;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 1rem 0.5rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 8px rgba(46, 26, 17, 0.04);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary-deep);
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.74rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===================================================================
   3. GAME FEATURES (2-Column Mobile Casino Lobby Grid)
   =================================================================== */
.game-features {
    padding: 3.5rem 0;
    background: #FFFFFF;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.game-card {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 10px rgba(46, 26, 17, 0.04);
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.game-card-img-wrap {
    position: relative;
    width: 100%;
    height: 125px;
    overflow: hidden;
    background: #E8E0D5;
}

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

.game-card-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(46, 26, 17, 0.85);
    color: #FFFFFF;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.62rem;
    font-weight: 700;
}

.game-info {
    padding: 0.85rem 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-info p {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.game-info .btn-outline {
    background: var(--color-primary-deep);
    color: #FFFFFF;
    border: none;
    padding: 0.45rem 0.8rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-pill);
    width: 100%;
}

/* ===================================================================
   4. PROMOTIONS SECTION (1-Column Mobile Stack)
   =================================================================== */
.promotions-section {
    padding: 3.5rem 0;
    background: #FAF7F2;
}

.promotions-grid {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.promotion-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
}

.promo-img-wrap {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.promotion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #A8582E;
    color: #FFFFFF;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
}

.promotion-content {
    padding: 1.25rem 1.15rem;
}

.promotion-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.promotion-content p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.2rem;
}

.promotion-content .btn-primary {
    background: var(--color-primary-deep);
    color: #FFFFFF;
    width: 100%;
}

/* ===================================================================
   5. ABOUT SECTION (Mobile Box)
   =================================================================== */
.about-section {
    padding: 3.5rem 0;
    background: #FFFFFF;
}

.about-card-box {
    background: linear-gradient(135deg, #FAF7F2 0%, #F4EFE6 100%);
    border-radius: var(--radius-lg);
    border: 1px solid #EBE3D7;
    padding: 2.2rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
}

.about-card-box h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.75rem;
    margin-bottom: 0.9rem;
}

.about-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

.about-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #FFFFFF;
    border: 1px solid #E5DCD0;
    padding: 0.45rem 0.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.about-actions .btn-dark,
.about-actions .btn-signin {
    width: 100%;
    justify-content: center;
}

/* ===================================================================
   6. FEATURES SECTION (1-Column Mobile Stack)
   =================================================================== */
.features-section {
    padding: 3.5rem 0;
    background: #FAF7F2;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 1.4rem 1.15rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 8px rgba(46, 26, 17, 0.04);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #F4EFE6;
    border: 1px solid #E8E0D5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

.feature-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ===================================================================
   7. HOW IT WORKS SECTION (1-Column Steps)
   =================================================================== */
.how-it-works-section {
    padding: 3.5rem 0;
    background: #FFFFFF;
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.step-card {
    background: #FAF7F2;
    border-radius: var(--radius-md);
    padding: 1.5rem 1.15rem;
    border: 1px solid var(--border-subtle);
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary-deep);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

.step-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ===================================================================
   8. SECURITY & BANKING SECTION (2x2 Grid)
   =================================================================== */
.security-section {
    padding: 3.5rem 0;
    background: #FAF7F2;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.security-item {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 1.25rem 0.95rem;
    border: 1px solid var(--border-subtle);
}

.security-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.security-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.security-item p {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===================================================================
   9. TESTIMONIALS SECTION (1-Column Stack)
   =================================================================== */
.testimonials-section {
    padding: 3.5rem 0;
    background: #FFFFFF;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.testimonial-card {
    background: #FAF7F2;
    border-radius: var(--radius-md);
    padding: 1.5rem 1.15rem;
    border: 1px solid var(--border-subtle);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.85rem;
    border: 2px solid #A8582E;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-stars {
    color: #E2873E;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.9rem;
    font-style: italic;
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-badge {
    font-size: 0.7rem;
    color: #A8582E;
    font-weight: 600;
}

/* ===================================================================
   10. DOWNLOAD CTA SECTION (Mobile Banner)
   =================================================================== */
.download-cta-section {
    padding: 3rem 0;
    background: #FAF7F2;
}

.cta-box-container {
    background: linear-gradient(145deg, #2D1A10 0%, #462414 45%, #7E3E1F 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.15rem;
    color: #FAF5EE;
    text-align: center;
}

.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(250, 245, 238, 0.88);
    margin-bottom: 1.6rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
}

.cta-buttons .btn-primary {
    background: #FFFFFF;
    color: var(--color-primary-deep);
    width: 100%;
}

.cta-bonus-tag {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #F8D3B2;
    font-weight: 700;
}

/* ===================================================================
   11. FAQ SECTION (1-Column Stack)
   =================================================================== */
.faq-section {
    padding: 3.5rem 0;
    background: #FFFFFF;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background: #FAF7F2;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.15rem;
    border: 1px solid var(--border-subtle);
}

.faq-question {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.faq-question::before {
    content: 'Q.';
    color: #A8582E;
    font-weight: 800;
}

.faq-answer {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ===================================================================
   12. PARTNERS SECTION (4-Column Logo Grid)
   =================================================================== */
.partners-section {
    padding: 3.5rem 0;
    background: #FAF7F2;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
}

.partner-card {
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.4rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
}

.partner-card img {
    max-height: 32px;
    max-width: 90%;
    object-fit: contain;
}
