/**
 * JLJL13 Gaming Platform - Main Stylesheet
 * Class prefix: seec-
 * Mobile-first responsive design
 * Colors: #40E0D0 (primary) | #E8F5E8 (light) | #F08080 (accent) | #B2DFDB (secondary) | #1E1E1E (dark bg)
 */

/* ==================== CSS Variables ==================== */
:root {
    --seec-primary: #40E0D0;
    --seec-primary-dark: #2BC4B5;
    --seec-primary-light: #7FEADE;
    --seec-secondary: #B2DFDB;
    --seec-accent: #F08080;
    --seec-accent-light: #FFB3B3;
    --seec-bg-dark: #1E1E1E;
    --seec-bg-darker: #151515;
    --seec-bg-card: #2A2A2A;
    --seec-bg-card-hover: #333333;
    --seec-text-light: #E8F5E8;
    --seec-text-muted: #A0A0A0;
    --seec-text-dark: #1E1E1E;
    --seec-border: #3A3A3A;
    --seec-shadow: rgba(0, 0, 0, 0.3);
    --seec-gradient-primary: linear-gradient(135deg, #40E0D0 0%, #B2DFDB 100%);
    --seec-gradient-accent: linear-gradient(135deg, #F08080 0%, #FFB3B3 100%);
    --seec-gradient-dark: linear-gradient(180deg, #1E1E1E 0%, #151515 100%);
    --seec-radius-sm: 8px;
    --seec-radius-md: 12px;
    --seec-radius-lg: 20px;
    --seec-radius-full: 50px;
    --seec-transition: all 0.3s ease;
    --seec-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--seec-font-family);
    background: var(--seec-bg-dark);
    color: var(--seec-text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.seec-menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--seec-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==================== Container ==================== */
.seec-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 769px) {
    .seec-container {
        max-width: 1200px;
    }
}

/* ==================== Header ==================== */
.seec-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--seec-border);
    z-index: 1000;
    transition: var(--seec-transition);
}

.seec-header.seec-scrolled {
    background: rgba(21, 21, 21, 0.98);
    box-shadow: 0 4px 20px var(--seec-shadow);
}

.seec-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
    max-width: 430px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .seec-header-inner {
        max-width: 1200px;
    }
}

.seec-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seec-logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--seec-radius-sm);
}

.seec-logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--seec-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seec-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--seec-radius-full);
    border: none;
    cursor: pointer;
    transition: var(--seec-transition);
}

.seec-btn-primary {
    background: var(--seec-gradient-primary);
    color: var(--seec-text-dark);
}

.seec-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

.seec-btn-secondary {
    background: transparent;
    color: var(--seec-primary);
    border: 2px solid var(--seec-primary);
}

.seec-btn-secondary:hover {
    background: var(--seec-primary);
    color: var(--seec-text-dark);
}

.seec-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--seec-text-light);
    font-size: 24px;
    cursor: pointer;
}

@media (min-width: 769px) {
    .seec-menu-toggle {
        display: none;
    }
}

/* Desktop Navigation */
.seec-desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .seec-desktop-nav {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .seec-desktop-nav a {
        color: var(--seec-text-light);
        font-size: 15px;
        font-weight: 500;
        padding: 8px 0;
        position: relative;
    }

    .seec-desktop-nav a:hover {
        color: var(--seec-primary);
    }

    .seec-desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--seec-primary);
        transition: var(--seec-transition);
    }

    .seec-desktop-nav a:hover::after {
        width: 100%;
    }
}

/* ==================== Mobile Menu ==================== */
.seec-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--seec-bg-darker);
    z-index: 9999;
    transition: var(--seec-transition);
    overflow-y: auto;
    padding: 20px;
}

.seec-mobile-menu.seec-active {
    left: 0;
}

.seec-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--seec-transition);
}

.seec-menu-overlay.seec-active {
    opacity: 1;
    visibility: visible;
}

.seec-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--seec-border);
}

.seec-mobile-menu-close {
    width: 36px;
    height: 36px;
    background: var(--seec-bg-card);
    border: none;
    border-radius: 50%;
    color: var(--seec-text-light);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seec-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seec-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--seec-bg-card);
    border-radius: var(--seec-radius-md);
    color: var(--seec-text-light);
    font-size: 15px;
    font-weight: 500;
}

.seec-mobile-nav a:hover {
    background: var(--seec-bg-card-hover);
    color: var(--seec-primary);
}

.seec-mobile-nav a i,
.seec-mobile-nav a .material-icons {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* ==================== Main Content ==================== */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* ==================== Carousel ==================== */
.seec-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

@media (min-width: 769px) {
    .seec-carousel {
        height: 400px;
    }
}

.seec-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.seec-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seec-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.seec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--seec-transition);
}

.seec-dot.seec-active {
    background: var(--seec-primary);
    width: 24px;
    border-radius: 4px;
}

/* ==================== Section Titles ==================== */
.seec-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seec-section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--seec-gradient-primary);
    border-radius: 2px;
}

@media (min-width: 769px) {
    .seec-section-title {
        font-size: 28px;
    }
}

/* ==================== Game Grid ==================== */
.seec-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (min-width: 769px) {
    .seec-game-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

.seec-game-card {
    position: relative;
    border-radius: var(--seec-radius-md);
    overflow: hidden;
    background: var(--seec-bg-card);
    cursor: pointer;
    transition: var(--seec-transition);
}

.seec-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--seec-shadow);
}

.seec-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.seec-game-card-name {
    padding: 8px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--seec-bg-card);
}

@media (min-width: 769px) {
    .seec-game-card-name {
        font-size: 13px;
        padding: 12px;
    }
}

.seec-game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(64, 224, 208, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--seec-transition);
}

.seec-game-card:hover .seec-game-card-overlay {
    opacity: 1;
}

.seec-play-icon {
    font-size: 36px;
    color: var(--seec-text-dark);
}

/* ==================== Category Tabs ==================== */
.seec-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.seec-category-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--seec-bg-card);
    border: 2px solid var(--seec-border);
    border-radius: var(--seec-radius-full);
    color: var(--seec-text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--seec-transition);
}

.seec-category-tab.seec-active {
    background: var(--seec-gradient-primary);
    border-color: var(--seec-primary);
    color: var(--seec-text-dark);
}

.seec-category-content {
    display: none;
}

.seec-category-content.seec-active {
    display: block;
}

/* ==================== Content Modules ==================== */
.seec-content-section {
    padding: 24px 0;
}

.seec-content-card {
    background: var(--seec-bg-card);
    border-radius: var(--seec-radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.seec-content-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--seec-primary);
}

.seec-content-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--seec-text-muted);
    margin-bottom: 12px;
}

.seec-content-card a {
    color: var(--seec-primary);
    font-weight: 500;
}

.seec-content-card a:hover {
    text-decoration: underline;
}

/* ==================== Features Grid ==================== */
.seec-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 769px) {
    .seec-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.seec-feature-card {
    background: var(--seec-bg-card);
    border-radius: var(--seec-radius-md);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--seec-transition);
}

.seec-feature-card:hover {
    background: var(--seec-bg-card-hover);
    transform: translateY(-4px);
}

.seec-feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: var(--seec-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--seec-text-dark);
}

.seec-feature-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.seec-feature-card p {
    font-size: 12px;
    color: var(--seec-text-muted);
}

/* ==================== CTA Section ==================== */
.seec-cta-section {
    background: var(--seec-gradient-dark);
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--seec-radius-lg);
    margin: 24px 0;
}

.seec-cta-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.seec-cta-section p {
    font-size: 14px;
    color: var(--seec-text-muted);
    margin-bottom: 24px;
}

.seec-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 769px) {
    .seec-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.seec-cta-buttons .seec-btn {
    padding: 14px 32px;
    font-size: 16px;
}

/* ==================== Footer ==================== */
.seec-footer {
    background: var(--seec-bg-darker);
    padding: 40px 16px 20px;
    border-top: 1px solid var(--seec-border);
}

.seec-footer-partners {
    margin-bottom: 30px;
}

.seec-footer-partners h4 {
    font-size: 14px;
    color: var(--seec-text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.seec-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.seec-partners-grid img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--seec-transition);
}

.seec-partners-grid img:hover {
    opacity: 1;
}

.seec-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

@media (min-width: 769px) {
    .seec-footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

.seec-footer-column h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--seec-primary);
}

.seec-footer-column a {
    display: block;
    font-size: 13px;
    color: var(--seec-text-muted);
    padding: 6px 0;
}

.seec-footer-column a:hover {
    color: var(--seec-primary);
}

.seec-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--seec-border);
}

.seec-footer-bottom p {
    font-size: 12px;
    color: var(--seec-text-muted);
    margin-bottom: 8px;
}

/* ==================== Bottom Navigation ==================== */
.seec-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--seec-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 769px) {
    .seec-bottom-nav {
        display: none;
    }
}

.seec-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 8px;
    color: var(--seec-text-muted);
    cursor: pointer;
    transition: var(--seec-transition);
}

.seec-nav-item:hover,
.seec-nav-item.seec-active {
    color: var(--seec-primary);
}

.seec-nav-item i,
.seec-nav-item .material-icons,
.seec-nav-item ion-icon,
.seec-nav-item bi {
    font-size: 24px;
    margin-bottom: 4px;
}

.seec-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* ==================== Utility Classes ==================== */
.seec-text-primary {
    color: var(--seec-primary);
}

.seec-text-accent {
    color: var(--seec-accent);
}

.seec-bg-card {
    background: var(--seec-bg-card);
}

.seec-mb-16 {
    margin-bottom: 16px;
}

.seec-mb-24 {
    margin-bottom: 24px;
}

.seec-mt-24 {
    margin-top: 24px;
}

.seec-text-center {
    text-align: center;
}

.seec-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .seec-hidden-mobile {
        display: block;
    }
}

/* ==================== Help Page Styles ==================== */
.seec-help-hero {
    background: var(--seec-gradient-primary);
    padding: 40px 20px;
    text-align: center;
    color: var(--seec-text-dark);
}

.seec-help-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.seec-help-hero p {
    font-size: 14px;
    opacity: 0.9;
}

.seec-help-content {
    padding: 24px 16px;
}

.seec-faq-item {
    background: var(--seec-bg-card);
    border-radius: var(--seec-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.seec-faq-question {
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seec-faq-answer {
    padding: 0 16px 16px;
    font-size: 14px;
    color: var(--seec-text-muted);
    line-height: 1.7;
}

.seec-step-list {
    counter-reset: step;
}

.seec-step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--seec-bg-card);
    border-radius: var(--seec-radius-md);
}

.seec-step-number {
    width: 32px;
    height: 32px;
    background: var(--seec-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--seec-text-dark);
    flex-shrink: 0;
}

.seec-step-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.seec-step-content p {
    font-size: 13px;
    color: var(--seec-text-muted);
}

/* ==================== Animations ==================== */
@keyframes seec-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes seec-shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.seec-animate-pulse {
    animation: seec-pulse 2s ease-in-out infinite;
}
