/**
 * OkayPlay - Main Stylesheet
 * Website: okayplay.club
 * Prefix: gb9a-
 * Color Palette: #F5F5F5 | #1A1A1A | #DB7093 | #F4A460 | #FDF5E6 | #C71585
 */

/* CSS Variables */
:root {
    --gb9a-primary: #C71585;
    --gb9a-secondary: #DB7093;
    --gb9a-accent: #F4A460;
    --gb9a-bg-dark: #1A1A1A;
    --gb9a-bg-light: #F5F5F5;
    --gb9a-bg-cream: #FDF5E6;
    --gb9a-text-light: #F5F5F5;
    --gb9a-text-dark: #1A1A1A;
    --gb9a-gradient: linear-gradient(135deg, #C71585, #DB7093);
    --gb9a-shadow: 0 4px 15px rgba(199, 21, 133, 0.3);
    --gb9a-radius: 12px;
    --gb9a-transition: all 0.3s ease;
}

/* Reset & 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;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--gb9a-bg-dark);
    color: var(--gb9a-text-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.gb9a-wrapper {
    padding: 2rem 0;
}

/* Header */
.gb9a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(199, 21, 133, 0.3);
    transition: var(--gb9a-transition);
}

.gb9a-header-scrolled {
    background: rgba(26, 26, 26, 0.99);
    box-shadow: var(--gb9a-shadow);
}

.gb9a-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.gb9a-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gb9a-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.gb9a-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gb9a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--gb9a-transition);
    min-height: 44px;
    min-width: 44px;
}

.gb9a-btn-primary {
    background: var(--gb9a-gradient);
    color: var(--gb9a-text-light);
    box-shadow: var(--gb9a-shadow);
}

.gb9a-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 21, 133, 0.4);
}

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

.gb9a-btn-outline:hover {
    background: var(--gb9a-secondary);
    color: var(--gb9a-text-light);
}

.gb9a-menu-toggle {
    background: transparent;
    border: none;
    color: var(--gb9a-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.gb9a-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--gb9a-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    border-left: 1px solid rgba(199, 21, 133, 0.3);
    overflow-y: auto;
}

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

.gb9a-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--gb9a-transition);
}

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

.gb9a-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gb9a-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--gb9a-text-light);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: var(--gb9a-transition);
}

.gb9a-nav-link:hover {
    background: rgba(199, 21, 133, 0.2);
    color: var(--gb9a-secondary);
}

.gb9a-nav-link i {
    margin-right: 1rem;
    width: 20px;
}

/* Carousel */
.gb9a-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: 60px;
}

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

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

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

.gb9a-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
}

.gb9a-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gb9a-text-light);
}

/* Main Content */
main {
    padding-bottom: 80px;
}

@media (min-width: 769px) {
    main {
        padding-bottom: 2rem;
    }
}

.gb9a-section {
    padding: 2rem 1.5rem;
}

.gb9a-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gb9a-text-light);
    position: relative;
    padding-left: 1.5rem;
}

.gb9a-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--gb9a-gradient);
    border-radius: 2px;
}

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

.gb9a-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--gb9a-transition);
}

.gb9a-game-item:hover {
    transform: translateY(-3px);
}

.gb9a-game-item:hover .gb9a-game-icon {
    box-shadow: 0 4px 15px rgba(199, 21, 133, 0.5);
}

.gb9a-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    transition: var(--gb9a-transition);
    box-shadow: var(--gb9a-shadow);
}

.gb9a-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb9a-game-name {
    font-size: 1.1rem;
    color: var(--gb9a-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Tabs */
.gb9a-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--gb9a-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gb9a-category-title i {
    font-size: 2rem;
}

/* Cards */
.gb9a-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--gb9a-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(199, 21, 133, 0.2);
}

.gb9a-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gb9a-secondary);
}

.gb9a-card-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--gb9a-text-light);
}

/* Promo Link Styles */
.gb9a-promo-link {
    color: var(--gb9a-accent);
    font-weight: 600;
    cursor: pointer;
}

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

.gb9a-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gb9a-gradient);
    color: var(--gb9a-text-light);
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--gb9a-transition);
    box-shadow: var(--gb9a-shadow);
}

.gb9a-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(199, 21, 133, 0.5);
}

/* Features Grid */
.gb9a-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.gb9a-feature-item {
    background: rgba(199, 21, 133, 0.1);
    padding: 1.5rem;
    border-radius: var(--gb9a-radius);
    text-align: center;
    border: 1px solid rgba(199, 21, 133, 0.2);
}

.gb9a-feature-icon {
    font-size: 2.8rem;
    color: var(--gb9a-secondary);
    margin-bottom: 0.8rem;
}

.gb9a-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gb9a-text-light);
}

/* Footer */
.gb9a-footer {
    background: rgba(26, 26, 26, 0.98);
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(199, 21, 133, 0.3);
}

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

.gb9a-footer-link {
    font-size: 1.2rem;
    color: var(--gb9a-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--gb9a-transition);
}

.gb9a-footer-link:hover {
    background: rgba(199, 21, 133, 0.2);
}

.gb9a-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.gb9a-partner-logo {
    width: 50px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--gb9a-transition);
}

.gb9a-partner-logo:hover {
    opacity: 1;
}

.gb9a-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
}

/* Bottom Navigation - Mobile Only */
.gb9a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.99) 0%, rgba(26, 26, 26, 1) 100%);
    border-top: 1px solid rgba(199, 21, 133, 0.4);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

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

.gb9a-bottom-nav-item:hover {
    background: rgba(199, 21, 133, 0.15);
}

.gb9a-bottom-nav-item.active {
    background: rgba(199, 21, 133, 0.2);
}

.gb9a-bottom-nav-item.active .gb9a-bottom-nav-icon {
    color: var(--gb9a-secondary);
    transform: scale(1.1);
}

.gb9a-bottom-nav-icon {
    font-size: 24px;
    color: var(--gb9a-text-light);
    margin-bottom: 4px;
    transition: var(--gb9a-transition);
}

.gb9a-bottom-nav-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--gb9a-transition);
}

.gb9a-bottom-nav-item.active .gb9a-bottom-nav-text {
    color: var(--gb9a-secondary);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .gb9a-bottom-nav {
        display: none;
    }
}

/* Desktop Navigation */
.gb9a-desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .gb9a-desktop-nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .gb9a-desktop-nav .gb9a-nav-link {
        padding: 0.5rem 1rem;
        font-size: 1.4rem;
    }

    .gb9a-menu-toggle {
        display: none;
    }

    .gb9a-header-inner {
        max-width: 1200px;
    }

    .gb9a-container {
        max-width: 1200px;
    }

    .gb9a-carousel {
        height: 350px;
    }

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

    .gb9a-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* FAQ Section */
.gb9a-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(199, 21, 133, 0.2);
}

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

.gb9a-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.3rem;
    color: var(--gb9a-text-light);
    line-height: 1.6;
}

/* Stats Section */
.gb9a-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.gb9a-stat-item {
    background: rgba(199, 21, 133, 0.1);
    padding: 1.2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(199, 21, 133, 0.2);
}

.gb9a-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gb9a-accent);
    margin-bottom: 0.3rem;
}

.gb9a-stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* RTP Table */
.gb9a-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.3rem;
}

.gb9a-rtp-table th,
.gb9a-rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(199, 21, 133, 0.2);
}

.gb9a-rtp-table th {
    background: rgba(199, 21, 133, 0.2);
    color: var(--gb9a-secondary);
    font-weight: 600;
}

.gb9a-rtp-table tr:hover {
    background: rgba(199, 21, 133, 0.1);
}

/* Utility Classes */
.gb9a-text-center {
    text-align: center;
}

.gb9a-mb-1 {
    margin-bottom: 1rem;
}

.gb9a-mb-2 {
    margin-bottom: 2rem;
}

.gb9a-mt-2 {
    margin-top: 2rem;
}

.gb9a-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .gb9a-hidden-mobile {
        display: block;
    }

    .gb9a-hidden-desktop {
        display: none;
    }
}

/* Animations */
@keyframes gb9a-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gb9a-animate {
    animation: gb9a-fadeIn 0.5s ease forwards;
}

/* List Styles */
.gb9a-list {
    padding-left: 2rem;
}

.gb9a-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

.gb9a-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 6px;
    height: 6px;
    background: var(--gb9a-secondary);
    border-radius: 50%;
}

/* Highlight Box */
.gb9a-highlight-box {
    background: linear-gradient(135deg, rgba(199, 21, 133, 0.2), rgba(219, 112, 147, 0.1));
    border: 1px solid var(--gb9a-secondary);
    border-radius: var(--gb9a-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.gb9a-highlight-box p {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Security Badge */
.gb9a-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.gb9a-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 1.2rem;
    border: 1px solid rgba(199, 21, 133, 0.2);
}

.gb9a-badge i {
    color: var(--gb9a-accent);
}
