/**
 * PHParadise Theme Stylesheet
 * Mobile-first responsive design
 * Prefix: v79b-
 */

/* CSS Variables */
:root {
    --v79b-primary: #6F4E37;
    --v79b-secondary: #8B6914;
    --v79b-accent: #D4AF37;
    --v79b-bg: #273746;
    --v79b-bg-light: #2C3E50;
    --v79b-bg-card: #34495E;
    --v79b-text: #EEEEEE;
    --v79b-text-muted: #BDC3C7;
    --v79b-success: #27AE60;
    --v79b-warning: #F39C12;
    --v79b-danger: #E74C3C;
    --v79b-border: #4A5568;
    --v79b-shadow: rgba(0, 0, 0, 0.3);
    --v79b-radius: 8px;
    --v79b-radius-lg: 16px;
    --v79b-transition: 0.3s ease;
}

/* Base Styles */
html {
    font-size: 62.5%;
}

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

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

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

a:hover {
    color: var(--v79b-text);
}

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

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

.v79b-wrapper {
    padding: 16px 0;
}

/* Header */
.v79b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--v79b-bg) 0%, var(--v79b-bg-light) 100%);
    border-bottom: 1px solid var(--v79b-border);
    z-index: 1000;
    transition: var(--v79b-transition);
}

.v79b-header-scrolled {
    box-shadow: 0 4px 20px var(--v79b-shadow);
}

.v79b-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    max-width: 430px;
    margin: 0 auto;
}

.v79b-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v79b-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v79b-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v79b-accent);
    letter-spacing: 0.5px;
}

.v79b-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v79b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--v79b-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--v79b-transition);
    border: none;
    min-height: 36px;
}

.v79b-btn-primary {
    background: linear-gradient(135deg, var(--v79b-primary) 0%, var(--v79b-secondary) 100%);
    color: var(--v79b-text);
}

.v79b-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.4);
}

.v79b-btn-accent {
    background: linear-gradient(135deg, var(--v79b-accent) 0%, #C9A227 100%);
    color: var(--v79b-bg);
}

.v79b-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

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

.v79b-btn-outline:hover {
    background: var(--v79b-accent);
    color: var(--v79b-bg);
}

.v79b-menu-toggle {
    background: transparent;
    border: none;
    color: var(--v79b-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 4px;
}

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

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

.v79b-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(--v79b-transition);
}

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

.v79b-menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--v79b-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.v79b-menu-list {
    list-style: none;
    padding: 0;
}

.v79b-menu-item {
    border-bottom: 1px solid var(--v79b-border);
}

.v79b-menu-link {
    display: block;
    padding: 14px 20px;
    color: var(--v79b-text);
    font-size: 1.4rem;
    transition: var(--v79b-transition);
}

.v79b-menu-link:hover {
    background: var(--v79b-bg-card);
    color: var(--v79b-accent);
    padding-left: 28px;
}

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

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

/* Carousel/Slider */
.v79b-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--v79b-radius-lg);
    margin: 16px 0;
}

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

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

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

.v79b-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--v79b-radius-lg);
    cursor: pointer;
}

.v79b-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(39, 55, 70, 0.9));
}

/* Sections */
.v79b-section {
    padding: 20px 0;
}

.v79b-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v79b-accent);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--v79b-primary);
}

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

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

.v79b-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--v79b-shadow);
}

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

.v79b-game-name {
    padding: 6px;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--v79b-text-muted);
}

/* Category Section */
.v79b-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.v79b-category-icon {
    width: 24px;
    height: 24px;
    color: var(--v79b-accent);
}

.v79b-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--v79b-text);
}

/* Cards */
.v79b-card {
    background: var(--v79b-bg-card);
    border-radius: var(--v79b-radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

.v79b-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--v79b-accent);
    margin-bottom: 12px;
}

.v79b-card-text {
    font-size: 1.3rem;
    color: var(--v79b-text-muted);
    line-height: 1.6;
}

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

.v79b-feature-item {
    background: var(--v79b-bg-light);
    padding: 14px;
    border-radius: var(--v79b-radius);
    text-align: center;
}

.v79b-feature-icon {
    font-size: 2.4rem;
    color: var(--v79b-accent);
    margin-bottom: 8px;
}

.v79b-feature-text {
    font-size: 1.2rem;
    color: var(--v79b-text);
}

/* Stats */
.v79b-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.v79b-stat-item {
    text-align: center;
    padding: 12px;
    background: var(--v79b-bg-light);
    border-radius: var(--v79b-radius);
}

.v79b-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v79b-accent);
}

.v79b-stat-label {
    font-size: 1.1rem;
    color: var(--v79b-text-muted);
}

/* Testimonials */
.v79b-testimonials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v79b-testimonial {
    background: var(--v79b-bg-light);
    padding: 14px;
    border-radius: var(--v79b-radius);
    border-left: 3px solid var(--v79b-accent);
}

.v79b-testimonial-text {
    font-size: 1.2rem;
    color: var(--v79b-text);
    margin-bottom: 8px;
    font-style: italic;
}

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

/* Payment Methods */
.v79b-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.v79b-payment-item {
    background: var(--v79b-bg-light);
    padding: 10px 16px;
    border-radius: var(--v79b-radius);
    font-size: 1.2rem;
    color: var(--v79b-text);
}

/* Footer */
.v79b-footer {
    background: var(--v79b-bg-light);
    padding: 24px 12px;
    margin-top: 20px;
    border-top: 1px solid var(--v79b-border);
}

.v79b-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.v79b-footer-desc {
    font-size: 1.2rem;
    color: var(--v79b-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.v79b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.v79b-footer-link {
    background: var(--v79b-bg-card);
    padding: 8px 14px;
    border-radius: var(--v79b-radius);
    font-size: 1.1rem;
    color: var(--v79b-text);
    transition: var(--v79b-transition);
}

.v79b-footer-link:hover {
    background: var(--v79b-primary);
    color: var(--v79b-text);
}

.v79b-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--v79b-border);
}

.v79b-footer-nav a {
    font-size: 1.1rem;
    color: var(--v79b-text-muted);
}

.v79b-footer-nav a:hover {
    color: var(--v79b-accent);
}

.v79b-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v79b-text-muted);
    margin-top: 16px;
}

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

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

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

.v79b-nav-btn:hover,
.v79b-nav-btn-active {
    color: var(--v79b-accent);
}

.v79b-nav-btn:active {
    transform: scale(0.95);
}

.v79b-nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.v79b-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Promotional CTA */
.v79b-cta {
    background: linear-gradient(135deg, var(--v79b-primary) 0%, var(--v79b-secondary) 100%);
    padding: 20px;
    border-radius: var(--v79b-radius-lg);
    text-align: center;
    margin: 16px 0;
}

.v79b-cta-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v79b-text);
    margin-bottom: 8px;
}

.v79b-cta-text {
    font-size: 1.3rem;
    color: var(--v79b-text-muted);
    margin-bottom: 14px;
}

/* Winners Section */
.v79b-winners {
    background: var(--v79b-bg-card);
    border-radius: var(--v79b-radius-lg);
    padding: 16px;
}

.v79b-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--v79b-border);
}

.v79b-winner-item:last-child {
    border-bottom: none;
}

.v79b-winner-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v79b-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--v79b-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v79b-text);
    font-weight: 600;
    font-size: 1.2rem;
}

.v79b-winner-name {
    font-size: 1.2rem;
    color: var(--v79b-text);
}

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

/* FAQ Accordion */
.v79b-faq-item {
    background: var(--v79b-bg-card);
    border-radius: var(--v79b-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

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

.v79b-faq-answer {
    padding: 0 14px 14px;
    font-size: 1.2rem;
    color: var(--v79b-text-muted);
    line-height: 1.6;
}

/* App Download */
.v79b-app-download {
    background: linear-gradient(135deg, var(--v79b-bg-card) 0%, var(--v79b-bg-light) 100%);
    padding: 20px;
    border-radius: var(--v79b-radius-lg);
    text-align: center;
}

.v79b-app-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v79b-accent);
    margin-bottom: 12px;
}

.v79b-app-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Utilities */
.v79b-text-center {
    text-align: center;
}

.v79b-text-accent {
    color: var(--v79b-accent);
}

.v79b-mb-16 {
    margin-bottom: 16px;
}

.v79b-mt-16 {
    margin-top: 16px;
}

/* Promotional Links */
.v79b-promo-link {
    color: var(--v79b-accent);
    font-weight: 600;
    cursor: pointer;
    transition: var(--v79b-transition);
}

.v79b-promo-link:hover {
    color: var(--v79b-text);
    text-decoration: underline;
}

/* H1 Styling */
.v79b-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v79b-text);
    text-align: center;
    margin: 20px 0;
    line-height: 1.3;
}

/* List Styles */
.v79b-list {
    list-style: none;
    padding: 0;
}

.v79b-list-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--v79b-border);
    font-size: 1.3rem;
    color: var(--v79b-text);
}

.v79b-list-item:last-child {
    border-bottom: none;
}

/* Badge */
.v79b-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--v79b-primary);
    color: var(--v79b-text);
    font-size: 1rem;
    border-radius: 12px;
    font-weight: 600;
}

/* Partners */
.v79b-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
}

.v79b-partner-logo {
    height: 24px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--v79b-transition);
}

.v79b-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}
