/**
 * 35555.click - Core Stylesheet
 * CSS class prefix: g071-
 * Color palette: #FFB347 | #34495E | #999999 | #BF360C | #FF7F50
 * Dark background, light text, high contrast for mobile
 */

/* === CSS Variables === */
:root {
    --g071-primary: #FFB347;
    --g071-secondary: #FF7F50;
    --g071-bg: #1a1a2e;
    --g071-bg-dark: #0f0f1e;
    --g071-bg-card: #252542;
    --g071-text: #f0f0f0;
    --g071-text-muted: #999999;
    --g071-accent: #BF360C;
    --g071-nav-bg: #34495E;
    --g071-border: #3a3a5c;
    --g071-success: #27ae60;
    --g071-gradient: linear-gradient(135deg, #FFB347 0%, #FF7F50 100%);
    --g071-shadow: 0 2px 12px rgba(0,0,0,0.3);
    font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--g071-bg);
    color: var(--g071-text);
    font-size: 1.6rem;
    line-height: 1.5rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--g071-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--g071-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Header === */
.g071-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g071-bg-dark);
    border-bottom: 2px solid var(--g071-accent);
    max-width: 430px;
    margin: 0 auto;
}

.g071-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    height: 52px;
}

.g071-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.g071-logo-wrap img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

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

.g071-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.g071-btn-register {
    background: var(--g071-gradient);
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}

.g071-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255,179,71,0.4);
}

.g071-btn-login {
    background: transparent;
    color: var(--g071-primary);
    border: 1.5px solid var(--g071-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.g071-btn-login:hover {
    background: var(--g071-primary);
    color: var(--g071-bg-dark);
}

.g071-menu-toggle {
    background: none;
    border: none;
    color: var(--g071-primary);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0 0.3rem;
    display: flex;
    align-items: center;
}

/* === Mobile Menu === */
.g071-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

.g071-overlay-active {
    display: block;
}

.g071-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g071-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem 0;
    border-left: 2px solid var(--g071-accent);
}

.g071-menu-active {
    right: 0;
}

.g071-mobile-menu .g071-menu-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--g071-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.g071-mobile-menu .g071-menu-item {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--g071-text);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--g071-border);
    transition: background 0.2s, color 0.2s;
}

.g071-mobile-menu .g071-menu-item:hover {
    background: var(--g071-bg-card);
    color: var(--g071-primary);
}

/* === Bottom Navigation === */
.g071-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g071-bg-dark);
    border-top: 2px solid var(--g071-accent);
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    padding: 0 0.3rem;
}

.g071-bottom-nav .g071-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    color: var(--g071-text-muted);
    cursor: pointer;
    transition: color 0.2s, transform 0.15s;
    padding: 0.3rem;
    border-radius: 8px;
}

.g071-bottom-nav .g071-nav-btn:hover {
    color: var(--g071-primary);
    transform: scale(1.08);
}

.g071-bottom-nav .g071-nav-btn.g071-nav-active {
    color: var(--g071-primary);
    background: rgba(255,179,71,0.1);
}

.g071-bottom-nav .g071-nav-btn i,
.g071-bottom-nav .g071-nav-btn .material-icons,
.g071-bottom-nav .g071-nav-btn ion-icon,
.g071-bottom-nav .g071-nav-btn bi {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.g071-bottom-nav .g071-nav-btn .material-icons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.g071-bottom-nav .g071-nav-btn ion-icon {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.g071-bottom-nav .g071-nav-label {
    font-size: 1rem;
    margin-top: 0.2rem;
    white-space: nowrap;
}

/* === Main Content === */
.g071-main {
    padding-top: 56px;
    padding-bottom: 70px;
}

/* === Carousel/Slider === */
.g071-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

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

.g071-slide-active {
    display: block;
}

.g071-slide img {
    width: 100%;
    height: auto;
    min-height: 180px;
    object-fit: cover;
}

/* === Section === */
.g071-section {
    padding: 2rem 1.2rem;
}

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

.g071-section-title i,
.g071-section-title .material-icons {
    font-size: 2rem;
}

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

.g071-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s;
    border-radius: 10px;
    padding: 0.6rem 0.3rem;
    background: var(--g071-bg-card);
    border: 1px solid var(--g071-border);
}

.g071-game-item:hover {
    transform: scale(1.04);
    border-color: var(--g071-primary);
}

.g071-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.4rem;
}

.g071-game-name {
    font-size: 1.1rem;
    color: var(--g071-text);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* === Cards === */
.g071-card {
    background: var(--g071-bg-card);
    border: 1px solid var(--g071-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
}

.g071-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g071-primary);
    margin-bottom: 0.8rem;
}

.g071-card p {
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: var(--g071-text);
    margin-bottom: 0.6rem;
}

/* === Promo Buttons === */
.g071-promo-btn {
    display: inline-block;
    background: var(--g071-gradient);
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 24px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.2s;
    text-align: center;
}

.g071-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255,179,71,0.5);
}

.g071-promo-link {
    color: var(--g071-secondary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.g071-promo-link:hover {
    color: var(--g071-primary);
}

/* === Footer === */
.g071-footer {
    background: var(--g071-bg-dark);
    border-top: 2px solid var(--g071-accent);
    padding: 2rem 1.2rem 8rem;
    text-align: center;
}

.g071-footer-brand {
    font-size: 1.4rem;
    color: var(--g071-text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.8rem;
}

.g071-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.g071-footer-links a {
    color: var(--g071-text-muted);
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--g071-border);
    border-radius: 4px;
    transition: color 0.2s, border-color 0.2s;
}

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

.g071-footer-copy {
    font-size: 1.2rem;
    color: var(--g071-text-muted);
    margin-top: 1rem;
}

/* === Winner Marquee === */
.g071-winners {
    background: var(--g071-bg-card);
    border: 1px solid var(--g071-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.2rem;
    overflow: hidden;
}

.g071-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.g071-winner-name {
    color: var(--g071-text-muted);
}

.g071-winner-amount {
    color: var(--g071-success);
    font-weight: 600;
}

/* === Payment Icons === */
.g071-payment-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.g071-payment-item {
    background: var(--g071-bg-card);
    border: 1px solid var(--g071-border);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 1.3rem;
    color: var(--g071-text);
    text-align: center;
}

/* === Testimonials === */
.g071-testimonial {
    background: var(--g071-bg-card);
    border-left: 3px solid var(--g071-primary);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
}

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

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

/* === Responsive === */
@media (min-width: 769px) {
    .g071-bottom-nav {
        display: none;
    }

    .g071-main {
        padding-bottom: 2rem;
    }

    .g071-footer {
        padding-bottom: 2rem;
    }
}

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

/* === Utility === */
.g071-text-center { text-align: center; }
.g071-text-primary { color: var(--g071-primary); }
.g071-text-muted { color: var(--g071-text-muted); }
.g071-mt-1 { margin-top: 1rem; }
.g071-mt-2 { margin-top: 2rem; }
.g071-mb-1 { margin-bottom: 1rem; }
.g071-mb-2 { margin-bottom: 2rem; }
.g071-hidden { display: none; }
