/**
 * okbet ph - CSS Styles
 * Website: okbetph.sbs
 * Prefix: g02c-
 */

/* CSS Variables */
:root {
    --g02c-primary: #66CDAA;
    --g02c-secondary: #006400;
    --g02c-accent: #4169E1;
    --g02c-bg-dark: #333333;
    --g02c-bg-light: #1a1a1a;
    --g02c-text-light: #E5E5E5;
    --g02c-text-white: #ffffff;
    --g02c-highlight: #7FFF00;
    --g02c-gradient: linear-gradient(135deg, #006400 0%, #66CDAA 100%);
    --g02c-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --g02c-radius: 8px;
    --g02c-radius-lg: 12px;
}

/* Base Styles */
html {
    font-size: 62.5%;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--g02c-bg-dark);
    color: var(--g02c-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header Styles */
.g02c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--g02c-bg-dark) 0%, rgba(51, 51, 51, 0.95) 100%);
    padding: 1rem 1.2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.g02c-header-scrolled {
    background: rgba(51, 51, 51, 0.98);
    box-shadow: var(--g02c-shadow);
}

.g02c-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.g02c-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.g02c-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g02c-primary);
}

.g02c-header-btns {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.g02c-btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--g02c-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.g02c-btn-primary {
    background: var(--g02c-gradient);
    color: var(--g02c-text-white);
}

.g02c-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(102, 205, 170, 0.5);
}

.g02c-btn-outline {
    background: transparent;
    border: 2px solid var(--g02c-primary);
    color: var(--g02c-primary);
}

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

.g02c-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.g02c-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--g02c-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.g02c-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: var(--g02c-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

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

.g02c-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(102, 205, 170, 0.2);
}

.g02c-menu-title {
    font-size: 1.8rem;
    color: var(--g02c-primary);
    font-weight: 700;
}

.g02c-menu-close {
    font-size: 2.4rem;
    color: var(--g02c-text-light);
    cursor: pointer;
    line-height: 1;
}

.g02c-menu-nav {
    list-style: none;
}

.g02c-menu-nav li {
    margin-bottom: 1rem;
}

.g02c-menu-nav a {
    display: block;
    padding: 1rem 1.2rem;
    color: var(--g02c-text-light);
    font-size: 1.4rem;
    border-radius: var(--g02c-radius);
    transition: all 0.3s ease;
}

.g02c-menu-nav a:hover {
    background: rgba(102, 205, 170, 0.15);
    color: var(--g02c-primary);
}

.g02c-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.g02c-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g02c-no-scroll {
    overflow: hidden;
}

/* Main Content */
main {
    padding-top: 60px;
    padding-bottom: 20px;
}

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

.g02c-container {
    padding: 1.5rem 1.2rem;
}

/* Carousel Styles */
.g02c-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--g02c-radius-lg);
    margin-bottom: 1.5rem;
}

.g02c-slides {
    position: relative;
}

.g02c-slide {
    display: none;
    cursor: pointer;
}

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

.g02c-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--g02c-radius-lg);
}

.g02c-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g02c-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g02c-indicator-active {
    background: var(--g02c-primary);
    width: 20px;
    border-radius: 4px;
}

/* Section Styles */
.g02c-section {
    margin-bottom: 2rem;
}

.g02c-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g02c-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--g02c-primary);
}

.g02c-h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g02c-text-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.g02c-h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--g02c-primary);
    margin-bottom: 1rem;
}

.g02c-h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g02c-highlight);
    margin-bottom: 0.8rem;
}

.g02c-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--g02c-text-light);
    margin-bottom: 1rem;
}

/* Game Grid Styles */
.g02c-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.g02c-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.g02c-game-item:hover {
    transform: scale(1.05);
}

.g02c-game-img {
    width: 60px;
    height: 60px;
    border-radius: var(--g02c-radius);
    object-fit: cover;
    margin-bottom: 0.5rem;
    box-shadow: var(--g02c-shadow);
}

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

/* Category Tab */
.g02c-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g02c-highlight);
    margin: 1.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--g02c-primary);
}

/* Feature Card */
.g02c-card {
    background: var(--g02c-bg-light);
    border-radius: var(--g02c-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(102, 205, 170, 0.2);
}

.g02c-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g02c-primary);
    margin-bottom: 0.8rem;
}

.g02c-card-text {
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--g02c-text-light);
}

/* Promo Link Styles */
.g02c-promo-link {
    color: var(--g02c-highlight);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.g02c-promo-link:hover {
    color: var(--g02c-primary);
    text-decoration: underline;
}

.g02c-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--g02c-gradient);
    color: var(--g02c-text-white);
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: var(--g02c-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: 1rem 0;
}

.g02c-promo-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(102, 205, 170, 0.6);
}

/* Footer Styles */
.g02c-footer {
    background: var(--g02c-bg-light);
    padding: 2rem 1.2rem;
    margin-top: 2rem;
    border-top: 2px solid var(--g02c-primary);
}

.g02c-footer-brand {
    margin-bottom: 1.5rem;
}

.g02c-footer-desc {
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--g02c-text-light);
    margin-bottom: 1rem;
}

.g02c-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.g02c-footer-link {
    padding: 0.5rem 1rem;
    background: rgba(102, 205, 170, 0.15);
    border-radius: var(--g02c-radius);
    font-size: 1.2rem;
    color: var(--g02c-text-light);
    transition: all 0.3s ease;
}

.g02c-footer-link:hover {
    background: var(--g02c-primary);
    color: var(--g02c-bg-dark);
}

.g02c-footer-partners {
    margin-bottom: 1.5rem;
}

.g02c-footer-partners-title {
    font-size: 1.3rem;
    color: var(--g02c-primary);
    margin-bottom: 0.8rem;
}

.g02c-partner-logos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.g02c-partner-logo {
    width: 50px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.g02c-partner-logo:hover {
    opacity: 1;
}

.g02c-copyright {
    font-size: 1.2rem;
    color: rgba(229, 229, 229, 0.6);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(102, 205, 170, 0.2);
}

/* Bottom Navigation */
.g02c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, var(--g02c-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(102, 205, 170, 0.3);
}

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

.g02c-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--g02c-text-light);
}

.g02c-nav-item:hover {
    color: var(--g02c-primary);
    transform: scale(1.1);
}

.g02c-nav-item.active {
    color: var(--g02c-primary);
}

.g02c-nav-item i,
.g02c-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.g02c-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* List Styles */
.g02c-list {
    list-style: none;
    padding: 0;
}

.g02c-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(102, 205, 170, 0.1);
    font-size: 1.3rem;
}

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

/* FAQ Styles */
.g02c-faq-item {
    margin-bottom: 1rem;
}

.g02c-faq-q {
    font-weight: 600;
    color: var(--g02c-primary);
    margin-bottom: 0.5rem;
}

.g02c-faq-a {
    color: var(--g02c-text-light);
    font-size: 1.3rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 380px) {
    .g02c-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .g02c-game-img {
        width: 55px;
        height: 55px;
    }
}
