/**
 * layout-e580.css - Stylesheet for 222bet login
 * Prefix: pge5-
 */

/* CSS Variables */
:root {
    --pge5-primary: #006400;
    --pge5-bg: #1A1A2E;
    --pge5-bg-card: #16213E;
    --pge5-bg-dark: #0F3460;
    --pge5-text: #E0E0E0;
    --pge5-text-light: #9AFF9A;
    --pge5-accent: #7FFF00;
    --pge5-border: #2A3A5C;
    --pge5-gold: #FFD700;
    --pge5-red: #FF4444;
    --pge5-radius: 10px;
    --pge5-shadow: 0 4px 15px rgba(0,0,0,0.3);
    --pge5-transition: all 0.3s ease;
}

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

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: var(--pge5-bg);
    color: var(--pge5-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

a { color: var(--pge5-accent); text-decoration: none; transition: var(--pge5-transition); }
a:hover { color: var(--pge5-gold); }
img { max-width: 100%; height: auto; display: block; }

/* Utility Classes */
.pge5-container { width: 100%; padding: 0 12px; }
.pge5-section { padding: 20px 0; }
.pge5-text-center { text-align: center; }
.pge5-text-accent { color: var(--pge5-accent); }
.pge5-text-gold { color: var(--pge5-gold); }
.pge5-text-green { color: var(--pge5-text-light); }
.pge5-mt-1 { margin-top: 8px; }
.pge5-mt-2 { margin-top: 16px; }
.pge5-mb-1 { margin-bottom: 8px; }
.pge5-mb-2 { margin-bottom: 16px; }
.pge5-hidden { display: none !important; }

/* Header */
.pge5-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 56px;
    background: linear-gradient(135deg, #0F3460, #1A1A2E);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 1000;
    border-bottom: 2px solid var(--pge5-primary);
    box-shadow: 0 2px 10px rgba(0,100,0,0.3);
}

.pge5-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pge5-logo-area img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.pge5-logo-area span {
    font-size: 16px;
    font-weight: 700;
    color: var(--pge5-accent);
    white-space: nowrap;
}

.pge5-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pge5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Hind Siliguri', sans-serif;
    cursor: pointer;
    transition: var(--pge5-transition);
    text-decoration: none;
}

.pge5-btn-register {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1A1A2E;
}

.pge5-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,215,0,0.5); }

.pge5-btn-login {
    background: linear-gradient(135deg, #006400, #008800);
    color: #fff;
}

.pge5-btn-login:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(0,100,0,0.5); }

.pge5-hamburger {
    background: none;
    border: none;
    color: var(--pge5-accent);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* Mobile Menu */
.pge5-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--pge5-transition);
}

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

.pge5-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 270px;
    height: 100%;
    background: linear-gradient(180deg, #0F3460, #1A1A2E);
    z-index: 9999;
    transition: right 0.35s ease;
    overflow-y: auto;
    padding: 20px 15px;
    border-left: 2px solid var(--pge5-primary);
}

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

.pge5-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pge5-border);
}

.pge5-menu-header span { color: var(--pge5-accent); font-size: 18px; font-weight: 700; }

.pge5-menu-close {
    background: none;
    border: none;
    color: var(--pge5-text);
    font-size: 22px;
    cursor: pointer;
}

.pge5-menu-links { list-style: none; }

.pge5-menu-links li { margin-bottom: 2px; }

.pge5-menu-links a {
    display: block;
    padding: 10px 12px;
    color: var(--pge5-text);
    border-radius: 6px;
    transition: var(--pge5-transition);
    font-size: 14px;
}

.pge5-menu-links a:hover {
    background: rgba(0,100,0,0.3);
    color: var(--pge5-accent);
    padding-left: 18px;
}

.pge5-menu-promo {
    margin-top: 20px;
    padding: 14px;
    background: linear-gradient(135deg, #006400, #008800);
    border-radius: var(--pge5-radius);
    text-align: center;
}

.pge5-menu-promo p { color: #fff; font-size: 13px; margin-bottom: 10px; }

.pge5-menu-promo .pge5-btn { width: 100%; }

/* Carousel */
.pge5-carousel {
    position: relative;
    width: 100%;
    margin-top: 56px;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.pge5-carousel-track {
    position: relative;
    width: 100%;
    height: 180px;
}

.pge5-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    cursor: pointer;
}

.pge5-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pge5-slide-active { opacity: 1; }

.pge5-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.pge5-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--pge5-transition);
}

.pge5-dot-active { background: var(--pge5-accent); transform: scale(1.3); }

.pge5-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pge5-arrow-prev { left: 8px; }
.pge5-arrow-next { right: 8px; }

/* Main Content */
.pge5-main {
    padding-top: 10px;
    padding-bottom: 20px;
}

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

/* Section Titles */
.pge5-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pge5-accent);
    padding: 12px 0 8px;
    border-bottom: 2px solid var(--pge5-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pge5-section-title i, .pge5-section-title .material-icons {
    font-size: 20px;
    color: var(--pge5-gold);
}

/* Category Tabs */
.pge5-category-tabs {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pge5-category-tabs::-webkit-scrollbar { display: none; }

.pge5-cat-tab {
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--pge5-bg-card);
    border: 1px solid var(--pge5-border);
    border-radius: 20px;
    color: var(--pge5-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pge5-transition);
    white-space: nowrap;
    font-family: 'Hind Siliguri', sans-serif;
}

.pge5-cat-tab:hover, .pge5-cat-tab.pge5-cat-active {
    background: var(--pge5-primary);
    color: #fff;
    border-color: var(--pge5-primary);
}

/* Game Grid */
.pge5-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px 0;
}

.pge5-game-card {
    background: var(--pge5-bg-card);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--pge5-transition);
    border: 1px solid var(--pge5-border);
    text-align: center;
}

.pge5-game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,100,0,0.3);
    border-color: var(--pge5-primary);
}

.pge5-game-card img {
    width: 100%;
    height: 68px;
    object-fit: cover;
}

.pge5-game-card p {
    font-size: 10px;
    padding: 4px 2px;
    color: var(--pge5-text);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Promo Banner */
.pge5-promo-banner {
    background: linear-gradient(135deg, #006400, #0F3460);
    border-radius: var(--pge5-radius);
    padding: 16px;
    margin: 16px 0;
    text-align: center;
    border: 1px solid var(--pge5-primary);
    box-shadow: var(--pge5-shadow);
}

.pge5-promo-banner h3 {
    color: var(--pge5-gold);
    font-size: 16px;
    margin-bottom: 6px;
}

.pge5-promo-banner p {
    color: var(--pge5-text);
    font-size: 13px;
    margin-bottom: 12px;
}

.pge5-promo-banner .pge5-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1A1A2E;
    padding: 8px 24px;
    font-size: 14px;
}

/* Content Cards */
.pge5-content-card {
    background: var(--pge5-bg-card);
    border-radius: var(--pge5-radius);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--pge5-border);
}

.pge5-content-card h2, .pge5-content-card h3 {
    color: var(--pge5-accent);
    margin-bottom: 10px;
    font-size: 16px;
}

.pge5-content-card p, .pge5-content-card li {
    font-size: 13px;
    color: var(--pge5-text);
    line-height: 1.7;
}

.pge5-content-card ul {
    padding-left: 18px;
    margin-top: 6px;
}

.pge5-content-card li { margin-bottom: 4px; }

/* RTP Table */
.pge5-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.pge5-rtp-table th {
    background: var(--pge5-primary);
    color: #fff;
    padding: 8px 6px;
    font-size: 12px;
    text-align: left;
}

.pge5-rtp-table td {
    padding: 6px;
    border-bottom: 1px solid var(--pge5-border);
    font-size: 12px;
}

.pge5-rtp-table tr:nth-child(even) td { background: rgba(15,52,96,0.3); }

.pge5-rtp-high { color: var(--pge5-accent); font-weight: 700; }

/* FAQ Accordion */
.pge5-faq-item {
    border: 1px solid var(--pge5-border);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.pge5-faq-q {
    padding: 12px;
    background: var(--pge5-bg-card);
    font-weight: 600;
    font-size: 13px;
    color: var(--pge5-accent);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pge5-faq-a {
    padding: 10px 12px;
    font-size: 12px;
    color: var(--pge5-text);
    line-height: 1.6;
    background: rgba(15,52,96,0.2);
    display: none;
}

.pge5-faq-item.open .pge5-faq-a { display: block; }

/* Testimonials */
.pge5-testimonial {
    background: var(--pge5-bg-card);
    border-radius: var(--pge5-radius);
    padding: 14px;
    margin-bottom: 10px;
    border-left: 3px solid var(--pge5-accent);
}

.pge5-testimonial p { font-size: 13px; font-style: italic; margin-bottom: 6px; }

.pge5-testimonial span {
    font-size: 11px;
    color: var(--pge5-gold);
    font-weight: 600;
}

/* Winner Ticker */
.pge5-winner-ticker {
    background: rgba(0,100,0,0.15);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.pge5-winner-label {
    background: var(--pge5-gold);
    color: #1A1A2E;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.pge5-winner-text {
    font-size: 12px;
    color: var(--pge5-text-light);
    white-space: nowrap;
    animation: pge5-ticker 15s linear infinite;
}

@keyframes pge5-ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Footer */
.pge5-footer {
    background: linear-gradient(180deg, #1A1A2E, #0F0F1E);
    padding: 24px 12px 20px;
    border-top: 2px solid var(--pge5-primary);
    text-align: center;
}

.pge5-footer-brand {
    color: var(--pge5-accent);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pge5-footer-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    line-height: 1.5;
}

.pge5-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 14px;
}

.pge5-footer-links a {
    font-size: 12px;
    color: var(--pge5-text);
    transition: var(--pge5-transition);
}

.pge5-footer-links a:hover { color: var(--pge5-accent); }

.pge5-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
}

.pge5-partner-tag {
    font-size: 10px;
    color: var(--pge5-text-light);
    background: rgba(0,100,0,0.15);
    padding: 3px 8px;
    border-radius: 4px;
}

.pge5-copyright {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
}

/* Bottom Navigation */
.pge5-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 60px;
    background: linear-gradient(180deg, #16213E, #0F0F1E);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--pge5-primary);
    box-shadow: 0 -2px 10px rgba(0,100,0,0.2);
}

.pge5-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(--pge5-text);
    cursor: pointer;
    transition: var(--pge5-transition);
    padding: 4px;
    font-family: 'Hind Siliguri', sans-serif;
}

.pge5-nav-btn:hover, .pge5-nav-btn.pge5-nav-active {
    color: var(--pge5-accent);
    transform: scale(1.08);
}

.pge5-nav-btn i, .pge5-nav-btn .material-icons, .pge5-nav-btn ion-icon, .pge5-nav-btn bi {
    font-size: 22px;
    margin-bottom: 2px;
}

.pge5-nav-btn span {
    font-size: 10px;
    line-height: 1;
}

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

/* Back to Top */
.pge5-back-top {
    position: fixed;
    bottom: 75px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: var(--pge5-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--pge5-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--pge5-shadow);
}

.pge5-back-top-show { opacity: 1; visibility: visible; }
.pge5-back-top:hover { background: var(--pge5-accent); color: var(--pge5-bg); }

/* Payment Icons */
.pge5-payment-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.pge5-payment-icon {
    background: var(--pge5-bg-card);
    border: 1px solid var(--pge5-border);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11px;
    color: var(--pge5-text-light);
}

/* Download CTA */
.pge5-download-cta {
    background: linear-gradient(135deg, #006400, #008800);
    border-radius: var(--pge5-radius);
    padding: 18px;
    text-align: center;
    margin: 16px 0;
    border: 2px solid var(--pge5-accent);
}

.pge5-download-cta h3 {
    color: var(--pge5-gold);
    font-size: 18px;
    margin-bottom: 8px;
}

.pge5-download-cta p {
    font-size: 13px;
    color: #fff;
    margin-bottom: 12px;
}

.pge5-download-btns {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* Achievement Badges */
.pge5-badge-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.pge5-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pge5-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pge5-gold), #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1A1A2E;
}

.pge5-badge span { font-size: 10px; color: var(--pge5-text-light); }

/* Desktop adjustments */
@media (min-width: 769px) {
    body { max-width: 430px; }
    .pge5-header { max-width: 430px; }
}
