/**
 * GTA Online Casino - Core Stylesheet
 * Prefix: gd44-
 * Color Palette: #004D40 | #E0F2F1 | #273746
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --gd44-primary: #004D40;
    --gd44-secondary: #273746;
    --gd44-accent: #00BFA5;
    --gd44-bg: #0D1B2A;
    --gd44-bg-light: #1B2838;
    --gd44-text: #E0F2F1;
    --gd44-text-muted: #B0BEC5;
    --gd44-border: #37474F;
    --gd44-success: #00E676;
    --gd44-warning: #FFB300;
    --gd44-gradient: linear-gradient(135deg, #004D40 0%, #273746 100%);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gd44-bg);
    color: var(--gd44-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
}

/* Container */
.gd44-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.gd44-wrapper {
    padding: 1.6rem 0;
}

/* Header */
.gd44-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gd44-gradient);
    padding: 0.8rem 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gd44-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.gd44-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.gd44-logo img {
    width: 32px;
    height: 32px;
}

.gd44-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gd44-text);
}

.gd44-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.gd44-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.gd44-btn-primary {
    background: var(--gd44-accent);
    color: var(--gd44-primary);
}

.gd44-btn-primary:hover {
    background: #00D9B1;
    transform: scale(1.05);
}

.gd44-btn-outline {
    background: transparent;
    color: var(--gd44-text);
    border: 2px solid var(--gd44-accent);
}

.gd44-btn-outline:hover {
    background: var(--gd44-accent);
    color: var(--gd44-primary);
}

.gd44-menu-btn {
    background: none;
    border: none;
    color: var(--gd44-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.gd44-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--gd44-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.6rem 2rem;
    overflow-y: auto;
}

.gd44-menu-active {
    right: 0;
}

.gd44-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gd44-overlay-active {
    opacity: 1;
    visibility: visible;
}

.gd44-nav-list {
    list-style: none;
}

.gd44-nav-item {
    border-bottom: 1px solid var(--gd44-border);
}

.gd44-nav-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--gd44-text);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.gd44-nav-link:hover {
    color: var(--gd44-accent);
}

.gd44-nav-section {
    margin-top: 2rem;
}

.gd44-nav-section-title {
    font-size: 1.2rem;
    color: var(--gd44-text-muted);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content */
.gd44-main {
    padding-top: 6rem;
    padding-bottom: 8rem;
}

/* Carousel/Slider */
.gd44-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.6rem;
}

.gd44-slide {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.gd44-slide-active {
    display: block;
}

.gd44-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
.gd44-section {
    padding: 2rem 0;
}

.gd44-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    color: var(--gd44-text);
    border-left: 4px solid var(--gd44-accent);
    padding-left: 1rem;
}

.gd44-section-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--gd44-accent);
}

/* Game Grid */
.gd44-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gd44-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gd44-game-item:hover {
    transform: scale(1.05);
}

.gd44-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.4rem;
}

.gd44-game-name {
    font-size: 1rem;
    color: var(--gd44-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Tabs */
.gd44-category-label {
    display: inline-block;
    background: var(--gd44-bg-light);
    color: var(--gd44-accent);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--gd44-border);
}

/* Content Blocks */
.gd44-content-block {
    background: var(--gd44-bg-light);
    border-radius: 12px;
    padding: 1.6rem;
    margin-bottom: 1.6rem;
    border: 1px solid var(--gd44-border);
}

.gd44-content-block p {
    margin-bottom: 1rem;
    color: var(--gd44-text);
    line-height: 1.8;
}

.gd44-content-block p:last-child {
    margin-bottom: 0;
}

/* Promo Link */
.gd44-promo-link {
    color: var(--gd44-accent);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gd44-promo-link:hover {
    color: var(--gd44-success);
    text-decoration: underline;
}

.gd44-promo-btn {
    display: inline-block;
    background: var(--gd44-accent);
    color: var(--gd44-primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.gd44-promo-btn:hover {
    background: #00D9B1;
    transform: scale(1.05);
}

/* Features Grid */
.gd44-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gd44-feature-card {
    background: var(--gd44-bg-light);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--gd44-border);
}

.gd44-feature-icon {
    font-size: 2.4rem;
    color: var(--gd44-accent);
    margin-bottom: 0.8rem;
}

.gd44-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gd44-text);
    margin-bottom: 0.4rem;
}

.gd44-feature-text {
    font-size: 1rem;
    color: var(--gd44-text-muted);
}

/* RTP Stats */
.gd44-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.gd44-stat-item {
    background: var(--gd44-bg-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.gd44-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gd44-accent);
}

.gd44-stat-label {
    font-size: 1rem;
    color: var(--gd44-text-muted);
}

/* FAQ Accordion */
.gd44-faq-item {
    background: var(--gd44-bg-light);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.gd44-faq-question {
    padding: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gd44-text);
}

.gd44-faq-answer {
    padding: 0 1.2rem 1.2rem;
    color: var(--gd44-text-muted);
    line-height: 1.6;
}

/* Footer */
.gd44-footer {
    background: var(--gd44-secondary);
    padding: 2rem 1.2rem;
    border-top: 1px solid var(--gd44-border);
}

.gd44-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
    justify-content: center;
}

.gd44-footer-link {
    color: var(--gd44-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.gd44-footer-link:hover {
    color: var(--gd44-accent);
}

.gd44-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.gd44-partner-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gd44-partner-img:hover {
    opacity: 1;
}

.gd44-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gd44-text-muted);
}

/* Bottom Navigation */
.gd44-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gd44-gradient);
    height: 64px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.gd44-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--gd44-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gd44-nav-btn:hover {
    color: var(--gd44-accent);
    transform: scale(1.1);
}

.gd44-nav-btn-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.gd44-nav-btn-text {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop: Hide bottom nav */
@media (min-width: 769px) {
    .gd44-bottom-nav {
        display: none;
    }

    .gd44-main {
        padding-bottom: 2rem;
    }
}

/* Mobile: Add bottom padding */
@media (max-width: 768px) {
    .gd44-main {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.gd44-text-center {
    text-align: center;
}

.gd44-text-accent {
    color: var(--gd44-accent);
}

.gd44-mb-1 {
    margin-bottom: 0.8rem;
}

.gd44-mb-2 {
    margin-bottom: 1.6rem;
}

.gd44-mb-3 {
    margin-bottom: 2.4rem;
}

.gd44-hidden {
    display: none !important;
}

/* Touch feedback */
.gd44-touch {
    transition: transform 0.1s ease;
}

.gd44-touch-active {
    transform: scale(0.95);
}

/* Animations */
@keyframes gd44-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gd44-animate-in {
    animation: gd44-fadeIn 0.5s ease forwards;
}
