/**
 * 8k8t - Theme CSS File
 * All classes use prefix: v141-
 * Website: 8k8t.click
 * Color Palette: #BAE1FF (light blue) | #CD853F (peru) | #1A1A1A (dark) | #FF0000 (red) | #DC143C (crimson)
 */

/* CSS Variables */
:root {
    --v141-primary: #BAE1FF;
    --v141-secondary: #CD853F;
    --v141-dark: #1A1A1A;
    --v141-accent: #FF0000;
    --v141-accent-dark: #DC143C;
    --v141-bg: #0D0D0D;
    --v141-bg-card: #1A1A1A;
    --v141-bg-lighter: #252525;
    --v141-text: #BAE1FF;
    --v141-text-muted: #8BBFE0;
    --v141-text-light: #FFFFFF;
    --v141-border: #333333;
    --v141-radius-sm: 4px;
    --v141-radius-md: 8px;
    --v141-radius-lg: 12px;
    --v141-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    --v141-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', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--v141-text);
    background: var(--v141-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--v141-primary);
    text-decoration: none;
    transition: var(--v141-transition);
}

a:hover {
    color: var(--v141-secondary);
}

/* Layout */
.v141-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.v141-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.v141-main {
    flex: 1;
    padding-top: 6rem;
    padding-bottom: 8rem;
}

@media (min-width: 769px) {
    .v141-main {
        padding-bottom: 2rem;
    }
}

/* Header */
.v141-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v141-dark) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--v141-border);
}

.v141-header-inner {
    max-width: 430px;
    margin: 0 auto;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v141-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.v141-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--v141-radius-sm);
}

.v141-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v141-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v141-header-btns {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v141-header-scrolled {
    box-shadow: var(--v141-shadow);
}

/* Buttons */
.v141-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.4rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: var(--v141-radius-md);
    cursor: pointer;
    transition: var(--v141-transition);
    min-height: 44px;
    min-width: 44px;
}

.v141-btn-primary {
    background: linear-gradient(135deg, var(--v141-accent) 0%, var(--v141-accent-dark) 100%);
    color: var(--v141-text-light);
}

.v141-btn-primary:hover {
    background: linear-gradient(135deg, var(--v141-accent-dark) 0%, var(--v141-accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.v141-btn-outline {
    background: transparent;
    color: var(--v141-primary);
    border: 2px solid var(--v141-primary);
}

.v141-btn-outline:hover {
    background: var(--v141-primary);
    color: var(--v141-dark);
}

.v141-btn-secondary {
    background: linear-gradient(135deg, var(--v141-secondary) 0%, #B8732E 100%);
    color: var(--v141-text-light);
}

.v141-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

.v141-btn-lg {
    padding: 1.2rem 2.4rem;
    font-size: 1.5rem;
}

.v141-btn-block {
    width: 100%;
}

.v141-menu-btn {
    background: transparent;
    border: none;
    color: var(--v141-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.v141-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(--v141-transition);
}

.v141-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.v141-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--v141-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.v141-menu-open {
    right: 0;
}

.v141-menu-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--v141-border);
    background: var(--v141-bg);
}

.v141-menu-close {
    background: transparent;
    border: none;
    color: var(--v141-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.v141-menu-nav {
    list-style: none;
    padding: 1rem 0;
}

.v141-menu-nav li {
    border-bottom: 1px solid var(--v141-border);
}

.v141-menu-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    color: var(--v141-text);
    font-size: 1.4rem;
}

.v141-menu-nav a:hover {
    background: var(--v141-bg-lighter);
    color: var(--v141-secondary);
}

.v141-menu-nav i {
    width: 24px;
    text-align: center;
}

/* Carousel */
.v141-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--v141-radius-lg);
    margin-bottom: 2rem;
}

.v141-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.v141-slide {
    min-width: 100%;
    display: none;
}

.v141-slide-active {
    display: block;
}

.v141-slide img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: var(--v141-radius-lg);
}

.v141-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.v141-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(186, 225, 255, 0.4);
    cursor: pointer;
    transition: var(--v141-transition);
}

.v141-dot-active {
    background: var(--v141-primary);
    transform: scale(1.2);
}

/* Sections */
.v141-section {
    margin-bottom: 2.5rem;
}

.v141-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.v141-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v141-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v141-section-title i {
    color: var(--v141-secondary);
}

.v141-view-all {
    font-size: 1.2rem;
    color: var(--v141-secondary);
    cursor: pointer;
}

/* Game Grid */
.v141-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.v141-game-card {
    position: relative;
    border-radius: var(--v141-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--v141-transition);
    background: var(--v141-bg-card);
}

.v141-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(186, 225, 255, 0.15);
}

.v141-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v141-game-name {
    padding: 0.6rem;
    font-size: 1rem;
    text-align: center;
    color: var(--v141-text);
    background: var(--v141-bg-card);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v141-game-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--v141-text-light);
    background: var(--v141-accent);
    border-radius: var(--v141-radius-sm);
}

/* Cards */
.v141-card {
    background: var(--v141-bg-card);
    border-radius: var(--v141-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--v141-border);
}

.v141-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v141-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v141-card-title i {
    color: var(--v141-secondary);
}

.v141-card-text {
    font-size: 1.4rem;
    color: var(--v141-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Stats Grid */
.v141-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.v141-stat-card {
    background: var(--v141-bg-card);
    border-radius: var(--v141-radius-md);
    padding: 1.2rem 0.8rem;
    text-align: center;
    border: 1px solid var(--v141-border);
}

.v141-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v141-secondary);
}

.v141-stat-label {
    font-size: 1rem;
    color: var(--v141-text-muted);
    margin-top: 0.3rem;
}

/* Feature List */
.v141-feature-list {
    list-style: none;
}

.v141-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--v141-border);
}

.v141-feature-list li:last-child {
    border-bottom: none;
}

.v141-feature-list i {
    color: var(--v141-secondary);
    font-size: 1.6rem;
    width: 24px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.v141-feature-list div {
    flex: 1;
}

/* Accordion */
.v141-accordion-item {
    background: var(--v141-bg-card);
    border-radius: var(--v141-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--v141-border);
}

.v141-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v141-text);
}

.v141-accordion-header i {
    color: var(--v141-secondary);
    transition: var(--v141-transition);
}

.v141-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.v141-accordion-content {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.3rem;
    color: var(--v141-text-muted);
    line-height: 1.6;
}

.v141-accordion-open .v141-accordion-header i {
    transform: rotate(180deg);
}

.v141-accordion-open .v141-accordion-body {
    max-height: 500px;
}

/* CTA Banner */
.v141-cta-banner {
    background: linear-gradient(135deg, var(--v141-accent-dark) 0%, var(--v141-accent) 100%);
    border-radius: var(--v141-radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.v141-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v141-text-light);
    margin-bottom: 1rem;
}

.v141-cta-text {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.v141-btn-dark {
    background: var(--v141-dark);
    color: var(--v141-primary);
}

.v141-btn-dark:hover {
    background: var(--v141-bg-lighter);
    transform: translateY(-2px);
}

/* Footer */
.v141-footer {
    background: var(--v141-dark);
    border-top: 1px solid var(--v141-border);
    padding: 2rem 0;
}

.v141-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.v141-footer-links a {
    font-size: 1.2rem;
    color: var(--v141-text-muted);
}

.v141-footer-links a:hover {
    color: var(--v141-secondary);
}

.v141-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--v141-border);
    border-bottom: 1px solid var(--v141-border);
    margin-bottom: 1.5rem;
}

.v141-partners img {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: var(--v141-transition);
}

.v141-partners img:hover {
    opacity: 1;
}

.v141-footer-copy {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v141-text-muted);
}

/* Bottom Navigation */
.v141-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--v141-dark);
    border-top: 1px solid var(--v141-border);
    z-index: 1000;
    padding: 0.5rem 0;
}

.v141-bottom-nav-inner {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.v141-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.8rem;
    background: transparent;
    border: none;
    color: var(--v141-text-muted);
    cursor: pointer;
    min-width: 60px;
    min-height: 56px;
    transition: var(--v141-transition);
}

.v141-nav-btn i,
.v141-nav-btn .material-icons {
    font-size: 22px;
}

.v141-nav-btn span {
    font-size: 1rem;
}

.v141-nav-btn:hover,
.v141-nav-btn-active {
    color: var(--v141-primary);
}

.v141-nav-btn:active {
    transform: scale(0.95);
}

@media (min-width: 769px) {
    .v141-bottom-nav {
        display: none;
    }
}

.v141-mobile-only {
    display: block;
}

@media (min-width: 769px) {
    .v141-mobile-only {
        display: none;
    }
}

/* Tabs */
.v141-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.v141-tab {
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--v141-text-muted);
    background: var(--v141-bg-card);
    border: 1px solid var(--v141-border);
    border-radius: var(--v141-radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--v141-transition);
}

.v141-tab:hover,
.v141-tab-active {
    color: var(--v141-dark);
    background: var(--v141-primary);
    border-color: var(--v141-primary);
}

.v141-tab-panel {
    display: none;
}

.v141-panel-active {
    display: block;
}

/* Toast */
.v141-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--v141-secondary);
    color: var(--v141-text-light);
    padding: 1rem 2rem;
    border-radius: var(--v141-radius-md);
    font-size: 1.3rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.v141-toast-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Text Utilities */
.v141-text-center {
    text-align: center;
}

.v141-text-primary {
    color: var(--v141-primary);
}

.v141-text-secondary {
    color: var(--v141-secondary);
}

.v141-text-accent {
    color: var(--v141-accent);
}

.v141-text-muted {
    color: var(--v141-text-muted);
}

/* Spacing Utilities */
.v141-mt-1 { margin-top: 0.5rem; }
.v141-mt-2 { margin-top: 1rem; }
.v141-mt-3 { margin-top: 1.5rem; }
.v141-mb-1 { margin-bottom: 0.5rem; }
.v141-mb-2 { margin-bottom: 1rem; }
.v141-mb-3 { margin-bottom: 1.5rem; }

/* Link Styles */
.v141-link {
    color: var(--v141-secondary);
    text-decoration: underline;
    cursor: pointer;
}

.v141-link:hover {
    color: var(--v141-primary);
}

/* Content Text */
.v141-content-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--v141-text-muted);
    margin-bottom: 1.2rem;
}

.v141-content-text strong {
    color: var(--v141-primary);
    font-weight: 600;
}

/* H1 Title */
.v141-h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v141-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* RTP Table */
.v141-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v141-rtp-item {
    background: var(--v141-bg-lighter);
    border-radius: var(--v141-radius-md);
    padding: 1rem;
    text-align: center;
}

.v141-rtp-game {
    font-size: 1.2rem;
    color: var(--v141-text);
    margin-bottom: 0.5rem;
}

.v141-rtp-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v141-secondary);
}

/* Responsive Adjustments */
@media (max-width: 360px) {
    .v141-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .v141-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v141-header-btns .v141-btn {
        padding: 0.6rem 1rem;
        font-size: 1.2rem;
    }
}
