/**
 * talabat hotline - Core Design Stylesheet
 * All classes use g6c8- prefix for namespace isolation
 * Colors: #CD853F (accent/text-light) | #2C3E50 (background)
 * Mobile-first responsive design
 */

:root {
    --g6c8-primary: #CD853F;
    --g6c8-bg: #2C3E50;
    --g6c8-bg-dark: #1a252f;
    --g6c8-bg-light: #34495e;
    --g6c8-text: #f5f0e8;
    --g6c8-text-muted: #b0a89a;
    --g6c8-accent: #e6a857;
    --g6c8-accent-hover: #d4963e;
    --g6c8-border: #3d5266;
    --g6c8-card-bg: #2c3e50;
    --g6c8-card-hover: #374f63;
    --g6c8-success: #27ae60;
    --g6c8-warning: #f39c12;
    --g6c8-radius: 8px;
    --g6c8-radius-lg: 14px;
    --g6c8-shadow: 0 4px 16px rgba(0,0,0,0.3);
    --g6c8-transition: all 0.3s ease;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--g6c8-bg-dark);
    color: var(--g6c8-text);
    line-height: 1.5rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.g6c8-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: linear-gradient(135deg, var(--g6c8-bg) 0%, var(--g6c8-bg-dark) 100%);
    z-index: 1000;
    border-bottom: 2px solid var(--g6c8-primary);
    padding: 0 1.2rem;
    height: 5.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.g6c8-logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.g6c8-logo-area img {
    width: 3rem;
    height: 3rem;
    border-radius: 6px;
}

.g6c8-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g6c8-primary);
    letter-spacing: 0.5px;
}

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

.g6c8-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: var(--g6c8-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--g6c8-transition);
    text-decoration: none;
    min-height: 3.6rem;
    min-width: 4.4rem;
}

.g6c8-btn-register {
    background: linear-gradient(135deg, var(--g6c8-primary) 0%, var(--g6c8-accent) 100%);
    color: var(--g6c8-bg-dark);
    box-shadow: 0 2px 8px rgba(205,133,63,0.4);
}

.g6c8-btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(205,133,63,0.6);
}

.g6c8-btn-login {
    background: transparent;
    color: var(--g6c8-primary);
    border: 1.5px solid var(--g6c8-primary);
}

.g6c8-btn-login:hover {
    background: rgba(205,133,63,0.12);
}

.g6c8-menu-btn {
    background: none;
    border: none;
    color: var(--g6c8-text);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0.4rem;
    min-width: 4.4rem;
    min-height: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === MOBILE MENU === */
.g6c8-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

.g6c8-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    max-width: 300px;
    height: 100%;
    background: var(--g6c8-bg-dark);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 2rem 0;
    overflow-y: auto;
    border-right: 2px solid var(--g6c8-primary);
}

.g6c8-mobile-menu-header {
    padding: 0 1.6rem 2rem;
    border-bottom: 1px solid var(--g6c8-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g6c8-mobile-menu-header img {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 8px;
}

.g6c8-mobile-menu-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--g6c8-primary);
}

.g6c8-mobile-menu nav {
    padding: 1rem 0;
}

.g6c8-mobile-menu nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.6rem;
    color: var(--g6c8-text);
    text-decoration: none;
    font-size: 1.4rem;
    transition: var(--g6c8-transition);
    border-bottom: 1px solid rgba(61,82,102,0.3);
}

.g6c8-mobile-menu nav a:hover {
    background: rgba(205,133,63,0.1);
    color: var(--g6c8-primary);
}

.g6c8-mobile-menu nav a i,
.g6c8-mobile-menu nav a span.material-symbols-outlined {
    font-size: 2rem;
    color: var(--g6c8-primary);
}

/* === MAIN CONTENT === */
.g6c8-main {
    padding-top: 5.6rem;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .g6c8-main {
        padding-bottom: 7rem;
    }
}

/* === CAROUSEL === */
.g6c8-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--g6c8-radius-lg) var(--g6c8-radius-lg);
}

.g6c8-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.g6c8-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.g6c8-slide:first-child {
    display: block;
}

.g6c8-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.g6c8-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    border: none;
    transition: var(--g6c8-transition);
}

.g6c8-dot-active {
    background: var(--g6c8-primary);
    transform: scale(1.2);
}

/* === SECTION HEADINGS === */
.g6c8-section {
    padding: 2rem 1.2rem;
}

.g6c8-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g6c8-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--g6c8-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g6c8-section-title i,
.g6c8-section-title span.material-symbols-outlined {
    font-size: 2rem;
}

.g6c8-category-label {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g6c8-accent);
    margin: 1.6rem 0 1rem;
    padding-left: 0.8rem;
    border-left: 3px solid var(--g6c8-primary);
}

/* === GAME GRID === */
.g6c8-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.g6c8-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--g6c8-transition);
    border-radius: var(--g6c8-radius);
    padding: 0.6rem 0.2rem;
    background: var(--g6c8-card-bg);
}

.g6c8-game-item:hover {
    transform: translateY(-2px);
    background: var(--g6c8-card-hover);
    box-shadow: var(--g6c8-shadow);
}

.g6c8-game-item img {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: var(--g6c8-radius);
    margin-bottom: 0.4rem;
    object-fit: cover;
}

.g6c8-game-name {
    font-size: 1rem;
    color: var(--g6c8-text-muted);
    line-height: 1.3rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === CONTENT CARDS === */
.g6c8-card {
    background: var(--g6c8-card-bg);
    border-radius: var(--g6c8-radius-lg);
    padding: 1.6rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--g6c8-border);
}

.g6c8-card h2 {
    font-size: 1.6rem;
    color: var(--g6c8-primary);
    margin-bottom: 1rem;
}

.g6c8-card h3 {
    font-size: 1.4rem;
    color: var(--g6c8-accent);
    margin-bottom: 0.8rem;
}

.g6c8-card p {
    font-size: 1.3rem;
    line-height: 1.7rem;
    color: var(--g6c8-text-muted);
    margin-bottom: 0.8rem;
}

.g6c8-card p:last-child {
    margin-bottom: 0;
}

/* === PROMO LINKS === */
.g6c8-promo-link {
    color: var(--g6c8-primary);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--g6c8-transition);
    border-bottom: 1px dashed var(--g6c8-primary);
}

.g6c8-promo-link:hover {
    color: var(--g6c8-accent);
}

.g6c8-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--g6c8-primary) 0%, var(--g6c8-accent) 100%);
    color: var(--g6c8-bg-dark);
    padding: 1rem 2.4rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--g6c8-transition);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(205,133,63,0.4);
}

.g6c8-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(205,133,63,0.6);
}

/* === CTA SECTION === */
.g6c8-cta {
    background: linear-gradient(135deg, var(--g6c8-primary) 0%, #b8722e 100%);
    padding: 2rem 1.6rem;
    text-align: center;
    border-radius: var(--g6c8-radius-lg);
    margin: 1.6rem 1.2rem;
}

.g6c8-cta h2 {
    font-size: 1.8rem;
    color: var(--g6c8-bg-dark);
    margin-bottom: 0.8rem;
}

.g6c8-cta p {
    font-size: 1.3rem;
    color: rgba(26,37,47,0.85);
    margin-bottom: 1.4rem;
}

/* === FAQ === */
.g6c8-faq-item {
    border: 1px solid var(--g6c8-border);
    border-radius: var(--g6c8-radius);
    padding: 1.2rem 1.4rem;
    margin-bottom: 0.8rem;
    background: var(--g6c8-card-bg);
}

.g6c8-faq-q {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--g6c8-primary);
    margin-bottom: 0.5rem;
}

.g6c8-faq-a {
    font-size: 1.2rem;
    color: var(--g6c8-text-muted);
    line-height: 1.6rem;
}

/* === FOOTER === */
.g6c8-footer {
    background: var(--g6c8-bg-dark);
    padding: 2rem 1.2rem 3rem;
    border-top: 2px solid var(--g6c8-primary);
}

.g6c8-footer-brand {
    font-size: 1.4rem;
    color: var(--g6c8-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.g6c8-footer-desc {
    font-size: 1.2rem;
    color: var(--g6c8-text-muted);
    line-height: 1.6rem;
    margin-bottom: 1.4rem;
}

.g6c8-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.g6c8-footer-links a {
    color: var(--g6c8-text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--g6c8-border);
    border-radius: var(--g6c8-radius);
    transition: var(--g6c8-transition);
}

.g6c8-footer-links a:hover {
    color: var(--g6c8-primary);
    border-color: var(--g6c8-primary);
}

.g6c8-footer-promo {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.g6c8-footer-promo button,
.g6c8-footer-promo a {
    background: linear-gradient(135deg, var(--g6c8-primary), var(--g6c8-accent));
    color: var(--g6c8-bg-dark);
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: var(--g6c8-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--g6c8-transition);
    text-decoration: none;
}

.g6c8-copyright {
    font-size: 1.1rem;
    color: var(--g6c8-text-muted);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--g6c8-border);
}

/* === BOTTOM NAV === */
.g6c8-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 6rem;
    background: linear-gradient(180deg, var(--g6c8-bg) 0%, var(--g6c8-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--g6c8-primary);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

.g6c8-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--g6c8-text-muted);
    cursor: pointer;
    min-width: 6rem;
    min-height: 5.6rem;
    padding: 0.4rem 0;
    transition: var(--g6c8-transition);
    text-decoration: none;
    border-radius: var(--g6c8-radius);
}

.g6c8-bottom-nav-btn:hover,
.g6c8-bottom-nav-btn:focus {
    color: var(--g6c8-primary);
    background: rgba(205,133,63,0.08);
}

.g6c8-bottom-nav-btn i,
.g6c8-bottom-nav-btn span.material-symbols-outlined,
.g6c8-bottom-nav-btn ion-icon,
.g6c8-bottom-nav-btn bi {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.g6c8-bottom-nav-label {
    font-size: 1rem;
    font-weight: 500;
}

@media (min-width: 769px) {
    .g6c8-bottom-nav {
        display: none;
    }
}

/* === INTERNAL LINK === */
.g6c8-internal-link {
    color: var(--g6c8-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--g6c8-transition);
}

.g6c8-internal-link:hover {
    color: var(--g6c8-primary);
}

/* === FEATURES LIST === */
.g6c8-feature-list {
    list-style: none;
    padding: 0;
}

.g6c8-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(61,82,102,0.3);
    font-size: 1.3rem;
    color: var(--g6c8-text-muted);
    line-height: 1.6rem;
}

.g6c8-feature-list li:last-child {
    border-bottom: none;
}

.g6c8-feature-list li i {
    color: var(--g6c8-primary);
    font-size: 1.4rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* === STEP LIST === */
.g6c8-steps {
    counter-reset: g6c8-step-counter;
    list-style: none;
    padding: 0;
}

.g6c8-steps li {
    counter-increment: g6c8-step-counter;
    position: relative;
    padding: 1rem 1rem 1rem 3.8rem;
    margin-bottom: 0.6rem;
    background: var(--g6c8-card-bg);
    border-radius: var(--g6c8-radius);
    border-left: 3px solid var(--g6c8-primary);
    font-size: 1.3rem;
    color: var(--g6c8-text-muted);
    line-height: 1.6rem;
}

.g6c8-steps li::before {
    content: counter(g6c8-step-counter);
    position: absolute;
    left: 0.8rem;
    top: 0.8rem;
    width: 2rem;
    height: 2rem;
    background: var(--g6c8-primary);
    color: var(--g6c8-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

/* === WINNER SHOWCASE === */
.g6c8-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: var(--g6c8-card-bg);
    border-radius: var(--g6c8-radius);
    margin-bottom: 0.6rem;
}

.g6c8-winner-item img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 2px solid var(--g6c8-primary);
}

.g6c8-winner-info {
    flex: 1;
}

.g6c8-winner-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--g6c8-text);
}

.g6c8-winner-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--g6c8-success);
}

/* === RESPONSIVE UTILITIES === */
.g6c8-text-center { text-align: center; }
.g6c8-text-primary { color: var(--g6c8-primary); }
.g6c8-text-muted { color: var(--g6c8-text-muted); }
.g6c8-mt-1 { margin-top: 0.8rem; }
.g6c8-mt-2 { margin-top: 1.6rem; }
.g6c8-mb-1 { margin-bottom: 0.8rem; }
.g6c8-mb-2 { margin-bottom: 1.6rem; }

/* === PAYMENT ICONS === */
.g6c8-payment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1rem 0;
}

.g6c8-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    color: var(--g6c8-text-muted);
}

.g6c8-payment-item i {
    font-size: 2.4rem;
    color: var(--g6c8-primary);
}

/* === TESTIMONIAL === */
.g6c8-testimonial {
    background: var(--g6c8-card-bg);
    border-radius: var(--g6c8-radius-lg);
    padding: 1.4rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--g6c8-primary);
}

.g6c8-testimonial-text {
    font-size: 1.3rem;
    color: var(--g6c8-text-muted);
    font-style: italic;
    line-height: 1.6rem;
    margin-bottom: 0.6rem;
}

.g6c8-testimonial-author {
    font-size: 1.1rem;
    color: var(--g6c8-primary);
    font-weight: 600;
}

/* === BADGE === */
.g6c8-badge {
    display: inline-block;
    background: var(--g6c8-primary);
    color: var(--g6c8-bg-dark);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* === DIVIDER === */
.g6c8-divider {
    height: 1px;
    background: var(--g6c8-border);
    margin: 1.6rem 0;
}
