/**
 * 55BMW VIP - Main Stylesheet
 * All classes use prefix: g155-
 * Website: 55bmwvip.click
 */

/* CSS Variables */
:root {
    --g155-primary: #FFEB3B;
    --g155-primary-dark: #FFE135;
    --g155-primary-light: #FFF59D;
    --g155-bg-dark: #0E1621;
    --g155-bg-darker: #080D14;
    --g155-bg-card: #151F2E;
    --g155-bg-card-hover: #1A2738;
    --g155-text-light: #FAFAFA;
    --g155-text-muted: #94A3B8;
    --g155-text-dark: #0E1621;
    --g155-accent: #F59E0B;
    --g155-success: #22C55E;
    --g155-error: #EF4444;
    --g155-border: #1E293B;
    --g155-shadow: rgba(0, 0, 0, 0.3);
    --g155-gradient: linear-gradient(135deg, #FFEB3B 0%, #FFE135 50%, #F59E0B 100%);
    --g155-radius: 0.8rem;
    --g155-radius-lg: 1.2rem;
    --g155-transition: 0.3s ease;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--g155-text-light);
    background-color: var(--g155-bg-dark);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.g155-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.g155-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* Header */
.g155-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g155-bg-darker);
    border-bottom: 1px solid var(--g155-border);
    transition: var(--g155-transition);
}

.g155-header-scrolled {
    box-shadow: 0 2px 20px var(--g155-shadow);
}

.g155-header-inner {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.g155-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--g155-text-light);
}

.g155-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.g155-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g155-primary);
    text-transform: uppercase;
}

.g155-header-btns {
    display: flex;
    gap: 0.8rem;
}

.g155-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--g155-radius);
    cursor: pointer;
    border: none;
    transition: var(--g155-transition);
    min-height: 44px;
}

.g155-btn-primary {
    background: var(--g155-gradient);
    color: var(--g155-text-dark);
}

.g155-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 235, 59, 0.4);
}

.g155-btn-outline {
    background: transparent;
    color: var(--g155-primary);
    border: 2px solid var(--g155-primary);
}

.g155-btn-outline:hover {
    background: var(--g155-primary);
    color: var(--g155-text-dark);
}

.g155-btn-lg {
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
}

.g155-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--g155-bg-card);
    border: none;
    border-radius: var(--g155-radius);
    color: var(--g155-text-light);
    cursor: pointer;
    font-size: 2rem;
}

/* Mobile Menu Overlay */
.g155-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(--g155-transition);
}

.g155-overlay-visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.g155-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g155-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

.g155-menu-open {
    right: 0;
}

.g155-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--g155-border);
}

.g155-menu-close {
    width: 40px;
    height: 40px;
    background: var(--g155-bg-card);
    border: none;
    border-radius: var(--g155-radius);
    color: var(--g155-text-light);
    cursor: pointer;
    font-size: 2rem;
}

.g155-menu-nav {
    list-style: none;
}

.g155-menu-nav li {
    margin-bottom: 0.5rem;
}

.g155-menu-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    color: var(--g155-text-light);
    text-decoration: none;
    border-radius: var(--g155-radius);
    transition: var(--g155-transition);
    font-size: 1.5rem;
}

.g155-menu-nav a:hover {
    background: var(--g155-bg-card);
    color: var(--g155-primary);
}

.g155-menu-nav i {
    width: 24px;
    text-align: center;
    font-size: 1.8rem;
}

/* Main Content */
.g155-main {
    padding-top: 70px;
    padding-bottom: 80px;
    min-height: 100vh;
}

@media (min-width: 769px) {
    .g155-main {
        padding-bottom: 2rem;
    }
}

/* Carousel */
.g155-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--g155-radius-lg);
    margin-bottom: 2rem;
}

.g155-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.g155-slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.g155-slide-active {
    display: block;
}

.g155-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.g155-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.g155-slide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--g155-primary);
}

.g155-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
}

.g155-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--g155-text-muted);
    border: none;
    cursor: pointer;
    transition: var(--g155-transition);
}

.g155-dot-active {
    background: var(--g155-primary);
    transform: scale(1.2);
}

/* Section */
.g155-section {
    margin-bottom: 3rem;
}

.g155-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.g155-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g155-text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g155-section-title i {
    color: var(--g155-primary);
}

.g155-section-link {
    color: var(--g155-primary);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Game Tabs */
.g155-tabs {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.g155-tabs::-webkit-scrollbar {
    display: none;
}

.g155-tab {
    flex-shrink: 0;
    padding: 0.8rem 1.6rem;
    background: var(--g155-bg-card);
    border: none;
    border-radius: var(--g155-radius);
    color: var(--g155-text-muted);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--g155-transition);
    white-space: nowrap;
}

.g155-tab:hover {
    background: var(--g155-bg-card-hover);
    color: var(--g155-text-light);
}

.g155-tab-active {
    background: var(--g155-primary);
    color: var(--g155-text-dark);
}

.g155-tab-panel {
    display: none;
}

.g155-panel-active {
    display: block;
}

/* Game Grid */
.g155-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.g155-game-card {
    position: relative;
    border-radius: var(--g155-radius);
    overflow: hidden;
    background: var(--g155-bg-card);
    cursor: pointer;
    transition: var(--g155-transition);
}

.g155-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--g155-shadow);
}

.g155-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g155-game-name {
    padding: 0.6rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--g155-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g155-game-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0.3rem 0.6rem;
    background: var(--g155-primary);
    color: var(--g155-text-dark);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
}

/* Content Card */
.g155-content-card {
    background: var(--g155-bg-card);
    border-radius: var(--g155-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.g155-content-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g155-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g155-content-text {
    color: var(--g155-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.g155-content-text strong {
    color: var(--g155-text-light);
}

/* Feature List */
.g155-feature-list {
    list-style: none;
}

.g155-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--g155-border);
}

.g155-feature-list li:last-child {
    border-bottom: none;
}

.g155-feature-list i {
    color: var(--g155-primary);
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Accordion */
.g155-accordion-item {
    background: var(--g155-bg-card);
    border-radius: var(--g155-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.g155-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--g155-text-light);
}

.g155-accordion-header i {
    transition: var(--g155-transition);
}

.g155-accordion-open .g155-accordion-header i {
    transform: rotate(180deg);
}

.g155-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.g155-accordion-open .g155-accordion-body {
    max-height: 500px;
}

.g155-accordion-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--g155-text-muted);
    line-height: 1.6;
}

/* Stats Grid */
.g155-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.g155-stat-card {
    background: var(--g155-bg-card);
    padding: 1.5rem;
    border-radius: var(--g155-radius);
    text-align: center;
}

.g155-stat-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--g155-primary);
    margin-bottom: 0.5rem;
}

.g155-stat-label {
    font-size: 1.3rem;
    color: var(--g155-text-muted);
}

/* Bottom Navigation */
.g155-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g155-bg-darker);
    border-top: 1px solid var(--g155-border);
    padding: 0.8rem 0;
}

@media (min-width: 769px) {
    .g155-bottom-nav {
        display: none;
    }
}

.g155-bottom-nav-inner {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.g155-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--g155-text-muted);
    cursor: pointer;
    transition: var(--g155-transition);
    text-decoration: none;
}

.g155-nav-btn:hover,
.g155-nav-btn-active {
    color: var(--g155-primary);
}

.g155-nav-btn i {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.g155-nav-btn span {
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
.g155-footer {
    background: var(--g155-bg-darker);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--g155-border);
}

.g155-footer-partners {
    margin-bottom: 2rem;
}

.g155-partners-title {
    font-size: 1.4rem;
    color: var(--g155-text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.g155-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.g155-partner-logo {
    height: 32px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(30%);
    transition: var(--g155-transition);
}

.g155-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.g155-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.g155-footer-links a {
    color: var(--g155-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--g155-transition);
}

.g155-footer-links a:hover {
    color: var(--g155-primary);
}

.g155-footer-copy {
    text-align: center;
    color: var(--g155-text-muted);
    font-size: 1.2rem;
}

/* Toast Notification */
.g155-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--g155-bg-card);
    color: var(--g155-text-light);
    padding: 1rem 2rem;
    border-radius: var(--g155-radius);
    box-shadow: 0 4px 20px var(--g155-shadow);
    opacity: 0;
    transition: var(--g155-transition);
    z-index: 10000;
}

.g155-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Link Styles */
.g155-link {
    color: var(--g155-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.g155-link:hover {
    text-decoration: underline;
}

/* CTA Banner */
.g155-cta-banner {
    background: var(--g155-gradient);
    padding: 2rem;
    border-radius: var(--g155-radius-lg);
    text-align: center;
    margin: 2rem 0;
}

.g155-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g155-text-dark);
    margin-bottom: 1rem;
}

.g155-cta-text {
    color: var(--g155-text-dark);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.g155-btn-dark {
    background: var(--g155-bg-dark);
    color: var(--g155-primary);
}

.g155-btn-dark:hover {
    background: var(--g155-bg-darker);
}

/* Utilities */
.g155-text-center {
    text-align: center;
}

.g155-mb-1 {
    margin-bottom: 1rem;
}

.g155-mb-2 {
    margin-bottom: 2rem;
}

.g155-mt-2 {
    margin-top: 2rem;
}

/* Hide on desktop */
@media (min-width: 769px) {
    .g155-mobile-only {
        display: none !important;
    }
}

/* Hide on mobile */
@media (max-width: 768px) {
    .g155-desktop-only {
        display: none !important;
    }
}
