/* 2jl Website Universal CSS - Mobile First Design */
/* Color Palette: #1C2833 (Dark), #FF4500 (Orange), #FF9500 (Light Orange) */

/* 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: #fff;
    background-color: #1C2833;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FF4500;
}

h1 {
    font-size: 2.4rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
    color: #fff;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(28, 40, 51, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid #FF4500;
}

.header-content {
    max-width: 43rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
}

.site-name {
    font-size: 2rem;
    font-weight: bold;
    color: #FF4500;
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-btn {
    background-color: #FF4500;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.auth-btn:hover {
    background-color: #FF9500;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #FF4500;
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 28rem;
    height: 100vh;
    background-color: #1C2833;
    z-index: 1001;
    padding: 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid #FF4500;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #FF4500;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #FF4500;
    font-size: 2.4rem;
    cursor: pointer;
}

.mobile-menu-nav {
    list-style: none;
}

.mobile-menu-nav li {
    margin-bottom: 1.5rem;
}

.mobile-menu-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    padding: 1rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 69, 0, 0.3);
    transition: color 0.3s ease;
}

.mobile-menu-nav a:hover {
    color: #FF4500;
}

/* Main Content */
.main-content {
    margin-top: 8rem;
    padding: 0 1.5rem;
    max-width: 43rem;
    margin-left: auto;
    margin-right: auto;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 20rem;
    margin-bottom: 3rem;
    border-radius: 1rem;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #FF4500;
}

/* Game Sections */
.game-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    color: #FF4500;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-item {
    background-color: rgba(255, 69, 0, 0.1);
    border: 1px solid #FF4500;
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.game-item:hover {
    background-color: rgba(255, 69, 0, 0.2);
    transform: translateY(-0.2rem);
}

.game-image {
    width: 100%;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.game-name {
    font-size: 1.1rem;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Modules */
.content-module {
    background-color: rgba(255, 69, 0, 0.05);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.module-title {
    font-size: 1.8rem;
    color: #FF4500;
    margin-bottom: 1.5rem;
    text-align: center;
}

.module-content {
    text-align: center;
    line-height: 1.6;
}

.module-content p {
    margin-bottom: 1.5rem;
}

/* Promotional Links */
.promo-link {
    display: inline-block;
    background-color: #FF4500;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    margin: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #FF4500;
}

.promo-link:hover {
    background-color: #FF9500;
    border-color: #FF9500;
    transform: translateY(-0.2rem);
}

.promo-link.secondary {
    background-color: transparent;
    color: #FF4500;
    border: 2px solid #FF4500;
}

.promo-link.secondary:hover {
    background-color: #FF4500;
    color: #fff;
}

/* Footer */
.footer {
    background-color: rgba(28, 40, 51, 0.95);
    padding: 3rem 1.5rem 10rem;
    margin-top: 5rem;
    border-top: 1px solid #FF4500;
}

.footer-content {
    max-width: 43rem;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.6rem;
    color: #FF4500;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #FF4500;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background-color: #FF4500;
    color: #fff;
}

.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: #ccc;
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(28, 40, 51, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #FF4500;
    padding: 1rem 0;
    z-index: 999;
}

.bottom-nav-content {
    max-width: 43rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
    padding: 0.5rem;
    min-width: 4.4rem;
    min-height: 4.4rem;
    justify-content: center;
}

.bottom-nav-item:hover {
    color: #FF4500;
}

.bottom-nav-item i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.bottom-nav-item span {
    font-size: 1rem;
    font-weight: bold;
}

/* RTP Analysis Table */
.rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background-color: rgba(255, 69, 0, 0.05);
}

.rtp-table th,
.rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 69, 0, 0.3);
}

.rtp-table th {
    background-color: rgba(255, 69, 0, 0.2);
    color: #FF4500;
    font-weight: bold;
}

.rtp-table td {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 320px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .game-image {
        height: 5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 375px) {
    .game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) {
    .main-content {
        padding: 0 2rem;
    }
    
    .header-content {
        padding: 0 2rem;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .header-nav {
        display: flex;
        gap: 2rem;
    }
    
    .header-nav a {
        color: #fff;
        text-decoration: none;
        font-size: 1.4rem;
        transition: color 0.3s ease;
    }
    
    .header-nav a:hover {
        color: #FF4500;
    }
    
    .bottom-nav {
        display: none;
    }
    
    .footer {
        padding-bottom: 3rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-bold {
    font-weight: bold;
}

.text-orange {
    color: #FF4500;
}

.text-light-orange {
    color: #FF9500;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.promo-link:focus,
.game-item:focus,
.bottom-nav-item:focus {
    outline: 2px solid #FF9500;
    outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .game-item {
        border-width: 2px;
    }
    
    .promo-link {
        border-width: 3px;
    }
} 