/**
 * Okey Bet - Main Stylesheet
 * Prefix: pg57-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --pg57-primary: #ADFF2F;
    --pg57-secondary: #DEB887;
    --pg57-bg-dark: #1E1E1E;
    --pg57-bg-light: #2A2A2A;
    --pg57-text-light: #C9C9FF;
    --pg57-text-white: #FFFFFF;
    --pg57-accent: #ADFF2F;
    --pg57-gradient: linear-gradient(135deg, #1E1E1E 0%, #2A2A2A 100%);
    --pg57-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --pg57-radius: 12px;
    --pg57-radius-sm: 8px;
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--pg57-bg-dark);
    color: var(--pg57-text-light);
    line-height: 1.5;
    min-height: 100vh;
}

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

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

/* Container */
.pg57-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.pg57-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--pg57-bg-dark);
    border-bottom: 1px solid rgba(201, 201, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.pg57-header-scrolled {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
}

.pg57-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

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

.pg57-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.pg57-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pg57-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--pg57-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.pg57-btn-primary {
    background: var(--pg57-primary);
    color: var(--pg57-bg-dark);
}

.pg57-btn-primary:hover {
    background: #9AE623;
    transform: translateY(-2px);
}

.pg57-btn-secondary {
    background: transparent;
    color: var(--pg57-text-light);
    border: 2px solid var(--pg57-primary);
}

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

.pg57-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.pg57-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--pg57-text-light);
    transition: all 0.3s ease;
}

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

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

.pg57-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.4rem;
    color: var(--pg57-text-light);
    cursor: pointer;
}

.pg57-menu-links {
    margin-top: 4rem;
    list-style: none;
}

.pg57-menu-links li {
    margin-bottom: 1.5rem;
}

.pg57-menu-links a {
    display: block;
    padding: 1rem;
    color: var(--pg57-text-light);
    font-size: 1.5rem;
    border-radius: var(--pg57-radius-sm);
    transition: all 0.3s ease;
}

.pg57-menu-links a:hover {
    background: rgba(173, 255, 47, 0.1);
    color: var(--pg57-primary);
}

.pg57-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Main Content */
main {
    padding-top: 70px;
}

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

/* Carousel */
.pg57-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--pg57-radius) var(--pg57-radius);
}

.pg57-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.pg57-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

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

.pg57-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
}

.pg57-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.pg57-slide-content h2 {
    font-size: 2rem;
    color: var(--pg57-text-white);
    margin-bottom: 0.5rem;
}

.pg57-slide-content p {
    font-size: 1.4rem;
    color: var(--pg57-text-light);
}

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

.pg57-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg57-dot-active {
    background: var(--pg57-primary);
    width: 24px;
    border-radius: 5px;
}

/* Section Titles */
.pg57-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pg57-text-white);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--pg57-primary);
}

.pg57-section-subtitle {
    font-size: 1.5rem;
    color: var(--pg57-text-light);
    margin-bottom: 2rem;
}

/* Game Grid */
.pg57-game-section {
    padding: 2rem 1.5rem;
}

.pg57-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

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

.pg57-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--pg57-radius-sm);
    object-fit: cover;
    margin-bottom: 0.5rem;
    box-shadow: var(--pg57-shadow);
}

.pg57-game-name {
    font-size: 1.1rem;
    color: var(--pg57-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Label */
.pg57-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(173, 255, 47, 0.15);
    border-radius: 20px;
    font-size: 1.3rem;
    color: var(--pg57-primary);
    margin-bottom: 1rem;
}

/* Content Sections */
.pg57-content-section {
    padding: 2rem 1.5rem;
    background: var(--pg57-bg-light);
    margin: 1rem 0;
    border-radius: var(--pg57-radius);
}

.pg57-content-section h2 {
    font-size: 1.8rem;
    color: var(--pg57-text-white);
    margin-bottom: 1rem;
}

.pg57-content-section p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--pg57-text-light);
    margin-bottom: 1rem;
}

/* Feature Cards */
.pg57-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.pg57-feature-card {
    background: var(--pg57-bg-dark);
    padding: 1.5rem;
    border-radius: var(--pg57-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg57-feature-card:hover {
    border-color: var(--pg57-primary);
    transform: translateY(-3px);
}

.pg57-feature-icon {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: var(--pg57-primary);
}

.pg57-feature-card h3 {
    font-size: 1.3rem;
    color: var(--pg57-text-white);
    margin-bottom: 0.5rem;
}

.pg57-feature-card p {
    font-size: 1.2rem;
    color: var(--pg57-text-light);
}

/* CTA Section */
.pg57-cta {
    background: linear-gradient(135deg, var(--pg57-primary) 0%, var(--pg57-secondary) 100%);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: var(--pg57-radius);
    margin: 2rem 1.5rem;
}

.pg57-cta h2 {
    font-size: 2rem;
    color: var(--pg57-bg-dark);
    margin-bottom: 1rem;
}

.pg57-cta p {
    font-size: 1.4rem;
    color: var(--pg57-bg-dark);
    margin-bottom: 1.5rem;
}

.pg57-cta .pg57-btn {
    background: var(--pg57-bg-dark);
    color: var(--pg57-primary);
    padding: 1rem 2.5rem;
    font-size: 1.5rem;
}

.pg57-cta .pg57-btn:hover {
    background: var(--pg57-bg-light);
}

/* Testimonials */
.pg57-testimonials {
    padding: 2rem 1.5rem;
}

.pg57-testimonial {
    background: var(--pg57-bg-light);
    padding: 1.5rem;
    border-radius: var(--pg57-radius-sm);
    margin-bottom: 1rem;
    border-left: 3px solid var(--pg57-primary);
}

.pg57-testimonial p {
    font-size: 1.3rem;
    color: var(--pg57-text-light);
    margin-bottom: 1rem;
}

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

/* Payment Methods */
.pg57-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem;
}

.pg57-payment-item {
    background: var(--pg57-bg-light);
    padding: 1rem 1.5rem;
    border-radius: var(--pg57-radius-sm);
    font-size: 1.3rem;
    color: var(--pg57-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.pg57-footer {
    background: var(--pg57-bg-light);
    padding: 3rem 1.5rem;
    padding-bottom: 100px;
    margin-top: 2rem;
}

@media (min-width: 769px) {
    .pg57-footer {
        padding-bottom: 3rem;
    }
}

.pg57-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.pg57-footer-brand p {
    font-size: 1.3rem;
    color: var(--pg57-text-light);
    line-height: 1.8;
    max-width: 350px;
    margin: 0 auto;
}

.pg57-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pg57-footer-links a {
    color: var(--pg57-text-light);
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

.pg57-footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pg57-footer-buttons .pg57-btn {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
}

.pg57-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(201, 201, 255, 0.6);
}

/* Bottom Navigation */
.pg57-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pg57-bg-dark);
    border-top: 1px solid rgba(201, 201, 255, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    padding: 0 0.5rem;
}

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

.pg57-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;
    border-radius: 12px;
    padding: 0.5rem;
}

.pg57-nav-item:hover {
    background: rgba(173, 255, 47, 0.1);
}

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

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

.pg57-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

/* Utility Classes */
.pg57-text-center {
    text-align: center;
}

.pg57-mb-1 {
    margin-bottom: 1rem;
}

.pg57-mb-2 {
    margin-bottom: 2rem;
}

.pg57-mt-2 {
    margin-top: 2rem;
}

.pg57-hidden {
    display: none;
}

/* Link Styles */
.pg57-text-link {
    color: var(--pg57-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pg57-text-link:hover {
    color: var(--pg57-secondary);
    text-decoration: underline;
}

/* Winner Showcase */
.pg57-winners {
    background: var(--pg57-bg-light);
    padding: 1.5rem;
    border-radius: var(--pg57-radius);
    margin: 1.5rem;
}

.pg57-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--pg57-bg-dark);
    border-radius: var(--pg57-radius-sm);
    margin-bottom: 0.8rem;
}

.pg57-winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pg57-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pg57-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--pg57-bg-dark);
}

.pg57-winner-name {
    font-size: 1.3rem;
    color: var(--pg57-text-white);
}

.pg57-winner-game {
    font-size: 1.1rem;
    color: var(--pg57-text-light);
}

.pg57-winner-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pg57-primary);
}

/* Promotional Text Links */
.pg57-promo-text {
    color: var(--pg57-primary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg57-promo-text:hover {
    text-decoration: underline;
    color: var(--pg57-secondary);
}

/* FAQ Section */
.pg57-faq-item {
    background: var(--pg57-bg-light);
    border-radius: var(--pg57-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.pg57-faq-question {
    padding: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pg57-text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pg57-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.3rem;
    color: var(--pg57-text-light);
    line-height: 1.7;
}

/* RTP Section */
.pg57-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pg57-rtp-item {
    background: var(--pg57-bg-dark);
    padding: 1rem;
    border-radius: var(--pg57-radius-sm);
    text-align: center;
}

.pg57-rtp-game {
    font-size: 1.2rem;
    color: var(--pg57-text-light);
    margin-bottom: 0.5rem;
}

.pg57-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg57-primary);
}

/* App Download */
.pg57-app-download {
    background: linear-gradient(135deg, var(--pg57-bg-light) 0%, var(--pg57-bg-dark) 100%);
    padding: 2rem 1.5rem;
    border-radius: var(--pg57-radius);
    text-align: center;
    margin: 1.5rem;
}

.pg57-app-download h3 {
    font-size: 1.8rem;
    color: var(--pg57-text-white);
    margin-bottom: 1rem;
}

.pg57-app-download p {
    font-size: 1.3rem;
    color: var(--pg57-text-light);
    margin-bottom: 1.5rem;
}

.pg57-app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .pg57-header-content {
        max-width: 1200px;
    }

    .pg57-container {
        max-width: 1200px;
    }

    .pg57-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .pg57-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .pg57-menu-toggle {
        display: none;
    }

    .pg57-desktop-nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .pg57-desktop-nav a {
        color: var(--pg57-text-light);
        font-size: 1.4rem;
        transition: color 0.3s ease;
    }

    .pg57-desktop-nav a:hover {
        color: var(--pg57-primary);
    }
}

@media (max-width: 768px) {
    .pg57-desktop-nav {
        display: none;
    }
}
