/**
 * 25ph Casino - Design Stylesheet
 * Website: 25ph.cfd
 * Prefix: pg8a-
 */

/* CSS Variables */
:root {
    --pg8a-primary: #48D1CC;
    --pg8a-bg: #1A1A2E;
    --pg8a-bg-light: #252542;
    --pg8a-bg-dark: #0F0F1A;
    --pg8a-text: #F5F5F5;
    --pg8a-text-light: #FFFFFF;
    --pg8a-text-muted: #9CA3AF;
    --pg8a-accent: #FF6B6B;
    --pg8a-accent2: #4ECDC4;
    --pg8a-border: rgba(72, 209, 204, 0.3);
    --pg8a-radius: 12px;
    --pg8a-transition: all 0.3s ease;
    font-size: 62.5%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    background-color: var(--pg8a-bg);
    color: var(--pg8a-text);
    min-height: 100vh;
}

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

/* Header */
.pg8a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(135deg, var(--pg8a-bg-dark) 0%, var(--pg8a-bg) 100%);
    border-bottom: 1px solid var(--pg8a-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.pg8a-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.pg8a-logo-img {
    height: 36px;
    width: auto;
}

.pg8a-logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pg8a-primary);
    letter-spacing: 1px;
}

.pg8a-header-actions {
    display: flex;
    gap: 10px;
}

.pg8a-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.pg8a-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pg8a-text);
    transition: var(--pg8a-transition);
}

.pg8a-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.pg8a-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.pg8a-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.pg8a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--pg8a-transition);
    border: none;
}

.pg8a-btn-register {
    background: linear-gradient(135deg, var(--pg8a-primary) 0%, var(--pg8a-accent2) 100%);
    color: var(--pg8a-bg-dark);
}

.pg8a-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 209, 204, 0.4);
}

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

.pg8a-btn-login:hover {
    background: rgba(72, 209, 204, 0.1);
}

.pg8a-btn-cta {
    background: linear-gradient(135deg, var(--pg8a-accent) 0%, #FF8E53 100%);
    color: var(--pg8a-text-light);
    padding: 14px 32px;
    font-size: 1.6rem;
    border-radius: 30px;
}

.pg8a-btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

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

.pg8a-btn-promo:hover {
    background: var(--pg8a-accent2);
}

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

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

.pg8a-mobile-menu a {
    display: block;
    padding: 14px 16px;
    color: var(--pg8a-text);
    text-decoration: none;
    border-bottom: 1px solid var(--pg8a-border);
    transition: var(--pg8a-transition);
}

.pg8a-mobile-menu a:hover {
    color: var(--pg8a-primary);
    background: rgba(72, 209, 204, 0.1);
}

.pg8a-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: var(--pg8a-transition);
}

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

/* Carousel/Slider */
.pg8a-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 56px;
}

.pg8a-slides {
    position: relative;
    width: 100%;
}

.pg8a-slide {
    display: none;
    width: 100%;
}

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

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

.pg8a-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

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

.pg8a-dot-active {
    background: var(--pg8a-primary);
    transform: scale(1.2);
}

/* Sections */
.pg8a-section {
    padding: 32px 0;
}

.pg8a-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pg8a-text-light);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.pg8a-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--pg8a-primary);
    margin: 10px auto 0;
}

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

.pg8a-game-card {
    position: relative;
    border-radius: var(--pg8a-radius);
    overflow: hidden;
    background: var(--pg8a-bg-light);
    cursor: pointer;
    transition: var(--pg8a-transition);
}

.pg8a-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(72, 209, 204, 0.2);
}

.pg8a-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pg8a-game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 6px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--pg8a-text-light);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pg8a-cat-label {
    display: inline-block;
    padding: 6px 14px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pg8a-primary);
    background: rgba(72, 209, 204, 0.15);
    border-radius: 20px;
    margin-bottom: 16px;
}

/* Features Grid */
.pg8a-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pg8a-feature-item {
    background: var(--pg8a-bg-light);
    border-radius: var(--pg8a-radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--pg8a-border);
    transition: var(--pg8a-transition);
}

.pg8a-feature-item:hover {
    border-color: var(--pg8a-primary);
}

.pg8a-feature-icon {
    font-size: 3rem;
    color: var(--pg8a-primary);
    margin-bottom: 12px;
}

.pg8a-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pg8a-text-light);
    margin-bottom: 8px;
}

.pg8a-feature-desc {
    font-size: 1.3rem;
    color: var(--pg8a-text-muted);
}

/* Testimonials */
.pg8a-testimonial {
    background: var(--pg8a-bg-light);
    border-radius: var(--pg8a-radius);
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid var(--pg8a-primary);
}

.pg8a-testimonial-text {
    font-size: 1.4rem;
    color: var(--pg8a-text);
    margin-bottom: 12px;
    font-style: italic;
}

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

/* FAQ */
.pg8a-faq-item {
    background: var(--pg8a-bg-light);
    border-radius: var(--pg8a-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.pg8a-faq-question {
    padding: 16px 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pg8a-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pg8a-faq-answer {
    padding: 0 20px 16px;
    font-size: 1.4rem;
    color: var(--pg8a-text-muted);
}

/* Winner Display */
.pg8a-winner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--pg8a-bg-light);
    padding: 12px 16px;
    border-radius: var(--pg8a-radius);
    margin-bottom: 10px;
}

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

.pg8a-winner-info {
    flex: 1;
}

.pg8a-winner-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pg8a-text-light);
}

.pg8a-winner-game {
    font-size: 1.2rem;
    color: var(--pg8a-text-muted);
}

.pg8a-winner-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pg8a-accent);
}

/* Payment Methods */
.pg8a-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.pg8a-payment-item {
    background: var(--pg8a-bg-light);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.3rem;
    color: var(--pg8a-text);
    border: 1px solid var(--pg8a-border);
}

/* Footer */
.pg8a-footer {
    background: var(--pg8a-bg-dark);
    padding: 40px 16px 100px;
    margin-top: 40px;
    border-top: 1px solid var(--pg8a-border);
}

.pg8a-footer-brand {
    text-align: center;
    margin-bottom: 24px;
}

.pg8a-footer-desc {
    font-size: 1.4rem;
    color: var(--pg8a-text-muted);
    max-width: 300px;
    margin: 0 auto;
}

.pg8a-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.pg8a-footer-links a {
    color: var(--pg8a-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--pg8a-transition);
}

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

.pg8a-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--pg8a-text-muted);
}

/* Bottom Navigation */
.pg8a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--pg8a-bg) 0%, var(--pg8a-bg-dark) 100%);
    border-top: 1px solid var(--pg8a-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 8px;
}

.pg8a-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--pg8a-text-muted);
    cursor: pointer;
    transition: var(--pg8a-transition);
    text-decoration: none;
}

.pg8a-nav-btn:hover,
.pg8a-nav-btn-active {
    color: var(--pg8a-primary);
}

.pg8a-nav-btn .material-icons,
.pg8a-nav-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.pg8a-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Pulse Animation */
@keyframes pg8a-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pg8a-pulse {
    animation: pg8a-pulse 2s infinite;
}

/* Main content padding for mobile */
main {
    padding-bottom: 80px;
}

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

    main {
        padding-bottom: 0;
    }

    .pg8a-hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .pg8a-header-actions {
        gap: 8px;
    }

    .pg8a-btn {
        padding: 8px 14px;
        font-size: 1.2rem;
    }

    .pg8a-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .pg8a-game-name {
        font-size: 1rem;
        padding: 6px 4px;
    }
}

/* Content Modules */
.pg8a-content-block {
    background: var(--pg8a-bg-light);
    border-radius: var(--pg8a-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.pg8a-content-block h3 {
    font-size: 1.8rem;
    color: var(--pg8a-primary);
    margin-bottom: 12px;
}

.pg8a-content-block p {
    font-size: 1.4rem;
    color: var(--pg8a-text);
    margin-bottom: 12px;
}

.pg8a-content-block ul {
    list-style: none;
    padding-left: 0;
}

.pg8a-content-block li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 1.4rem;
    color: var(--pg8a-text);
}

.pg8a-content-block li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--pg8a-primary);
    font-weight: 700;
}

/* CTA Section */
.pg8a-cta-section {
    background: linear-gradient(135deg, var(--pg8a-bg-light) 0%, var(--pg8a-bg-dark) 100%);
    border-radius: var(--pg8a-radius);
    padding: 32px 20px;
    text-align: center;
    border: 2px solid var(--pg8a-primary);
}

.pg8a-cta-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--pg8a-text-light);
    margin-bottom: 12px;
}

.pg8a-cta-desc {
    font-size: 1.5rem;
    color: var(--pg8a-text-muted);
    margin-bottom: 20px;
}
