/**
 * 365 Casino - Main Stylesheet
 * All classes use prefix: s1ef-
 * Website: 365casino.sbs
 */

/* CSS Variables */
:root {
    --s1ef-primary: #48D1CC;
    --s1ef-secondary: #CD5C5C;
    --s1ef-accent: #B22222;
    --s1ef-bg: #1A1A2E;
    --s1ef-bg-light: #252540;
    --s1ef-bg-card: #2A2A45;
    --s1ef-text: #E8F5E8;
    --s1ef-text-muted: #A0A0B0;
    --s1ef-border: #3A3A55;
    --s1ef-success: #4CAF50;
    --s1ef-warning: #FF9800;
    --s1ef-gradient: linear-gradient(135deg, #48D1CC 0%, #CD5C5C 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--s1ef-bg);
    color: var(--s1ef-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.s1ef-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}

.s1ef-wrapper {
    padding: 20px 0;
}

/* Header */
.s1ef-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--s1ef-bg);
    border-bottom: 1px solid var(--s1ef-border);
    z-index: 1000;
    padding: 10px 0;
}

.s1ef-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    max-width: 430px;
    margin: 0 auto;
}

.s1ef-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.s1ef-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.s1ef-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--s1ef-text);
}

.s1ef-logo-text span {
    color: var(--s1ef-primary);
}

.s1ef-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.s1ef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.s1ef-btn-primary {
    background: var(--s1ef-gradient);
    color: #fff;
}

.s1ef-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(72, 209, 204, 0.4);
}

.s1ef-btn-outline {
    background: transparent;
    color: var(--s1ef-primary);
    border: 2px solid var(--s1ef-primary);
}

.s1ef-btn-outline:hover {
    background: var(--s1ef-primary);
    color: var(--s1ef-bg);
}

.s1ef-menu-btn {
    background: transparent;
    border: none;
    color: var(--s1ef-text);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu */
.s1ef-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s1ef-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.s1ef-menu-active {
    right: 0;
}

.s1ef-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--s1ef-border);
}

.s1ef-close-menu {
    background: transparent;
    border: none;
    color: var(--s1ef-text);
    font-size: 24px;
    cursor: pointer;
}

.s1ef-menu-nav {
    list-style: none;
}

.s1ef-menu-nav li {
    margin-bottom: 5px;
}

.s1ef-menu-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--s1ef-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.s1ef-menu-nav a:hover {
    background: var(--s1ef-bg-card);
    color: var(--s1ef-primary);
}

.s1ef-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.s1ef-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s1ef-no-scroll {
    overflow: hidden;
}

/* Main Content */
.s1ef-main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    .s1ef-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.s1ef-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
}

.s1ef-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.s1ef-slide-active {
    opacity: 1;
}

.s1ef-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles */
.s1ef-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--s1ef-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.s1ef-section-title i {
    color: var(--s1ef-primary);
}

/* Game Grid */
.s1ef-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.s1ef-game-card {
    background: var(--s1ef-bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s1ef-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(72, 209, 204, 0.3);
}

.s1ef-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.s1ef-game-card-title {
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Tabs */
.s1ef-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.s1ef-tabs::-webkit-scrollbar {
    display: none;
}

.s1ef-tab {
    flex-shrink: 0;
    padding: 8px 18px;
    background: var(--s1ef-bg-card);
    border: 1px solid var(--s1ef-border);
    border-radius: 20px;
    color: var(--s1ef-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s1ef-tab:hover,
.s1ef-tab-active {
    background: var(--s1ef-gradient);
    color: #fff;
    border-color: transparent;
}

/* Content Sections */
.s1ef-content-section {
    background: var(--s1ef-bg-card);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.s1ef-content-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--s1ef-primary);
}

.s1ef-content-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--s1ef-text-muted);
    margin-bottom: 12px;
}

.s1ef-content-section ul {
    list-style: none;
    margin-bottom: 15px;
}

.s1ef-content-section li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: var(--s1ef-text-muted);
}

.s1ef-content-section li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--s1ef-primary);
}

/* Bottom Navigation */
.s1ef-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--s1ef-bg-light);
    border-top: 1px solid var(--s1ef-border);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
}

@media (min-width: 769px) {
    .s1ef-bottom-nav {
        display: none;
    }
}

.s1ef-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--s1ef-text-muted);
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    min-height: 50px;
    border-radius: 12px;
}

.s1ef-nav-btn:hover,
.s1ef-nav-btn-active {
    color: var(--s1ef-primary);
    background: rgba(72, 209, 204, 0.1);
}

.s1ef-nav-btn i,
.s1ef-nav-btn .material-icons {
    font-size: 24px;
}

/* Footer */
.s1ef-footer {
    background: var(--s1ef-bg-light);
    padding: 30px 15px;
    border-top: 1px solid var(--s1ef-border);
}

.s1ef-footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--s1ef-primary);
}

.s1ef-partners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.s1ef-partners img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: var(--s1ef-bg-card);
    padding: 8px;
}

.s1ef-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.s1ef-footer-links a {
    color: var(--s1ef-text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.s1ef-footer-links a:hover {
    color: var(--s1ef-primary);
}

.s1ef-copyright {
    text-align: center;
    font-size: 12px;
    color: var(--s1ef-text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--s1ef-border);
}

/* Animations */
.s1ef-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.s1ef-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.s1ef-text-center {
    text-align: center;
}

.s1ef-mb-20 {
    margin-bottom: 20px;
}

.s1ef-mt-20 {
    margin-top: 20px;
}

/* FAQ Section */
.s1ef-faq-item {
    background: var(--s1ef-bg-light);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.s1ef-faq-question {
    padding: 15px;
    font-weight: 600;
    color: var(--s1ef-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s1ef-faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
    color: var(--s1ef-text-muted);
    line-height: 1.6;
}

/* Features List */
.s1ef-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.s1ef-feature-item {
    background: var(--s1ef-bg-light);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.s1ef-feature-item i,
.s1ef-feature-item .material-icons {
    font-size: 32px;
    color: var(--s1ef-primary);
    margin-bottom: 10px;
}

.s1ef-feature-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.s1ef-feature-item p {
    font-size: 12px;
    color: var(--s1ef-text-muted);
}

/* CTA Section */
.s1ef-cta {
    background: var(--s1ef-gradient);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
}

.s1ef-cta h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.s1ef-cta p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.s1ef-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: var(--s1ef-accent);
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.s1ef-cta-btn:hover {
    transform: scale(1.05);
}

/* Internal Links */
.s1ef-internal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.s1ef-internal-links a {
    display: inline-block;
    padding: 8px 15px;
    background: var(--s1ef-bg-light);
    border: 1px solid var(--s1ef-border);
    border-radius: 20px;
    color: var(--s1ef-text);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.s1ef-internal-links a:hover {
    background: var(--s1ef-primary);
    border-color: var(--s1ef-primary);
    color: var(--s1ef-bg);
}
