/**
 * ph222 ph - Main Stylesheet
 * Prefix: w5bd4-
 * Website: ph222ph.sbs
 * Color Palette: #ECF0F1 | #333333 | #D3D3D3 | #B0E0E6
 */

/* CSS Variables */
:root {
    --w5bd4-primary: #B0E0E6;
    --w5bd4-secondary: #ECF0F1;
    --w5bd4-bg: #333333;
    --w5bd4-bg-light: #3d3d3d;
    --w5bd4-text: #ECF0F1;
    --w5bd4-text-dark: #333333;
    --w5bd4-accent: #B0E0E6;
    --w5bd4-accent-hover: #9dd3db;
    --w5bd4-border: #D3D3D3;
    --w5bd4-success: #2ecc71;
    --w5bd4-warning: #f39c12;
    --w5bd4-gradient: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    --w5bd4-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --w5bd4-radius: 8px;
    --w5bd4-transition: all 0.3s ease;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--w5bd4-text);
    background-color: var(--w5bd4-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--w5bd4-accent);
    text-decoration: none;
    transition: var(--w5bd4-transition);
}

a:hover {
    color: var(--w5bd4-accent-hover);
}

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

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

.w5bd4-wrapper {
    padding: 2rem 0;
}

/* Header */
.w5bd4-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--w5bd4-gradient);
    padding: 1rem 0;
    box-shadow: var(--w5bd4-shadow);
    transition: var(--w5bd4-transition);
}

.w5bd4-header.w5bd4-scrolled {
    background: rgba(51, 51, 51, 0.98);
}

.w5bd4-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

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

.w5bd4-logo img {
    width: 32px;
    height: 32px;
}

.w5bd4-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--w5bd4-text);
}

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

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

.w5bd4-btn-primary {
    background: var(--w5bd4-accent);
    color: var(--w5bd4-text-dark);
}

.w5bd4-btn-primary:hover {
    background: var(--w5bd4-accent-hover);
    transform: translateY(-2px);
}

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

.w5bd4-btn-outline:hover {
    background: var(--w5bd4-accent);
    color: var(--w5bd4-text-dark);
}

/* Hamburger Menu */
.w5bd4-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
}

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

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

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

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

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

.w5bd4-mobile-menu.w5bd4-active {
    right: 0;
}

.w5bd4-mobile-menu a {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.6rem;
    color: var(--w5bd4-text);
    border-bottom: 1px solid var(--w5bd4-border);
}

.w5bd4-mobile-menu a:hover {
    color: var(--w5bd4-accent);
}

.w5bd4-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--w5bd4-transition);
}

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

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

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

/* Hero Carousel */
.w5bd4-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.w5bd4-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.w5bd4-slide.w5bd4-active {
    opacity: 1;
    position: relative;
}

.w5bd4-slide img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.w5bd4-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
}

.w5bd4-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--w5bd4-border);
    cursor: pointer;
    transition: var(--w5bd4-transition);
}

.w5bd4-dot.w5bd4-active {
    background: var(--w5bd4-accent);
    transform: scale(1.2);
}

/* Section Styles */
.w5bd4-section {
    padding: 2rem 0;
}

.w5bd4-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--w5bd4-text);
    text-align: center;
}

.w5bd4-section-subtitle {
    font-size: 1.6rem;
    color: var(--w5bd4-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

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

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

.w5bd4-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--w5bd4-shadow);
}

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

.w5bd4-game-name {
    padding: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--w5bd4-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.w5bd4-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--w5bd4-accent);
    color: var(--w5bd4-text);
}

/* Info Cards */
.w5bd4-info-card {
    background: var(--w5bd4-bg-light);
    border-radius: var(--w5bd4-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.w5bd4-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--w5bd4-accent);
}

.w5bd4-info-card p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--w5bd4-secondary);
}

/* Features List */
.w5bd4-features {
    display: grid;
    gap: 1rem;
}

.w5bd4-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--w5bd4-bg-light);
    border-radius: var(--w5bd4-radius);
}

.w5bd4-feature-icon {
    font-size: 2.4rem;
    color: var(--w5bd4-accent);
    flex-shrink: 0;
}

.w5bd4-feature-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--w5bd4-text);
}

.w5bd4-feature-content p {
    font-size: 1.2rem;
    color: var(--w5bd4-secondary);
}

/* Testimonials */
.w5bd4-testimonials {
    display: grid;
    gap: 1rem;
}

.w5bd4-testimonial {
    background: var(--w5bd4-bg-light);
    border-radius: var(--w5bd4-radius);
    padding: 1.5rem;
}

.w5bd4-testimonial-text {
    font-size: 1.4rem;
    color: var(--w5bd4-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

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

/* Payment Methods */
.w5bd4-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.w5bd4-payment-item {
    background: var(--w5bd4-bg-light);
    border-radius: var(--w5bd4-radius);
    padding: 1rem;
    text-align: center;
}

.w5bd4-payment-item i {
    font-size: 2.4rem;
    color: var(--w5bd4-accent);
    margin-bottom: 0.5rem;
}

.w5bd4-payment-item span {
    display: block;
    font-size: 1.2rem;
    color: var(--w5bd4-secondary);
}

/* CTA Section */
.w5bd4-cta {
    background: var(--w5bd4-gradient);
    border-radius: var(--w5bd4-radius);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.w5bd4-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--w5bd4-accent);
}

.w5bd4-cta p {
    font-size: 1.4rem;
    color: var(--w5bd4-secondary);
    margin-bottom: 1.5rem;
}

.w5bd4-cta .w5bd4-btn {
    font-size: 1.6rem;
    padding: 1rem 2.5rem;
}

/* Footer */
.w5bd4-footer {
    background: var(--w5bd4-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--w5bd4-border);
}

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

.w5bd4-footer-brand p {
    font-size: 1.3rem;
    color: var(--w5bd4-secondary);
    line-height: 1.6;
}

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

.w5bd4-footer-links a {
    padding: 0.6rem 1.2rem;
    background: var(--w5bd4-bg-light);
    border-radius: var(--w5bd4-radius);
    font-size: 1.2rem;
    color: var(--w5bd4-text);
}

.w5bd4-footer-links a:hover {
    background: var(--w5bd4-accent);
    color: var(--w5bd4-text-dark);
}

.w5bd4-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--w5bd4-border);
}

/* Bottom Navigation */
.w5bd4-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--w5bd4-gradient);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

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

.w5bd4-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--w5bd4-transition);
    color: var(--w5bd4-secondary);
}

.w5bd4-nav-item:hover,
.w5bd4-nav-item.w5bd4-active {
    color: var(--w5bd4-accent);
    transform: scale(1.1);
}

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

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

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

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

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

.w5bd4-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .w5bd4-hidden-mobile {
        display: block;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .w5bd4-hamburger {
        display: none;
    }

    .w5bd4-desktop-nav {
        display: flex;
        gap: 2rem;
    }

    .w5bd4-desktop-nav a {
        color: var(--w5bd4-text);
        font-size: 1.4rem;
        transition: var(--w5bd4-transition);
    }

    .w5bd4-desktop-nav a:hover {
        color: var(--w5bd4-accent);
    }
}

/* Winners Showcase */
.w5bd4-winners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.w5bd4-winner-card {
    background: var(--w5bd4-bg-light);
    border-radius: var(--w5bd4-radius);
    padding: 1rem;
    text-align: center;
}

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

.w5bd4-winner-game {
    font-size: 1.2rem;
    color: var(--w5bd4-secondary);
}

/* RTP Section */
.w5bd4-rtp-grid {
    display: grid;
    gap: 0.8rem;
}

.w5bd4-rtp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--w5bd4-bg-light);
    border-radius: var(--w5bd4-radius);
}

.w5bd4-rtp-game {
    font-size: 1.3rem;
    color: var(--w5bd4-text);
}

.w5bd4-rtp-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--w5bd4-accent);
}

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

.w5bd4-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--w5bd4-text);
    cursor: pointer;
}

.w5bd4-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.3rem;
    color: var(--w5bd4-secondary);
    line-height: 1.6;
}

/* Promo Banner */
.w5bd4-promo-banner {
    background: linear-gradient(135deg, var(--w5bd4-accent) 0%, #7abfc9 100%);
    border-radius: var(--w5bd4-radius);
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.w5bd4-promo-banner h4 {
    font-size: 1.6rem;
    color: var(--w5bd4-text-dark);
    margin-bottom: 0.5rem;
}

.w5bd4-promo-banner p {
    font-size: 1.3rem;
    color: var(--w5bd4-text-dark);
}

/* Promo Links in Content */
.w5bd4-promo-link {
    color: var(--w5bd4-accent);
    font-weight: 600;
    cursor: pointer;
}

.w5bd4-promo-link:hover {
    text-decoration: underline;
}
