/**
 * Jilib Casino - Main Stylesheet
 * All classes use prefix: g43a-
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --g43a-primary: #CD853F;
    --g43a-secondary: #34495E;
    --g43a-accent: #F0FDFF;
    --g43a-bg-dark: #34495E;
    --g43a-bg-light: #FDF5E6;
    --g43a-text-light: #F0FDFF;
    --g43a-text-dark: #34495E;
    --g43a-border: #CED4DA;
    --g43a-gold: #CD853F;
    --g43a-cream: #FAF0E6;
    --g43a-shadow: rgba(0, 0, 0, 0.15);
    --g43a-radius: 8px;
    --g43a-transition: all 0.3s ease;
}

/* Reset and Base */
* {
    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;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--g43a-text-dark);
    background-color: var(--g43a-bg-light);
    overflow-x: hidden;
}

/* Container */
.g43a-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.g43a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--g43a-bg-dark) 0%, #2c3e50 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--g43a-shadow);
}

.g43a-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.g43a-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.g43a-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.g43a-logo-text {
    color: var(--g43a-gold);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.g43a-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g43a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--g43a-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--g43a-transition);
    text-decoration: none;
    min-height: 36px;
}

.g43a-btn-primary {
    background: linear-gradient(135deg, var(--g43a-gold) 0%, #b8860b 100%);
    color: white;
}

.g43a-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.g43a-btn-secondary {
    background: transparent;
    border: 2px solid var(--g43a-gold);
    color: var(--g43a-gold);
}

.g43a-btn-secondary:hover {
    background: var(--g43a-gold);
    color: white;
}

/* Hamburger Menu */
.g43a-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}

.g43a-hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--g43a-gold);
    border-radius: 2px;
    transition: var(--g43a-transition);
}

.g43a-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.g43a-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.g43a-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.g43a-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g43a-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.g43a-menu-active {
    right: 0;
}

.g43a-mobile-menu ul {
    list-style: none;
}

.g43a-mobile-menu li {
    margin-bottom: 1rem;
}

.g43a-mobile-menu a {
    display: block;
    color: var(--g43a-text-light);
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    border-radius: var(--g43a-radius);
    transition: var(--g43a-transition);
    font-size: 1.5rem;
}

.g43a-mobile-menu a:hover {
    background: rgba(205, 133, 63, 0.2);
    color: var(--g43a-gold);
}

.g43a-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: var(--g43a-transition);
}

.g43a-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.g43a-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.g43a-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
}

.g43a-slides {
    position: relative;
    width: 100%;
}

.g43a-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.g43a-slide-active {
    display: block;
}

.g43a-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.g43a-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g43a-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--g43a-transition);
}

.g43a-dot-active {
    background: var(--g43a-gold);
}

/* Sections */
.g43a-section {
    padding: 2.5rem 0;
}

.g43a-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--g43a-bg-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.g43a-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--g43a-gold);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Game Grid */
.g43a-game-section {
    padding: 2rem 0;
}

.g43a-game-category {
    margin-bottom: 2.5rem;
}

.g43a-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--g43a-bg-dark);
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--g43a-gold);
}

.g43a-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.g43a-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: var(--g43a-radius);
    box-shadow: 0 2px 8px var(--g43a-shadow);
    cursor: pointer;
    transition: var(--g43a-transition);
    text-decoration: none;
}

.g43a-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--g43a-shadow);
}

.g43a-game-icon {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.g43a-game-name {
    font-size: 1.1rem;
    color: var(--g43a-text-dark);
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Cards */
.g43a-card {
    background: white;
    border-radius: var(--g43a-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px var(--g43a-shadow);
}

.g43a-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--g43a-bg-dark);
    margin-bottom: 1.2rem;
}

.g43a-card-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #555;
}

.g43a-card-text p {
    margin-bottom: 1rem;
}

.g43a-card-text a {
    color: var(--g43a-gold);
    text-decoration: none;
    font-weight: 600;
}

.g43a-card-text a:hover {
    text-decoration: underline;
}

/* Promo Link */
.g43a-promo-link {
    color: var(--g43a-gold);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--g43a-transition);
}

.g43a-promo-link:hover {
    color: #b8860b;
    text-decoration: underline;
}

/* Features List */
.g43a-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.g43a-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--g43a-cream);
    border-radius: var(--g43a-radius);
}

.g43a-feature-icon {
    font-size: 2.4rem;
    color: var(--g43a-gold);
    min-width: 40px;
}

.g43a-feature-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g43a-bg-dark);
    margin-bottom: 0.5rem;
}

.g43a-feature-content p {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.5;
}

/* Footer */
.g43a-footer {
    background: linear-gradient(135deg, var(--g43a-bg-dark) 0%, #1a252f 100%);
    color: var(--g43a-text-light);
    padding: 3rem 0 1rem;
}

.g43a-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.g43a-footer-links a {
    color: var(--g43a-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    transition: var(--g43a-transition);
}

.g43a-footer-links a:hover {
    color: var(--g43a-gold);
}

.g43a-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.g43a-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--g43a-transition);
}

.g43a-partner-logo:hover {
    opacity: 1;
}

.g43a-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 1.5rem;
}

/* Mobile Bottom Navigation */
.g43a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, var(--g43a-bg-dark) 0%, #1a252f 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--g43a-shadow);
}

.g43a-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--g43a-transition);
    text-decoration: none;
    color: var(--g43a-text-light);
}

.g43a-nav-item:hover,
.g43a-nav-item-active {
    color: var(--g43a-gold);
    transform: scale(1.1);
}

.g43a-nav-item i,
.g43a-nav-item .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

.g43a-nav-item ion-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.g43a-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .g43a-bottom-nav {
        display: none;
    }

    .g43a-main {
        padding-bottom: 2rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .g43a-main {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.g43a-text-center {
    text-align: center;
}

.g43a-text-gold {
    color: var(--g43a-gold);
}

.g43a-mb-1 {
    margin-bottom: 1rem;
}

.g43a-mb-2 {
    margin-bottom: 2rem;
}

.g43a-mt-2 {
    margin-top: 2rem;
}

/* CTA Section */
.g43a-cta {
    background: linear-gradient(135deg, var(--g43a-gold) 0%, #b8860b 100%);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: var(--g43a-radius);
    margin: 2rem 0;
}

.g43a-cta h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.g43a-cta p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.g43a-cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: var(--g43a-gold);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--g43a-transition);
}

.g43a-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* List styles */
.g43a-list {
    list-style: none;
    padding: 0;
}

.g43a-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--g43a-border);
    font-size: 1.4rem;
    color: #555;
}

.g43a-list li:last-child {
    border-bottom: none;
}

/* Badge */
.g43a-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--g43a-gold);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
}

/* H1 title */
.g43a-page-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--g43a-bg-dark);
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--g43a-cream) 0%, var(--g43a-bg-light) 100%);
    margin-bottom: 1rem;
}

/* FAQ Accordion */
.g43a-faq-item {
    background: white;
    border-radius: var(--g43a-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--g43a-shadow);
}

.g43a-faq-question {
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g43a-bg-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g43a-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
}
