/**
 * ArioPlay Gaming Platform CSS Styles
 * All classes use pg36- prefix for namespace isolation
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --pg36-primary: #FF7F50;
    --pg36-secondary: #F08080;
    --pg36-bg-dark: #0A0A0A;
    --pg36-accent: #BF360C;
    --pg36-text-light: #CD5C5C;
    --pg36-white: #FFFFFF;
    --pg36-gray: #B0B0B0;
    --pg36-gradient: linear-gradient(135deg, #FF7F50 0%, #BF360C 100%);
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--pg36-bg-dark);
    color: var(--pg36-white);
    line-height: 1.5rem;
    overflow-x: hidden;
}

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

.pg36-wrapper {
    width: 100%;
    padding: 1rem;
}

/* Header Styles */
.pg36-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 127, 80, 0.3);
}

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

.pg36-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.pg36-logo img {
    width: 28px;
    height: 28px;
}

.pg36-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--pg36-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg36-header-btns {
    display: flex;
    gap: 0.8rem;
}

.pg36-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pg36-btn-primary {
    background: var(--pg36-gradient);
    color: var(--pg36-white);
}

.pg36-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4);
}

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

.pg36-btn-outline:hover {
    background: var(--pg36-primary);
    color: var(--pg36-white);
}

/* Mobile Menu */
.pg36-menu-toggle {
    background: none;
    border: none;
    color: var(--pg36-white);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

.pg36-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pg36-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

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

.pg36-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;
}

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

.pg36-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--pg36-white);
    font-size: 2.4rem;
    cursor: pointer;
}

.pg36-menu-links {
    margin-top: 4rem;
    list-style: none;
    padding: 0;
}

.pg36-menu-links li {
    margin-bottom: 1.5rem;
}

.pg36-menu-links a {
    color: var(--pg36-white);
    text-decoration: none;
    font-size: 1.6rem;
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 127, 80, 0.2);
    transition: color 0.3s ease;
}

.pg36-menu-links a:hover {
    color: var(--pg36-primary);
}

/* Main Content */
main {
    padding-top: 6rem;
}

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

/* Carousel Styles */
.pg36-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 1rem;
    margin: 1rem 0;
}

.pg36-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

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

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

.pg36-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pg36-game-item:hover {
    transform: scale(1.05);
}

.pg36-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.pg36-game-item:hover .pg36-game-img {
    border-color: var(--pg36-primary);
}

.pg36-game-name {
    font-size: 1rem;
    color: var(--pg36-white);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Section Styles */
.pg36-section {
    padding: 2rem 1rem;
    background: linear-gradient(180deg, rgba(255, 127, 80, 0.05) 0%, transparent 100%);
    margin: 1rem 0;
    border-radius: 1rem;
}

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

.pg36-section-subtitle {
    font-size: 1.4rem;
    color: var(--pg36-gray);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Category Label */
.pg36-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--pg36-gradient);
    border-radius: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1rem 0;
}

/* Card Styles */
.pg36-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 127, 80, 0.2);
    transition: all 0.3s ease;
}

.pg36-card:hover {
    border-color: var(--pg36-primary);
    box-shadow: 0 4px 20px rgba(255, 127, 80, 0.2);
}

/* Promo Link Styles */
.pg36-promo-link {
    color: var(--pg36-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.pg36-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--pg36-gradient);
    color: var(--pg36-white);
    border-radius: 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.pg36-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 127, 80, 0.5);
}

/* Footer Styles */
.pg36-footer {
    background: linear-gradient(180deg, var(--pg36-bg-dark) 0%, rgba(191, 54, 12, 0.1) 100%);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 127, 80, 0.3);
}

.pg36-footer-desc {
    font-size: 1.2rem;
    color: var(--pg36-gray);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.pg36-footer-link {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 127, 80, 0.1);
    border: 1px solid rgba(255, 127, 80, 0.3);
    border-radius: 2rem;
    color: var(--pg36-white);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pg36-footer-link:hover {
    background: var(--pg36-primary);
    border-color: var(--pg36-primary);
}

.pg36-footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.pg36-footer-nav a {
    color: var(--pg36-gray);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.pg36-footer-nav a:hover {
    color: var(--pg36-primary);
}

.pg36-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--pg36-gray);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 127, 80, 0.2);
}

/* Bottom Navigation (Mobile Only) */
.pg36-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 1) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 127, 80, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
}

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

.pg36-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pg36-nav-item:hover {
    transform: scale(1.1);
}

.pg36-nav-item.active {
    color: var(--pg36-primary);
}

.pg36-nav-item i,
.pg36-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 0.2rem;
}

.pg36-nav-item span {
    font-size: 10px;
    color: var(--pg36-gray);
}

.pg36-nav-item.active span {
    color: var(--pg36-primary);
}

/* FAQ Styles */
.pg36-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.pg36-faq-question {
    padding: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pg36-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Feature List */
.pg36-feature-list {
    list-style: none;
    padding: 0;
}

.pg36-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 127, 80, 0.1);
}

.pg36-feature-item:last-child {
    border-bottom: none;
}

.pg36-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--pg36-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pg36-feature-icon i {
    font-size: 1.8rem;
    color: var(--pg36-white);
}

.pg36-feature-text h4 {
    font-size: 1.4rem;
    margin: 0 0 0.3rem 0;
    color: var(--pg36-white);
}

.pg36-feature-text p {
    font-size: 1.2rem;
    margin: 0;
    color: var(--pg36-gray);
}

/* Testimonial Styles */
.pg36-testimonial {
    background: rgba(255, 127, 80, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--pg36-primary);
}

.pg36-testimonial-text {
    font-size: 1.3rem;
    color: var(--pg36-gray);
    font-style: italic;
    margin-bottom: 1rem;
}

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

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

.pg36-payment-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 127, 80, 0.2);
}

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

.pg36-payment-item span {
    display: block;
    font-size: 1.1rem;
    color: var(--pg36-gray);
}

/* Winner Showcase */
.pg36-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 127, 80, 0.05);
    border-radius: 1rem;
    margin-bottom: 0.8rem;
}

.pg36-winner-avatar {
    width: 40px;
    height: 40px;
    background: var(--pg36-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
}

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

.pg36-winner-name {
    font-size: 1.3rem;
    color: var(--pg36-white);
    font-weight: 600;
}

.pg36-winner-game {
    font-size: 1.1rem;
    color: var(--pg36-gray);
}

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

/* Responsive utilities */
@media (max-width: 430px) {
    .pg36-container {
        padding: 0 1rem;
    }

    .pg36-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .pg36-game-name {
        font-size: 0.9rem;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .pg36-container {
        max-width: 768px;
    }

    .pg36-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .pg36-payment-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Animation utilities */
.pg36-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch feedback */
.pg36-touch-target {
    -webkit-tap-highlight-color: transparent;
}

.pg36-touch-active {
    opacity: 0.8;
    transform: scale(0.98);
}
