/* GoPERYA CSS Styles */
:root {
    --primary-color: #DEB887;
    --secondary-color: #BA55D3;
    --accent-color: #FFEBCD;
    --dark-color: #8B008B;
    --bg-color: #1C2833;
    --text-color: #FFFFFF;
    --text-secondary: #CCCCCC;
    --border-color: #444444;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --error-color: #DC3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.gbb6-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.gbb6-header {
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gbb6-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}

.gbb6-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.gbb6-logo i {
    margin-right: 8px;
    font-size: 28px;
}

.gbb6-header-buttons {
    display: flex;
    gap: 10px;
}

.gbb6-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gbb6-btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #F4A460);
    color: var(--bg-color);
}

.gbb6-btn-primary:hover {
    background: linear-gradient(45deg, #F4A460, var(--primary-color));
    transform: translateY(-2px);
}

.gbb6-btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.gbb6-btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.gbb6-menu-toggle {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu */
.gbb6-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-color), var(--dark-color));
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.gbb6-menu-active {
    right: 0;
}

.gbb6-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 24px;
    cursor: pointer;
}

.gbb6-menu-nav {
    margin-top: 50px;
}

.gbb6-menu-item {
    display: block;
    padding: 15px 0;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    transition: color 0.3s ease;
}

.gbb6-menu-item:hover {
    color: var(--primary-color);
}

.gbb6-menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content */
.gbb6-main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

@media (max-width: 768px) {
    .gbb6-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.gbb6-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gbb6-carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.gbb6-carousel-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.gbb6-carousel-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gbb6-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
}

.gbb6-carousel-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.gbb6-carousel-text {
    font-size: 14px;
    opacity: 0.9;
}

.gbb6-carousel-nav {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.gbb6-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.gbb6-dot-active {
    background: var(--primary-color);
}

/* Games Section */
.gbb6-games-section {
    margin: 30px 0;
}

.gbb6-section-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.gbb6-category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.gbb6-category-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.gbb6-category-btn:hover,
.gbb6-category-active {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.gbb6-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.gbb6-game-item {
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gbb6-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(222, 184, 135, 0.3);
}

.gbb6-game-image {
    width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 5px;
}

.gbb6-game-name {
    font-size: 11px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.2;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gbb6-game-type {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--success-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
}

.gbb6-load-more {
    display: block;
    margin: 20px auto;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), #F4A460);
    color: var(--bg-color);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gbb6-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(222, 184, 135, 0.4);
}

/* Content Sections */
.gbb6-content-section {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.gbb6-content-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.gbb6-content-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.gbb6-feature-list {
    list-style: none;
    margin: 15px 0;
}

.gbb6-feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.gbb6-feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 16px;
}

.gbb6-highlight-box {
    background: linear-gradient(135deg, var(--primary-color), #F4A460);
    color: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.gbb6-highlight-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.gbb6-highlight-text {
    font-size: 14px;
    opacity: 0.9;
}

/* Search Bar */
.gbb6-search-container {
    margin: 20px 0;
    position: relative;
}

.gbb6-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.gbb6-search-input:focus {
    border-color: var(--primary-color);
}

.gbb6-search-input::placeholder {
    color: var(--text-secondary);
}

.gbb6-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

/* Bottom Navigation */
.gbb6-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

@media (min-width: 769px) {
    .gbb6-bottom-nav {
        display: none;
    }
}

.gbb6-bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.gbb6-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    min-width: 60px;
    min-height: 60px;
    justify-content: center;
}

.gbb6-bottom-nav-item:hover,
.gbb6-bottom-nav-active {
    color: var(--primary-color);
}

.gbb6-bottom-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.gbb6-bottom-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Footer */
.gbb6-footer {
    background: linear-gradient(135deg, var(--bg-color), var(--dark-color));
    padding: 30px 0 100px;
    margin-top: 40px;
}

.gbb6-footer-content {
    text-align: center;
}

.gbb6-partners {
    margin-bottom: 30px;
}

.gbb6-partners-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.gbb6-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.gbb6-partner-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gbb6-partner-logo:hover {
    opacity: 1;
}

.gbb6-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.gbb6-footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.gbb6-footer-link:hover {
    color: var(--primary-color);
}

.gbb6-footer-text {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
}

/* Scroll to Top Button */
.gbb6-scroll-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(45deg, var(--primary-color), #F4A460);
    color: var(--bg-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gbb6-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Utility Classes */
.gbb6-text-center {
    text-align: center;
}

.gbb6-text-primary {
    color: var(--primary-color);
}

.gbb6-text-secondary {
    color: var(--text-secondary);
}

.gbb6-mb-20 {
    margin-bottom: 20px;
}

.gbb6-mt-20 {
    margin-top: 20px;
}

.gbb6-hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gbb6-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .gbb6-partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gbb6-category-tabs {
        gap: 5px;
    }

    .gbb6-category-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .gbb6-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gbb6-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gbb6-header-buttons {
        gap: 5px;
    }

    .gbb6-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gbb6-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.gbb6-pulse {
    animation: pulse 2s infinite;
}

/* Loading States */
.gbb6-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal Styles */
.gbb6-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.gbb6-modal-content {
    background: linear-gradient(135deg, var(--bg-color), var(--dark-color));
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.gbb6-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}

.gbb6-modal-close:hover {
    color: var(--primary-color);
}