/**
 * Big Win APK - Layout Styles
 * Website: bigwinapk.click
 * Prefix: pga2-
 * Colors: #1B263B (bg), #004D40 (accent), #00CED1 (text)
 */

/* CSS Variables */
:root {
    --pga2-bg-primary: #1B263B;
    --pga2-bg-secondary: #0D1B2A;
    --pga2-bg-tertiary: #233554;
    --pga2-accent: #004D40;
    --pga2-accent-light: #00695C;
    --pga2-text-primary: #00CED1;
    --pga2-text-secondary: #4FD1C5;
    --pga2-text-light: #E0F2F1;
    --pga2-white: #FFFFFF;
    --pga2-black: #000000;
    --pga2-gold: #FFD700;
    --pga2-gradient: linear-gradient(135deg, #1B263B 0%, #004D40 100%);
    --pga2-shadow: 0 4px 15px rgba(0, 206, 209, 0.2);
    --pga2-radius: 12px;
    --pga2-radius-sm: 8px;
    --pga2-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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--pga2-bg-primary);
    color: var(--pga2-text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.pga2-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}

.pga2-wrapper {
    padding: 20px 15px;
}

/* Header */
.pga2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pga2-bg-secondary);
    padding: 12px 15px;
    transition: var(--pga2-transition);
}

.pga2-header-scrolled {
    box-shadow: 0 2px 20px rgba(0, 206, 209, 0.15);
}

.pga2-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.pga2-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.pga2-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.pga2-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pga2-text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pga2-header-actions {
    display: flex;
    gap: 10px;
}

.pga2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--pga2-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--pga2-transition);
    border: none;
}

.pga2-btn-login {
    background: transparent;
    border: 2px solid var(--pga2-text-primary);
    color: var(--pga2-text-primary);
}

.pga2-btn-login:hover {
    background: var(--pga2-text-primary);
    color: var(--pga2-bg-primary);
}

.pga2-btn-register {
    background: var(--pga2-gradient);
    color: var(--pga2-white);
    box-shadow: var(--pga2-shadow);
}

.pga2-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 206, 209, 0.3);
}

.pga2-btn-play {
    background: linear-gradient(135deg, var(--pga2-accent) 0%, var(--pga2-accent-light) 100%);
    color: var(--pga2-white);
    padding: 12px 30px;
    font-size: 1.4rem;
}

.pga2-btn-play:hover {
    transform: scale(1.05);
}

/* Menu Toggle */
.site9d2-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.site9d2-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--pga2-text-primary);
    border-radius: 2px;
    transition: var(--pga2-transition);
}

/* Mobile Menu */
#site9d2-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pga2-bg-secondary);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 80px 20px 30px;
}

.site9d2-menu-active {
    left: 0 !important;
}

#site9d2-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(--pga2-transition);
}

.site9d2-overlay-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.pga2-mobile-nav {
    list-style: none;
}

.pga2-mobile-nav li {
    margin-bottom: 5px;
}

.pga2-mobile-nav a {
    display: block;
    padding: 15px;
    color: var(--pga2-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--pga2-radius-sm);
    transition: var(--pga2-transition);
}

.pga2-mobile-nav a:hover {
    background: var(--pga2-bg-tertiary);
    color: var(--pga2-text-primary);
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Slider */
.pga2-hero {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.pga2-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.site9d2-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.site9d2-slide-active {
    opacity: 1;
}

.site9d2-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pga2-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.pga2-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.pga2-dot-active {
    background: var(--pga2-text-primary);
}

/* Section Titles */
.pga2-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pga2-text-primary);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.pga2-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--pga2-accent);
    border-radius: 2px;
}

/* Game Grid */
.pga2-games-section {
    padding: 30px 0;
}

.pga2-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--pga2-text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pga2-category-title i {
    color: var(--pga2-gold);
}

.pga2-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.pga2-game-card {
    position: relative;
    border-radius: var(--pga2-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--pga2-transition);
    background: var(--pga2-bg-tertiary);
}

.pga2-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pga2-shadow);
}

.pga2-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.pga2-game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 5px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--pga2-white);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Sections */
.pga2-info-section {
    background: var(--pga2-bg-secondary);
    padding: 30px 15px;
    margin: 20px 0;
    border-radius: var(--pga2-radius);
}

.pga2-info-content {
    max-width: 400px;
    margin: 0 auto;
}

.pga2-info-content h2 {
    color: var(--pga2-text-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.pga2-info-content p {
    color: var(--pga2-text-light);
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.pga2-info-content ul {
    list-style: none;
    margin: 15px 0;
}

.pga2-info-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1.3rem;
    color: var(--pga2-text-light);
}

.pga2-info-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--pga2-text-primary);
}

/* Footer */
.pga2-footer {
    background: var(--pga2-bg-secondary);
    padding: 40px 15px 20px;
    margin-top: 30px;
}

.pga2-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.pga2-partners {
    margin-bottom: 30px;
}

.pga2-partners h3 {
    color: var(--pga2-text-primary);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 15px;
}

.pga2-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pga2-partners-grid img {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--pga2-transition);
}

.pga2-partners-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.pga2-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pga2-footer-links a {
    color: var(--pga2-text-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--pga2-transition);
}

.pga2-footer-links a:hover {
    color: var(--pga2-text-primary);
}

.pga2-copyright {
    text-align: center;
    color: var(--pga2-text-light);
    font-size: 1.1rem;
    opacity: 0.8;
    padding-top: 15px;
    border-top: 1px solid var(--pga2-bg-tertiary);
}

/* Bottom Navigation */
.pga2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--pga2-bg-secondary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .pga2-bottom-nav {
        display: none;
    }
}

.pga2-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--pga2-transition);
    text-decoration: none;
}

.pga2-nav-item i {
    font-size: 22px;
    color: var(--pga2-text-light);
    margin-bottom: 3px;
    transition: var(--pga2-transition);
}

.pga2-nav-item span {
    font-size: 10px;
    color: var(--pga2-text-light);
    font-weight: 500;
}

.pga2-nav-item:hover i,
.pga2-nav-item:hover span,
.pga2-nav-item.active i,
.pga2-nav-item.active span {
    color: var(--pga2-text-primary);
}

.pga2-nav-item:hover {
    transform: scale(1.1);
}

/* FAQ Section */
.pga2-faq-item {
    background: var(--pga2-bg-tertiary);
    border-radius: var(--pga2-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.pga2-faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pga2-text-primary);
}

.pga2-faq-answer {
    padding: 0 15px 15px;
    font-size: 1.2rem;
    color: var(--pga2-text-light);
    line-height: 1.6;
}

/* Features Grid */
.pga2-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.pga2-feature-card {
    background: var(--pga2-bg-tertiary);
    padding: 20px;
    border-radius: var(--pga2-radius);
    text-align: center;
    transition: var(--pga2-transition);
}

.pga2-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pga2-shadow);
}

.pga2-feature-card i {
    font-size: 32px;
    color: var(--pga2-text-primary);
    margin-bottom: 10px;
}

.pga2-feature-card h3 {
    font-size: 1.3rem;
    color: var(--pga2-text-secondary);
    margin-bottom: 8px;
}

.pga2-feature-card p {
    font-size: 1.1rem;
    color: var(--pga2-text-light);
}

/* Internal Links */
.pga2-internal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.pga2-internal-links a {
    display: inline-block;
    padding: 8px 15px;
    background: var(--pga2-bg-tertiary);
    color: var(--pga2-text-primary);
    text-decoration: none;
    border-radius: 20px;
    font-size: 1.2rem;
    transition: var(--pga2-transition);
}

.pga2-internal-links a:hover {
    background: var(--pga2-accent);
    color: var(--pga2-white);
}

/* H1 Title */
.pga2-main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--pga2-text-primary);
    text-align: center;
    padding: 20px 15px;
    text-shadow: 0 2px 10px rgba(0, 206, 209, 0.3);
}

/* Responsive Utilities */
@media (max-width: 430px) {
    .pga2-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .pga2-game-name {
        font-size: 0.9rem;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .pga2-container {
        max-width: 768px;
    }

    .pga2-header-content {
        max-width: 768px;
    }

    .pga2-hero {
        height: 300px;
    }

    .pga2-games-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .pga2-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
