/**
 * phkkk app Layout Stylesheet
 * Website: phkkkapp.click
 * Prefix: s943-
 * Color Scheme: #2C3E50, #D3D3D3, #ECF0F1, #F8F9FA
 */

/* CSS Variables */
:root {
    --s943-primary: #2C3E50;
    --s943-secondary: #D3D3D3;
    --s943-light: #ECF0F1;
    --s943-white: #F8F9FA;
    --s943-accent: #3498DB;
    --s943-gold: #F39C12;
    --s943-success: #27AE60;
    --s943-danger: #E74C3C;
    --s943-text-dark: #2C3E50;
    --s943-text-light: #ECF0F1;
    --s943-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    --s943-radius: 8px;
    --s943-transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--s943-transition);
}

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

/* Header Styles */
.s943-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--s943-primary) 0%, #1a252f 100%);
    padding: 12px 16px;
    transition: var(--s943-transition);
    border-bottom: 1px solid rgba(211, 211, 211, 0.1);
}

.s943-header-scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: var(--s943-shadow);
}

.s943-header-container {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s943-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.s943-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.s943-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--s943-white);
}

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

.s943-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--s943-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--s943-transition);
    min-height: 44px;
}

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

.s943-btn-login:hover {
    background: var(--s943-accent);
    color: var(--s943-white);
}

.s943-btn-register {
    background: linear-gradient(135deg, var(--s943-gold) 0%, #e67e22 100%);
    color: var(--s943-text-dark);
}

.s943-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

/* Mobile Menu */
.s943-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s943-primary);
    z-index: 9999;
    transition: var(--s943-transition);
    overflow-y: auto;
    padding: 20px;
}

.s943-mobile-menu.site342-active {
    left: 0;
}

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

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

.s943-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--s943-danger);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.s943-menu-links {
    margin-top: 60px;
    list-style: none;
}

.s943-menu-links li {
    margin-bottom: 10px;
}

.s943-menu-links a {
    display: block;
    padding: 14px 16px;
    color: var(--s943-text-light);
    background: rgba(211, 211, 211, 0.1);
    border-radius: var(--s943-radius);
    font-size: 15px;
}

.s943-menu-links a:hover {
    background: var(--s943-accent);
    color: var(--s943-white);
}

/* Menu Toggle Button */
.s943-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.s943-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--s943-white);
    transition: var(--s943-transition);
}

@media (max-width: 768px) {
    .s943-menu-toggle {
        display: flex;
    }

    .s943-header-actions .s943-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

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

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

/* Carousel/Slider */
.s943-carousel {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
}

.s943-slides-container {
    position: relative;
    height: 200px;
}

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

.s943-slide.site342-active {
    opacity: 1;
}

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

.s943-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

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

.s943-slide-indicator.site342-active {
    background: var(--s943-gold);
    transform: scale(1.2);
}

/* Section Styles */
.s943-section {
    padding: 24px 16px;
    max-width: 430px;
    margin: 0 auto;
}

.s943-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--s943-white);
    margin-bottom: 16px;
    text-align: center;
    position: relative;
}

.s943-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--s943-gold);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Game Tabs */
.s943-game-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.s943-game-tab {
    padding: 10px 18px;
    background: rgba(211, 211, 211, 0.15);
    border: none;
    border-radius: 20px;
    color: var(--s943-text-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--s943-transition);
}

.s943-game-tab.site342-active {
    background: var(--s943-accent);
    color: var(--s943-white);
}

.s943-game-tab:hover {
    background: rgba(52, 152, 219, 0.6);
}

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

.s943-game-item {
    background: rgba(211, 211, 211, 0.1);
    border-radius: var(--s943-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--s943-transition);
}

.s943-game-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--s943-shadow);
}

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

.s943-game-name {
    padding: 8px 6px;
    font-size: 11px;
    text-align: center;
    color: var(--s943-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Game Content Sections */
.s943-game-content {
    display: none;
}

.s943-game-content.site342-active {
    display: block;
}

/* Info Cards */
.s943-info-card {
    background: linear-gradient(135deg, rgba(211, 211, 211, 0.1) 0%, rgba(44, 62, 80, 0.5) 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(211, 211, 211, 0.15);
}

.s943-info-card h3 {
    color: var(--s943-gold);
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.s943-info-card p {
    color: var(--s943-text-light);
    font-size: 14px;
    line-height: 1.7;
}

.s943-info-card ul {
    list-style: none;
    padding-left: 0;
}

.s943-info-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--s943-text-light);
}

.s943-info-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--s943-success);
}

/* FAQ Section */
.s943-faq-item {
    background: rgba(211, 211, 211, 0.1);
    border-radius: var(--s943-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.s943-faq-question {
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--s943-white);
    font-size: 14px;
}

.s943-faq-question i {
    transition: var(--s943-transition);
}

.s943-faq-item.site342-open .s943-faq-question i {
    transform: rotate(180deg);
}

.s943-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.s943-faq-answer p {
    padding-bottom: 16px;
    color: var(--s943-text-light);
    font-size: 14px;
    line-height: 1.6;
}

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

.s943-feature-item {
    background: rgba(211, 211, 211, 0.1);
    border-radius: var(--s943-radius);
    padding: 16px;
    text-align: center;
    transition: var(--s943-transition);
}

.s943-feature-item:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.s943-feature-icon {
    font-size: 32px;
    color: var(--s943-gold);
    margin-bottom: 10px;
}

.s943-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--s943-white);
    margin-bottom: 6px;
}

.s943-feature-desc {
    font-size: 12px;
    color: var(--s943-text-light);
    opacity: 0.8;
}

/* Promo Banner */
.s943-promo-banner {
    background: linear-gradient(135deg, var(--s943-gold) 0%, #e67e22 100%);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    margin: 20px 0;
    cursor: pointer;
    transition: var(--s943-transition);
}

.s943-promo-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.s943-promo-banner h3 {
    color: var(--s943-text-dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.s943-promo-banner p {
    color: var(--s943-text-dark);
    font-size: 14px;
    margin-bottom: 16px;
}

.s943-promo-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--s943-text-dark);
    color: var(--s943-gold);
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
}

/* Footer */
.s943-footer {
    background: linear-gradient(135deg, #1a252f 0%, var(--s943-primary) 100%);
    padding: 30px 16px 20px;
    border-top: 1px solid rgba(211, 211, 211, 0.1);
}

.s943-footer-container {
    max-width: 430px;
    margin: 0 auto;
}

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

.s943-footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.s943-footer-brand h4 {
    color: var(--s943-white);
    font-size: 18px;
    margin-bottom: 8px;
}

.s943-footer-brand p {
    color: var(--s943-secondary);
    font-size: 13px;
    line-height: 1.6;
}

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

.s943-footer-links a {
    color: var(--s943-text-light);
    font-size: 13px;
    padding: 6px 12px;
    background: rgba(211, 211, 211, 0.1);
    border-radius: 15px;
}

.s943-footer-links a:hover {
    background: var(--s943-accent);
    color: var(--s943-white);
}

.s943-footer-partners {
    text-align: center;
    margin-bottom: 20px;
}

.s943-footer-partners h5 {
    color: var(--s943-secondary);
    font-size: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.s943-partner-logos {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.s943-partner-logos img {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--s943-transition);
}

.s943-partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.s943-footer-copyright {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(211, 211, 211, 0.1);
}

.s943-footer-copyright p {
    color: var(--s943-secondary);
    font-size: 12px;
}

/* Bottom Navigation */
.s943-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(135deg, var(--s943-primary) 0%, #1a252f 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(211, 211, 211, 0.15);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.s943-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--s943-transition);
    border-radius: 12px;
    padding: 6px;
}

.s943-nav-item:hover {
    background: rgba(52, 152, 219, 0.2);
}

.s943-nav-item.active {
    background: rgba(243, 156, 18, 0.2);
}

.s943-nav-item i {
    font-size: 22px;
    color: var(--s943-text-light);
    margin-bottom: 4px;
    transition: var(--s943-transition);
}

.s943-nav-item:hover i,
.s943-nav-item.active i {
    color: var(--s943-gold);
}

.s943-nav-item span {
    font-size: 11px;
    color: var(--s943-text-light);
    font-weight: 500;
}

.s943-nav-item.active span {
    color: var(--s943-gold);
}

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

/* Scroll to Top Button */
.s943-scroll-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--s943-accent);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--s943-transition);
    z-index: 999;
    box-shadow: var(--s943-shadow);
}

.s943-scroll-top.site342-visible {
    opacity: 1;
    visibility: visible;
}

.s943-scroll-top:hover {
    background: var(--s943-gold);
    transform: translateY(-4px);
}

/* Utility Classes */
.s943-text-center { text-align: center; }
.s943-text-gold { color: var(--s943-gold); }
.s943-mb-16 { margin-bottom: 16px; }
.s943-mt-16 { margin-top: 16px; }
.s943-hidden { display: none; }

/* Responsive */
@media (max-width: 430px) {
    .s943-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .s943-game-name {
        font-size: 10px;
    }
}
