/**
 * 3555.click - Main Stylesheet
 * Prefix: g8c6-
 * Palette: #1B263B (bg), #ECF0F1 (text), #BBBBBB (accent)
 */

/* === CSS Variables === */
:root {
    --g8c6-bg: #1B263B;
    --g8c6-bg-light: #243447;
    --g8c6-bg-card: #1e2d42;
    --g8c6-text: #ECF0F1;
    --g8c6-accent: #BBBBBB;
    --g8c6-primary: #3a7bd5;
    --g8c6-primary-dark: #2c5fa0;
    --g8c6-gold: #f0c040;
    --g8c6-border: rgba(236,240,241,0.1);
    --g8c6-radius: 8px;
    --g8c6-radius-lg: 12px;
    --g8c6-shadow: 0 2px 12px rgba(0,0,0,0.3);
    --g8c6-transition: all 0.3s ease;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
    background: var(--g8c6-bg);
    color: var(--g8c6-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--g8c6-primary); text-decoration: none; transition: var(--g8c6-transition); }
a:hover { color: var(--g8c6-gold); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Header === */
.g8c6-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--g8c6-bg);
    border-bottom: 1px solid var(--g8c6-border);
    padding: 8px 16px;
    display: flex; align-items: center; justify-content: space-between;
    transition: var(--g8c6-transition);
}
.g8c6-header-scrolled {
    background: rgba(27,38,59,0.97);
    box-shadow: var(--g8c6-shadow);
}
.g8c6-header-logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 22px; font-weight: 800; color: var(--g8c6-gold);
    cursor: pointer;
}
.g8c6-header-logo span {
    font-size: 12px; color: var(--g8c6-accent); font-weight: 400;
}
.g8c6-header-actions {
    display: flex; align-items: center; gap: 8px;
}
.g8c6-btn-register {
    background: linear-gradient(135deg, var(--g8c6-gold), #e6a800);
    color: var(--g8c6-bg); border: none; padding: 7px 18px;
    border-radius: 20px; font-weight: 700; font-size: 13px;
    cursor: pointer; transition: var(--g8c6-transition);
}
.g8c6-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(240,192,64,0.4); }
.g8c6-btn-login {
    background: transparent; color: var(--g8c6-text);
    border: 1px solid var(--g8c6-accent); padding: 7px 16px;
    border-radius: 20px; font-weight: 600; font-size: 13px;
    cursor: pointer; transition: var(--g8c6-transition);
}
.g8c6-btn-login:hover { background: rgba(236,240,241,0.1); border-color: var(--g8c6-text); }
.g8c6-menu-btn {
    background: none; border: none; color: var(--g8c6-text);
    font-size: 24px; cursor: pointer; padding: 4px;
}

/* === Mobile Menu === */
.g8c6-mobile-menu {
    position: fixed; top: 0; right: -280px; width: 280px;
    height: 100vh; background: var(--g8c6-bg-light);
    z-index: 9999; transition: right 0.3s ease;
    padding: 20px; overflow-y: auto;
}
.g8c6-menu-active { right: 0; }
.g8c6-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 9998;
    display: none; transition: var(--g8c6-transition);
}
.g8c6-overlay-active { display: block; }
.g8c6-no-scroll { overflow: hidden; }
.g8c6-menu-close {
    background: none; border: none; color: var(--g8c6-text);
    font-size: 28px; cursor: pointer; float: right; margin-bottom: 20px;
}
.g8c6-menu-section { clear: both; margin-bottom: 20px; }
.g8c6-menu-section h3 {
    color: var(--g8c6-gold); font-size: 14px; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 10px; padding-bottom: 6px;
    border-bottom: 1px solid var(--g8c6-border);
}
.g8c6-menu-section a {
    display: block; padding: 10px 12px; color: var(--g8c6-text);
    border-radius: var(--g8c6-radius); margin-bottom: 4px; font-size: 14px;
}
.g8c6-menu-section a:hover { background: rgba(255,255,255,0.05); color: var(--g8c6-gold); }

/* === Bottom Navigation === */
.g8c6-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: linear-gradient(180deg, var(--g8c6-bg-light), #0f1a2a);
    border-top: 1px solid rgba(240,192,64,0.2);
    display: flex; justify-content: space-around; align-items: center;
    height: 60px; padding: 0 4px;
}
.g8c6-bottom-nav-btn {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-width: 60px; min-height: 54px;
    background: none; border: none; color: var(--g8c6-accent);
    cursor: pointer; transition: var(--g8c6-transition);
    border-radius: 10px; padding: 4px 2px; font-size: 10px;
    gap: 3px;
}
.g8c6-bottom-nav-btn:hover, .g8c6-bottom-nav-btn:focus {
    color: var(--g8c6-gold); background: rgba(240,192,64,0.1);
}
.g8c6-bottom-nav-btn i, .g8c6-bottom-nav-btn .material-icons,
.g8c6-bottom-nav-btn ion-icon {
    font-size: 24px; width: 24px; height: 24px;
}
.g8c6-bottom-nav-btn span { font-size: 10px; font-weight: 500; }

/* === Carousel === */
.g8c6-carousel {
    position: relative; width: 100%; overflow: hidden;
    border-radius: var(--g8c6-radius-lg); margin-bottom: 20px;
    aspect-ratio: 16/7;
}
.g8c6-carousel-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.6s ease;
}
.g8c6-slide-active { opacity: 1; }
.g8c6-carousel-slide img {
    width: 100%; height: 100%; object-fit: cover;
}
.g8c6-carousel-dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
}
.g8c6-carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    transition: var(--g8c6-transition); border: none;
}
.g8c6-dot-active { background: var(--g8c6-gold); transform: scale(1.3); }

/* === Section Titles === */
.g8c6-section-title {
    font-size: 20px; font-weight: 700; margin-bottom: 16px;
    padding-left: 12px; border-left: 3px solid var(--g8c6-gold);
    color: var(--g8c6-text);
}

/* === Game Grid === */
.g8c6-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}
.g8c6-game-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 8px 4px; border-radius: var(--g8c6-radius);
    background: var(--g8c6-bg-card); cursor: pointer;
    transition: var(--g8c6-transition); border: 1px solid transparent;
    text-align: center;
}
.g8c6-game-item:hover {
    transform: translateY(-2px);
    border-color: rgba(240,192,64,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.g8c6-game-item img {
    width: 56px; height: 56px; border-radius: 10px;
    margin-bottom: 6px; object-fit: cover;
}
.g8c6-game-item span {
    font-size: 11px; color: var(--g8c6-text);
    line-height: 1.3; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === Promo Buttons === */
.g8c6-promo-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 10px; margin: 16px 0;
}
.g8c6-promo-btn {
    background: linear-gradient(135deg, var(--g8c6-primary), var(--g8c6-primary-dark));
    color: #fff; border: none; padding: 14px 10px;
    border-radius: var(--g8c6-radius-lg); font-size: 14px;
    font-weight: 600; cursor: pointer; transition: var(--g8c6-transition);
    text-align: center;
}
.g8c6-promo-btn:hover { transform: scale(1.03); box-shadow: 0 4px 20px rgba(58,123,213,0.4); }

/* === Content Sections === */
.g8c6-content-section {
    background: var(--g8c6-bg-card); border-radius: var(--g8c6-radius-lg);
    padding: 20px 16px; margin-bottom: 20px;
    border: 1px solid var(--g8c6-border);
}
.g8c6-content-section h2 {
    font-size: 18px; margin-bottom: 12px; color: var(--g8c6-gold);
}
.g8c6-content-section p {
    font-size: 14px; color: var(--g8c6-accent); line-height: 1.8;
    margin-bottom: 10px;
}
.g8c6-content-section ul {
    padding-left: 16px; margin-bottom: 10px;
}
.g8c6-content-section li {
    font-size: 14px; color: var(--g8c6-accent);
    margin-bottom: 6px; position: relative; padding-left: 12px;
}
.g8c6-content-section li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--g8c6-gold);
}

/* === Footer === */
.g8c6-footer {
    background: var(--g8c6-bg-light);
    border-top: 1px solid var(--g8c6-border);
    padding: 30px 16px 20px;
    margin-top: 30px;
}
.g8c6-footer-brand {
    text-align: center; margin-bottom: 20px;
}
.g8c6-footer-brand h3 {
    color: var(--g8c6-gold); font-size: 24px; font-weight: 800;
    margin-bottom: 8px;
}
.g8c6-footer-brand p {
    color: var(--g8c6-accent); font-size: 13px; max-width: 400px;
    margin: 0 auto; line-height: 1.7;
}
.g8c6-footer-links {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin: 20px 0;
}
.g8c6-footer-links a {
    color: var(--g8c6-accent); font-size: 13px;
    padding: 4px 10px; border-radius: 14px;
    background: rgba(255,255,255,0.05);
    transition: var(--g8c6-transition);
}
.g8c6-footer-links a:hover { color: var(--g8c6-gold); background: rgba(240,192,64,0.1); }
.g8c6-footer-copyright {
    text-align: center; font-size: 12px;
    color: rgba(187,187,187,0.6); margin-top: 20px;
    padding-top: 16px; border-top: 1px solid var(--g8c6-border);
}
.g8c6-footer-promo {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin: 16px 0;
}
.g8c6-footer-promo-btn {
    background: linear-gradient(135deg, #f0c040, #e6a800);
    color: var(--g8c6-bg); border: none; padding: 8px 16px;
    border-radius: 20px; font-size: 12px; font-weight: 700;
    cursor: pointer; transition: var(--g8c6-transition);
}
.g8c6-footer-promo-btn:hover { transform: scale(1.05); }

/* === Help Page Styles === */
.g8c6-help-hero {
    text-align: center; padding: 60px 16px 30px;
    background: linear-gradient(135deg, var(--g8c6-bg), var(--g8c6-bg-light));
}
.g8c6-help-hero h1 { color: var(--g8c6-gold); font-size: 26px; margin-bottom: 10px; }
.g8c6-help-hero p { color: var(--g8c6-accent); font-size: 14px; }
.g8c6-help-card {
    background: var(--g8c6-bg-card); border-radius: var(--g8c6-radius-lg);
    padding: 20px 16px; margin: 16px; border: 1px solid var(--g8c6-border);
}
.g8c6-help-card h2 {
    color: var(--g8c6-gold); font-size: 17px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.g8c6-help-card p, .g8c6-help-card li {
    color: var(--g8c6-accent); font-size: 14px; line-height: 1.8;
}
.g8c6-help-card ul { padding-left: 20px; margin-top: 8px; }
.g8c6-help-card li { margin-bottom: 6px; }

/* === Internal Link Styles === */
.g8c6-internal-links {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0;
}
.g8c6-internal-links a {
    display: inline-block; padding: 6px 14px;
    background: rgba(58,123,213,0.15); color: var(--g8c6-primary);
    border-radius: 16px; font-size: 13px; font-weight: 500;
    transition: var(--g8c6-transition);
}
.g8c6-internal-links a:hover { background: rgba(58,123,213,0.25); }

/* === Desktop Hidden === */
.g8c6-desktop-hidden { display: block; }
.g8c6-mobile-hidden { display: none; }

/* === Main Content === */
.g8c6-main-content {
    padding-top: 60px;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

/* === Responsive === */
@media (min-width: 769px) {
    .g8c6-bottom-nav { display: none; }
    .g8c6-desktop-hidden { display: none; }
    .g8c6-mobile-hidden { display: block; }
    .g8c6-main-content { max-width: 768px; padding-bottom: 0; }
    .g8c6-header { max-width: 768px; left: 50%; transform: translateX(-50%); }
    .g8c6-game-grid { grid-template-columns: repeat(6, 1fr); }
    .g8c6-promo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .g8c6-main-content { padding-bottom: 80px; }
}

@media (max-width: 360px) {
    .g8c6-game-grid { grid-template-columns: repeat(3, 1fr); }
    .g8c6-game-item img { width: 48px; height: 48px; }
}
