/**
 * Luckpot Casino - Main Stylesheet
 * Website: luckpot.sbs
 * Prefix: pg62-
 * Color Palette: #F5DEB3 | #DCDCDC | #7B68EE | #2C3E50 | #FDF5E6
 */

/* CSS Variables */
:root {
    --pg62-primary: #7B68EE;
    --pg62-secondary: #F5DEB3;
    --pg62-bg-dark: #2C3E50;
    --pg62-bg-light: #FDF5E6;
    --pg62-text-light: #FDF5E6;
    --pg62-text-dark: #2C3E50;
    --pg62-accent: #DCDCDC;
    --pg62-gold: #F5DEB3;
    --pg62-purple: #7B68EE;
    --pg62-header-height: 60px;
    --pg62-bottom-nav-height: 60px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--pg62-bg-dark);
    color: var(--pg62-text-light);
    line-height: 1.5;
    font-size: 1.4rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.pg62-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.pg62-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--pg62-header-height);
    background: linear-gradient(135deg, var(--pg62-bg-dark) 0%, #1a252f 100%);
    border-bottom: 2px solid var(--pg62-purple);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.pg62-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg62-logo img {
    width: 32px;
    height: 32px;
}

.pg62-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg62-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pg62-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg62-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.pg62-btn-register {
    background: linear-gradient(135deg, var(--pg62-purple) 0%, #9370DB 100%);
    color: var(--pg62-text-light);
}

.pg62-btn-login {
    background: transparent;
    border: 2px solid var(--pg62-gold);
    color: var(--pg62-gold);
}

.pg62-btn:hover {
    transform: scale(1.05);
}

.pg62-menu-toggle {
    background: none;
    border: none;
    color: var(--pg62-gold);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.pg62-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pg62-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.pg62-menu-active {
    right: 0;
}

.pg62-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;
}

.pg62-overlay-active {
    opacity: 1;
    visibility: visible;
}

.pg62-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--pg62-gold);
    font-size: 2.4rem;
    cursor: pointer;
}

.pg62-menu-links {
    margin-top: 4rem;
    list-style: none;
}

.pg62-menu-links li {
    margin-bottom: 1.5rem;
}

.pg62-menu-links a {
    color: var(--pg62-text-light);
    font-size: 1.6rem;
    display: block;
    padding: 1rem;
    border-radius: 0.8rem;
    transition: background 0.3s ease;
}

.pg62-menu-links a:hover {
    background: rgba(123, 104, 238, 0.2);
    color: var(--pg62-purple);
}

/* Main Content */
main {
    padding-top: calc(var(--pg62-header-height) + 1rem);
    padding-bottom: calc(var(--pg62-bottom-nav-height) + 2rem);
    min-height: 100vh;
}

/* Hero Slider */
.pg62-hero-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.pg62-slide {
    display: none;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.pg62-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg62-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.pg62-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.pg62-dot-active {
    background: var(--pg62-gold);
}

/* Section Titles */
.pg62-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pg62-gold);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--pg62-purple);
}

/* Game Grid */
.pg62-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.pg62-game-card {
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.2) 0%, rgba(44, 62, 80, 0.8) 100%);
    border-radius: 1rem;
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pg62-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(123, 104, 238, 0.3);
}

.pg62-game-card img {
    width: 60px;
    height: 60px;
    border-radius: 0.8rem;
    margin-bottom: 0.5rem;
}

.pg62-game-name {
    font-size: 1.1rem;
    color: var(--pg62-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.pg62-category-section {
    margin-bottom: 2.5rem;
}

.pg62-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pg62-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--pg62-purple);
}

/* Content Sections */
.pg62-content-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(26, 37, 47, 0.9) 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.pg62-content-section h2 {
    color: var(--pg62-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pg62-content-section p {
    color: var(--pg62-accent);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pg62-content-section ul {
    list-style: none;
    padding-left: 0;
}

.pg62-content-section li {
    color: var(--pg62-accent);
    font-size: 1.4rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pg62-content-section li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--pg62-purple);
}

/* Promo Link */
.pg62-promo-link {
    color: var(--pg62-gold);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pg62-promo-link:hover {
    color: var(--pg62-purple);
}

/* Footer */
.pg62-footer {
    background: linear-gradient(135deg, var(--pg62-bg-dark) 0%, #1a252f 100%);
    padding: 2rem 1rem;
    border-top: 2px solid var(--pg62-purple);
}

.pg62-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pg62-footer-links a {
    color: var(--pg62-accent);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.pg62-footer-links a:hover {
    background: rgba(123, 104, 238, 0.2);
    color: var(--pg62-gold);
}

.pg62-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pg62-partners img {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.pg62-partners img:hover {
    opacity: 1;
}

.pg62-copyright {
    text-align: center;
    color: var(--pg62-accent);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.pg62-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--pg62-bottom-nav-height);
    background: linear-gradient(135deg, var(--pg62-bg-dark) 0%, #1a252f 100%);
    border-top: 2px solid var(--pg62-purple);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.pg62-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;
}

.pg62-nav-item i,
.pg62-nav-item .material-icons {
    font-size: 24px;
    color: var(--pg62-accent);
    margin-bottom: 0.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.pg62-nav-item span {
    font-size: 1rem;
    color: var(--pg62-accent);
}

.pg62-nav-item:hover i,
.pg62-nav-item:hover .material-icons,
.pg62-nav-item:hover span {
    color: var(--pg62-gold);
    transform: scale(1.1);
}

.pg62-nav-item.active i,
.pg62-nav-item.active .material-icons,
.pg62-nav-item.active span {
    color: var(--pg62-purple);
}

/* Desktop Hidden */
@media (min-width: 769px) {
    .pg62-bottom-nav {
        display: none;
    }

    .pg62-menu-toggle {
        display: none;
    }

    main {
        padding-bottom: 2rem;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .pg62-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .pg62-game-card img {
        width: 50px;
        height: 50px;
    }

    .pg62-game-name {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes pg62-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pg62-animate-pulse {
    animation: pg62-pulse 2s infinite;
}

/* FAQ Section */
.pg62-faq-item {
    background: rgba(123, 104, 238, 0.1);
    border-radius: 0.8rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.pg62-faq-question {
    font-weight: 600;
    color: var(--pg62-gold);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.pg62-faq-answer {
    color: var(--pg62-accent);
    font-size: 1.3rem;
}

/* Features List */
.pg62-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pg62-feature-item {
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.15) 0%, rgba(44, 62, 80, 0.6) 100%);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
}

.pg62-feature-item i {
    font-size: 2.4rem;
    color: var(--pg62-purple);
    margin-bottom: 0.5rem;
}

.pg62-feature-item h3 {
    font-size: 1.3rem;
    color: var(--pg62-gold);
    margin-bottom: 0.3rem;
}

.pg62-feature-item p {
    font-size: 1.1rem;
    color: var(--pg62-accent);
}

/* CTA Button */
.pg62-cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--pg62-purple) 0%, #9370DB 100%);
    color: var(--pg62-text-light);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.pg62-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(123, 104, 238, 0.4);
}
