/* ==========================================================================
   INDEX STYLESHEET - MOBILE VIEW (EXACT MATCHING REFERENCE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO SECTION (MOBILE APP HERO LAYOUT)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: #ffffff;
    padding: 1.4rem 0 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

.hero-container {
    width: 100%;
    padding: 0 16px;
}

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

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 158, 79, 0.1);
    border: 1px solid rgba(0, 158, 79, 0.3);
    color: #008844;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.hero-logo {
    display: none;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.8rem;
}

.hero h1 .highlight-green {
    color: #009e4f;
    display: inline;
}

.hero p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #009e4f 0%, #007a3d 100%);
    color: #ffffff;
    padding: 0.85rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 158, 79, 0.35);
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00b058 0%, #008a45 100%);
}

.btn-hero-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #003388;
    color: #ffffff;
    padding: 0.75rem 1.2rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 100%;
}

/* Hero Featured Mascot/Artwork Card */
.hero-artwork-card {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 2px solid #009e4f;
    background: #00220a;
}

.hero-artwork-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Mini Stats Bar */
.hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 1rem;
    padding: 10px 8px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.hero-mini-stat .val {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #009e4f;
    display: block;
    line-height: 1.2;
}

.hero-mini-stat .lbl {
    font-size: 0.68rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   FEATURE GAME GRID (2-COLUMN COMPACT MOBILE CARDS)
   -------------------------------------------------------------------------- */
.game-features {
    padding: 1.6rem 0;
    background-color: var(--bg-surface);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.game-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.game-card img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    display: block;
    background-color: #003311;
}

.game-info {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-info h3 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
    text-transform: uppercase;
    line-height: 1.25;
}

.game-info p {
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.35;
    margin-bottom: 8px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border: 1px solid #009e4f;
    color: #008844;
    background: rgba(0, 158, 79, 0.06);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.btn-outline:hover {
    background: #009e4f;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   LATEST NEWS / GALERI
   -------------------------------------------------------------------------- */
.latest-news {
    padding: 1.6rem 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-card {
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.news-card img {
    width: 100px;
    height: 85px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #003311;
}

.news-content {
    padding: 8px 10px;
    flex-grow: 1;
}

.news-content h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 3px;
    font-weight: 700;
}

.news-content h3 a {
    color: #0f172a;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   FEATURES SECTION (KEUNGGULAN)
   -------------------------------------------------------------------------- */
.features-section {
    padding: 1.6rem 0;
    background-color: var(--bg-surface);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.feature-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(0, 158, 79, 0.1);
    border: 1px solid rgba(0, 158, 79, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   STATISTICS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
    padding: 1.6rem 0;
    background: #00220a;
    color: #ffffff;
    border-top: 2px solid #ffcc00;
    border-bottom: 2px solid #ffcc00;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.stat-item {
    text-align: center;
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffcc00;
    line-height: 1.2;
    margin-bottom: 2px;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-section {
    padding: 1.6rem 0;
    background-color: #ffffff;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial-card {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    border-left: 3px solid #009e4f;
}

.testimonial-stars {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #ffcc00;
}

.testimonial-text {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #334155;
    margin-bottom: 8px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 5px;
}

.testimonial-author strong {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: #0f172a;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.7rem;
    color: #008844;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
    padding: 1.8rem 0;
    background: #003311;
    color: #ffffff;
    border-top: 2px solid #ffcc00;
    border-bottom: 2px solid #ffcc00;
}

.cta-content {
    text-align: center;
    padding: 0 8px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.25;
}

.cta-content h2 span {
    color: #ffcc00;
}

.cta-content p {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.45;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffcc00;
    color: #003311;
    padding: 0.8rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
}

/* --------------------------------------------------------------------------
   HOW IT WORKS SECTION
   -------------------------------------------------------------------------- */
.how-it-works-section {
    padding: 1.6rem 0;
    background-color: var(--bg-surface);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-item {
    background: #ffffff;
    padding: 12px 12px 12px 50px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    text-align: left;
}

.step-number {
    position: absolute;
    top: 12px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: #009e4f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
}

.step-icon {
    display: none;
}

.step-item h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.step-item p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   POPULAR CATEGORIES SECTION (2-COLUMN GRID)
   -------------------------------------------------------------------------- */
.categories-section {
    padding: 1.6rem 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-card {
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.category-image {
    position: relative;
    overflow: hidden;
    height: 105px;
    background-color: #003311;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 34, 10, 0.85) 0%, transparent 100%);
    padding: 4px 6px;
    display: flex;
    align-items: flex-end;
}

.category-cta {
    color: #ffcc00;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.category-info {
    padding: 6px;
}

.category-info h3 {
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.category-info p {
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   FAQ SECTION (ACCORDION)
   -------------------------------------------------------------------------- */
.faq-section {
    padding: 1.6rem 0;
    background-color: var(--bg-surface);
}

.faq-container {
    width: 100%;
}

.faq-item {
    background: #ffffff;
    border-radius: 6px;
    margin-bottom: 6px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.faq-item.active {
    border-color: #009e4f;
}

.faq-question {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: #ffffff;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.faq-toggle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 158, 79, 0.1);
    color: #008844;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 6px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: #009e4f;
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 12px 10px;
}

.faq-answer p {
    color: #475569;
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 6px;
}

/* --------------------------------------------------------------------------
   TRUST BADGES SECTION
   -------------------------------------------------------------------------- */
.trust-section {
    padding: 1.6rem 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.trust-badge {
    text-align: center;
    padding: 10px 6px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.trust-icon {
    font-size: 1.35rem;
    margin-bottom: 2px;
    display: inline-block;
}

.trust-badge h4 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.trust-badge p {
    color: var(--text-muted);
    font-size: 0.68rem;
    line-height: 1.25;
}
