/**
 * PH25 Main Stylesheet
 * Class prefix: v82e-
 * Website: ph25.sbs
 * Version: 1.0.0
 */

/* CSS Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --v82e-primary: #00FF00;
    --v82e-secondary: #F0FDFF;
    --v82e-bg: #2C2C2C;
    --v82e-bg-dark: #1a1a1a;
    --v82e-text: #F0FDFF;
    --v82e-text-muted: #a0a0a0;
    --v82e-accent: #00FF00;
    --v82e-border: #3a3a3a;
    --v82e-card-bg: #333333;
    --v82e-gradient: linear-gradient(135deg, #00FF00 0%, #00cc00 100%);
    font-size: 62.5%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--v82e-text);
    background-color: var(--v82e-bg);
    min-height: 100vh;
}

a {
    color: var(--v82e-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #33ff33;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.v82e-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.v82e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--v82e-bg-dark);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--v82e-border);
    transition: all 0.3s ease;
}

.v82e-header-scrolled {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 10px rgba(0, 255, 0, 0.1);
}

.v82e-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v82e-logo img {
    width: 32px;
    height: 32px;
}

.v82e-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v82e-primary);
}

.v82e-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v82e-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.v82e-btn-primary {
    background: var(--v82e-gradient);
    color: var(--v82e-bg-dark);
}

.v82e-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.4);
}

.v82e-btn-outline {
    background: transparent;
    color: var(--v82e-primary);
    border: 2px solid var(--v82e-primary);
}

.v82e-btn-outline:hover {
    background: var(--v82e-primary);
    color: var(--v82e-bg-dark);
}

.v82e-menu-btn {
    background: transparent;
    border: none;
    color: var(--v82e-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.v82e-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v82e-bg-dark);
    z-index: 9999;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.v82e-menu-active {
    right: 0;
}

.v82e-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;
}

.v82e-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v82e-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--v82e-border);
}

.v82e-menu-close {
    background: none;
    border: none;
    color: var(--v82e-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.v82e-menu-nav {
    list-style: none;
}

.v82e-menu-nav li {
    margin-bottom: 0.5rem;
}

.v82e-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--v82e-text);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.v82e-menu-nav a:hover {
    background: var(--v82e-card-bg);
    color: var(--v82e-primary);
}

/* Main Content */
.v82e-main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    .v82e-main {
        padding-bottom: 80px;
    }
}

/* Slider */
.v82e-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.v82e-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.v82e-slide-active {
    opacity: 1;
}

.v82e-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section */
.v82e-section {
    padding: 2rem 1.5rem;
}

.v82e-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v82e-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Game Grid */
.v82e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.v82e-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v82e-game-item:hover {
    transform: scale(1.05);
}

.v82e-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--v82e-border);
    transition: border-color 0.3s ease;
}

.v82e-game-item:hover .v82e-game-img {
    border-color: var(--v82e-primary);
}

.v82e-game-name {
    font-size: 1.1rem;
    color: var(--v82e-text);
    margin-top: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.v82e-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--v82e-primary);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--v82e-primary);
}

/* Cards */
.v82e-card {
    background: var(--v82e-card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--v82e-border);
}

.v82e-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--v82e-primary);
    margin-bottom: 1rem;
}

.v82e-card-text {
    font-size: 1.4rem;
    color: var(--v82e-text-muted);
    line-height: 1.6;
}

/* Promo Link */
.v82e-promo-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--v82e-gradient);
    color: var(--v82e-bg-dark);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v82e-promo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

/* Footer */
.v82e-footer {
    background: var(--v82e-bg-dark);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--v82e-border);
}

.v82e-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v82e-footer-links a {
    color: var(--v82e-text-muted);
    font-size: 1.3rem;
}

.v82e-footer-links a:hover {
    color: var(--v82e-primary);
}

.v82e-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.v82e-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.v82e-partners img:hover {
    opacity: 1;
}

.v82e-copyright {
    text-align: center;
    color: var(--v82e-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.v82e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--v82e-bg-dark);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--v82e-border);
    z-index: 1000;
}

@media (min-width: 769px) {
    .v82e-bottom-nav {
        display: none;
    }
}

.v82e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--v82e-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.v82e-nav-item:hover,
.v82e-nav-item.active {
    color: var(--v82e-primary);
}

.v82e-nav-item i,
.v82e-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.v82e-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

/* Utilities */
.v82e-text-center {
    text-align: center;
}

.v82e-mt-2 {
    margin-top: 2rem;
}

.v82e-mb-2 {
    margin-bottom: 2rem;
}

.v82e-hidden {
    display: none;
}

/* FAQ Section */
.v82e-faq-item {
    background: var(--v82e-card-bg);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.v82e-faq-question {
    padding: 1.2rem;
    font-weight: 600;
    color: var(--v82e-primary);
    cursor: pointer;
}

.v82e-faq-answer {
    padding: 1rem 1.2rem;
    color: var(--v82e-text-muted);
    font-size: 1.4rem;
    border-top: 1px solid var(--v82e-border);
}

/* Features Grid */
.v82e-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v82e-feature-item {
    background: var(--v82e-card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--v82e-border);
}

.v82e-feature-icon {
    font-size: 3rem;
    color: var(--v82e-primary);
    margin-bottom: 1rem;
}

.v82e-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v82e-text);
    margin-bottom: 0.5rem;
}

.v82e-feature-desc {
    font-size: 1.2rem;
    color: var(--v82e-text-muted);
}

/* RTP Table */
.v82e-rtp-table {
    width: 100%;
    border-collapse: collapse;
}

.v82e-rtp-table th,
.v82e-rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--v82e-border);
}

.v82e-rtp-table th {
    color: var(--v82e-primary);
    font-weight: 600;
}

.v82e-rtp-table td {
    color: var(--v82e-text);
    font-size: 1.3rem;
}

/* List Style */
.v82e-list {
    list-style: none;
    padding: 0;
}

.v82e-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--v82e-text-muted);
}

.v82e-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--v82e-primary);
    border-radius: 50%;
}

/* CTA Section */
.v82e-cta {
    background: var(--v82e-gradient);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 2rem 1.5rem;
}

.v82e-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v82e-bg-dark);
    margin-bottom: 1rem;
}

.v82e-cta-text {
    color: var(--v82e-bg-dark);
    margin-bottom: 1.5rem;
}

.v82e-cta .v82e-btn {
    background: var(--v82e-bg-dark);
    color: var(--v82e-primary);
}

/* Responsive */
@media (max-width: 430px) {
    .v82e-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
