/* 33WIM Website - Main CSS Styles */
/* Mobile-first responsive design with casino theme */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px base for rem calculations */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2C2C2C;
    color: #48D1CC;
    line-height: 1.5;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Typography */
h1 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #48D1CC;
    text-align: center;
}

h2 {
    font-size: 2.0rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    color: #48D1CC;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #48D1CC;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5rem;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(72, 209, 204, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #48D1CC;
}

.logo-section img {
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 0.8rem;
}

.site-name {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-buttons {
    display: flex;
    gap: 0.8rem;
}

.nav-btn {
    background: linear-gradient(135deg, #48D1CC 0%, #20B2AA 100%);
    color: #2C2C2C;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 0.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 4.4rem;
    height: 4.4rem;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #20B2AA 0%, #48D1CC 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 209, 204, 0.4);
}

.nav-toggle {
    background: none;
    border: none;
    color: #48D1CC;
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.8rem;
}

/* Mobile navigation menu */
.mobile-nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #48D1CC;
    border-radius: 0.8rem;
    padding: 1rem;
    display: none;
    min-width: 20rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-nav-menu a {
    display: block;
    color: #48D1CC;
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
}

.mobile-nav-menu a:hover {
    background-color: #333;
}

.mobile-nav-menu a:last-child {
    border-bottom: none;
}

/* Main content */
.main-content {
    margin-top: 8rem;
    padding: 1rem;
    margin-bottom: 8rem; /* Space for bottom navigation */
}

/* Carousel styles */
.carousel-container {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(72, 209, 204, 0.3);
}

.carousel-slide {
    display: none;
    position: relative;
}

.carousel-slide:first-child {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    cursor: pointer;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 44, 44, 0.7), rgba(72, 209, 204, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-text {
    color: #48D1CC;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Game grid styles */
.games-section {
    margin-bottom: 3rem;
}

.games-category {
    margin-bottom: 2.5rem;
}

.category-title {
    background: linear-gradient(135deg, #48D1CC 0%, #20B2AA 100%);
    color: #2C2C2C;
    padding: 1rem;
    border-radius: 0.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-item {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 0.8rem;
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-item:hover {
    border-color: #48D1CC;
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 209, 204, 0.4);
}

.game-item img {
    width: 100%;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.4rem;
    margin-bottom: 0.5rem;
}

.game-name {
    font-size: 1rem;
    color: #48D1CC;
    font-weight: 500;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content sections */
.content-section {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    color: #48D1CC;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #48D1CC;
}

.content-section p {
    margin-bottom: 1.2rem;
    color: #cccccc;
}

/* Promotional links and buttons */
.promo-link, .promo-btn {
    color: #48D1CC;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-block;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.promo-link:hover, .promo-btn:hover {
    color: #20B2AA;
    text-shadow: 0 0 5px rgba(72, 209, 204, 0.5);
}

.promo-btn {
    background: linear-gradient(135deg, #48D1CC 0%, #20B2AA 100%);
    color: #2C2C2C;
    padding: 1.2rem 2.4rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    margin: 1rem 0;
    min-width: 4.4rem;
    min-height: 4.4rem;
}

.promo-btn:hover {
    background: linear-gradient(135deg, #20B2AA 0%, #48D1CC 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(72, 209, 204, 0.5);
}

/* RTP Analysis */
.rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.rtp-item {
    background: #333;
    padding: 1.5rem;
    border-radius: 0.8rem;
    text-align: center;
    border: 1px solid #48D1CC;
}

.rtp-value {
    font-size: 2.4rem;
    font-weight: bold;
    color: #48D1CC;
    display: block;
}

.rtp-label {
    font-size: 1.2rem;
    color: #cccccc;
    margin-top: 0.5rem;
}

/* Footer styles */
.footer {
    background: #1a1a1a;
    padding: 2rem 1rem;
    border-top: 2px solid #48D1CC;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.footer-links a {
    color: #48D1CC;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border: 1px solid #48D1CC;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: #48D1CC;
    color: #2C2C2C;
}

.partners-section {
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.partner-logo {
    width: 100%;
    height: 4rem;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    border-radius: 0.4rem;
    background: #333;
    padding: 0.5rem;
}

.partner-logo:hover {
    filter: grayscale(0%);
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 1.2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Bottom navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: #1a1a1a;
    border-top: 2px solid #48D1CC;
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    z-index: 999;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #48D1CC;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    min-width: 4.4rem;
    min-height: 4.4rem;
}

.bottom-nav-item:hover {
    color: #20B2AA;
    transform: translateY(-2px);
}

.bottom-nav-item i {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.bottom-nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 8rem;
    right: 2rem;
    background: #48D1CC;
    color: #2C2C2C;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 998;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 209, 204, 0.4);
}

.back-to-top:hover {
    background: #20B2AA;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(72, 209, 204, 0.6);
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .game-item img {
        height: 5rem;
    }
    
    .rtp-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 375px) and (max-width: 430px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Loading animation */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid #48D1CC;
    outline-offset: 2px;
} 