/* JL Boss Games - Main Stylesheet */
/* Mobile-first responsive design for casino gaming website */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #FF91A4;
    background: linear-gradient(135deg, #1A1A1A 0%, #004D40 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Color variables */
:root {
    --primary-dark: #004D40;
    --accent-orange: #FF5722;
    --accent-teal: #008B8B;
    --accent-pink: #FF91A4;
    --text-dark: #1A1A1A;
    --text-light: #FF91A4;
    --bg-dark: #1A1A1A;
    --bg-gradient: linear-gradient(135deg, #1A1A1A 0%, #004D40 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #FF5722;
    font-weight: bold;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.4rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: #FF91A4;
}

a {
    color: #008B8B;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF5722;
}

/* Container and layout */
.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 2rem 0;
    margin-bottom: 1rem;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid #FF5722;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-container img {
    width: 3.2rem;
    height: 3.2rem;
}

.site-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #FF5722;
    text-decoration: none;
}

.auth-buttons {
    display: flex;
    gap: 0.8rem;
}

.auth-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(45deg, #FF5722, #008B8B);
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 4.4rem;
    min-width: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

/* Mobile navigation */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    width: 3rem;
    height: 3rem;
    justify-content: center;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 0.2rem;
    background: #FF5722;
    margin: 0.2rem 0;
    transition: all 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

.mobile-nav-menu {
    position: fixed;
    top: 7rem;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu ul {
    list-style: none;
}

.mobile-nav-menu li {
    margin-bottom: 1.5rem;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem;
    color: #FF91A4;
    font-size: 1.6rem;
    border-bottom: 1px solid #004D40;
    transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: #FF5722;
    background: rgba(255, 87, 34, 0.1);
}

/* Main content */
.main {
    margin-top: 8rem;
    padding-bottom: 8rem;
}

/* Carousel styles */
.carousel-container {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    position: relative;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    cursor: pointer;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.8rem;
    transition: background 0.3s ease;
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-nav:hover {
    background: rgba(255, 87, 34, 0.7);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 145, 164, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #FF5722;
}

/* Game grid */
.games-section {
    margin-bottom: 3rem;
}

.games-category {
    margin-bottom: 2.5rem;
}

.category-title {
    font-size: 1.8rem;
    color: #FF5722;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-bottom: 2px solid #008B8B;
    padding-bottom: 0.5rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-item {
    background: rgba(0, 77, 64, 0.3);
    border-radius: 0.8rem;
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 4.4rem;
}

.game-item:hover {
    transform: translateY(-3px);
    border-color: #FF5722;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.game-item img {
    width: 100%;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.4rem;
    margin-bottom: 0.5rem;
}

.game-name {
    font-size: 1rem;
    color: #FF91A4;
    font-weight: bold;
    line-height: 1.2;
}

/* Promotional links */
.promo-link {
    background: linear-gradient(45deg, #FF5722, #008B8B);
    color: white;
    padding: 1rem 2rem;
    border-radius: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.4rem;
    min-height: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
    background: linear-gradient(45deg, #008B8B, #FF5722);
}

.promo-text {
    color: #008B8B;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

.promo-text:hover {
    color: #FF5722;
}

/* Content sections */
.content-section {
    background: rgba(0, 77, 64, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #FF5722;
}

.content-section h2 {
    color: #FF5722;
    margin-bottom: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* RTP Analysis */
.rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.rtp-item {
    background: rgba(255, 87, 34, 0.1);
    border-radius: 0.8rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #008B8B;
}

.rtp-value {
    font-size: 2rem;
    font-weight: bold;
    color: #FF5722;
    display: block;
}

.rtp-label {
    font-size: 1.2rem;
    color: #FF91A4;
    margin-top: 0.5rem;
}

/* FAQ styles */
.faq-item {
    background: rgba(0, 77, 64, 0.2);
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: rgba(255, 87, 34, 0.1);
    padding: 1.5rem;
    color: #FF5722;
    font-weight: bold;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.4rem;
}

.faq-answer {
    padding: 1.5rem;
    color: #FF91A4;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(26, 26, 26, 0.95);
    padding: 3rem 0 10rem;
    margin-top: 4rem;
    border-top: 2px solid #FF5722;
}

.footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #008B8B;
    padding: 0.8rem;
    border-radius: 0.5rem;
    background: rgba(0, 77, 64, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 87, 34, 0.2);
    color: #FF5722;
}

.partners-section {
    margin: 2rem 0;
}

.partners-title {
    font-size: 1.4rem;
    color: #FF5722;
    margin-bottom: 1rem;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.partner-logo {
    width: 100%;
    height: 4rem;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    color: #FF91A4;
    font-size: 1.2rem;
    padding-top: 2rem;
    border-top: 1px solid #004D40;
}

/* Bottom navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-top: 2px solid #FF5722;
    z-index: 1000;
}

.bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FF91A4;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    min-height: 4.4rem;
    min-width: 4.4rem;
    justify-content: center;
}

.bottom-nav-item:hover {
    color: #FF5722;
    transform: translateY(-2px);
}

.bottom-nav-item i {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.bottom-nav-item span {
    font-size: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (min-width: 430px) {
    .container {
        max-width: 430px;
    }
    
    .games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .rtp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Print styles */
@media print {
    .header,
    .bottom-nav,
    .carousel-nav,
    .mobile-nav-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
} 