/**
 * 365casinologin - Main Stylesheet
 * Version: 1.0.0
 * All classes use prefix: wc1ec-
 * Color palette: #FF8000 | #273746 | #9400D3 | #A9A9A9 | #FF4500 | #FFB74D
 */

/* CSS Variables */
:root {
    --wc1ec-primary: #FF8000;
    --wc1ec-secondary: #9400D3;
    --wc1ec-dark: #273746;
    --wc1ec-light: #FFB74D;
    --wc1ec-accent: #FF4500;
    --wc1ec-gray: #A9A9A9;
    --wc1ec-white: #ffffff;
    --wc1ec-bg-dark: #1a252f;
    --wc1ec-bg-card: #2d3b47;
    --wc1ec-text-light: #f5f5f5;
    --wc1ec-text-muted: #b0b0b0;
    --wc1ec-border: #3d4f5f;
    --wc1ec-gradient: linear-gradient(135deg, #FF8000 0%, #FF4500 50%, #9400D3 100%);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--wc1ec-text-light);
    background: var(--wc1ec-bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--wc1ec-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--wc1ec-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.wc1ec-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.wc1ec-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--wc1ec-dark) 0%, rgba(39, 55, 70, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.wc1ec-header-scrolled {
    background: rgba(26, 37, 47, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.wc1ec-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.wc1ec-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wc1ec-logo img {
    width: 32px;
    height: 32px;
}

.wc1ec-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--wc1ec-primary);
    letter-spacing: -0.5px;
}

.wc1ec-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wc1ec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: 2.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc1ec-btn-primary {
    background: var(--wc1ec-gradient);
    color: var(--wc1ec-white);
}

.wc1ec-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 128, 0, 0.4);
}

.wc1ec-btn-secondary {
    background: transparent;
    color: var(--wc1ec-primary);
    border: 2px solid var(--wc1ec-primary);
}

.wc1ec-btn-secondary:hover {
    background: var(--wc1ec-primary);
    color: var(--wc1ec-dark);
}

.wc1ec-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.wc1ec-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--wc1ec-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.wc1ec-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--wc1ec-bg-dark);
    z-index: 9999;
    padding: 8rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.wc1ec-menu-active {
    right: 0;
}

.wc1ec-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;
}

.wc1ec-overlay-active {
    opacity: 1;
    visibility: visible;
}

.wc1ec-mobile-menu ul {
    list-style: none;
}

.wc1ec-mobile-menu li {
    margin-bottom: 1rem;
}

.wc1ec-mobile-menu a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--wc1ec-text-light);
    font-size: 1.5rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
}

.wc1ec-mobile-menu a:hover {
    background: var(--wc1ec-bg-card);
    color: var(--wc1ec-primary);
}

/* Slider */
.wc1ec-slider {
    position: relative;
    margin-top: 6rem;
    overflow: hidden;
}

.wc1ec-slide {
    position: relative;
    display: none;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.wc1ec-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0 0 1.5rem 1.5rem;
}

.wc1ec-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.wc1ec-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc1ec-dot-active {
    background: var(--wc1ec-primary);
    transform: scale(1.2);
}

/* Main Content */
main {
    padding-bottom: 8rem;
}

.wc1ec-section {
    padding: 2.5rem 1.5rem;
}

.wc1ec-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wc1ec-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.wc1ec-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--wc1ec-gradient);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Game Categories */
.wc1ec-game-category {
    margin-bottom: 2.5rem;
}

.wc1ec-category-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--wc1ec-light);
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--wc1ec-primary);
}

.wc1ec-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.wc1ec-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wc1ec-game-item:hover {
    transform: translateY(-3px);
}

.wc1ec-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.wc1ec-game-name {
    font-size: 1.1rem;
    color: var(--wc1ec-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cards & Boxes */
.wc1ec-card {
    background: var(--wc1ec-bg-card);
    border-radius: 1.2rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wc1ec-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--wc1ec-primary);
    margin-bottom: 1rem;
}

.wc1ec-card-text {
    font-size: 1.4rem;
    color: var(--wc1ec-text-muted);
    line-height: 1.6;
}

.wc1ec-promo-box {
    background: linear-gradient(135deg, var(--wc1ec-dark) 0%, var(--wc1ec-bg-card) 100%);
    border: 1px solid var(--wc1ec-border);
    border-radius: 1.2rem;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.wc1ec-promo-box h3 {
    font-size: 1.6rem;
    color: var(--wc1ec-light);
    margin-bottom: 1rem;
}

/* Features List */
.wc1ec-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.wc1ec-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--wc1ec-bg-card);
    border-radius: 1rem;
}

.wc1ec-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wc1ec-gradient);
    border-radius: 50%;
    color: var(--wc1ec-white);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.wc1ec-feature-content h4 {
    font-size: 1.4rem;
    color: var(--wc1ec-primary);
    margin-bottom: 0.3rem;
}

.wc1ec-feature-content p {
    font-size: 1.2rem;
    color: var(--wc1ec-text-muted);
}

/* RTP Section */
.wc1ec-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wc1ec-rtp-item {
    background: var(--wc1ec-bg-card);
    border-radius: 1rem;
    padding: 1.2rem;
    text-align: center;
}

.wc1ec-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wc1ec-primary);
}

.wc1ec-rtp-label {
    font-size: 1.2rem;
    color: var(--wc1ec-text-muted);
}

/* Footer */
.wc1ec-footer {
    background: var(--wc1ec-dark);
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--wc1ec-border);
}

.wc1ec-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.wc1ec-footer-links a {
    font-size: 1.3rem;
    color: var(--wc1ec-text-muted);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.wc1ec-footer-links a:hover {
    background: var(--wc1ec-bg-card);
    color: var(--wc1ec-primary);
}

.wc1ec-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.wc1ec-partners img {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wc1ec-partners img:hover {
    opacity: 1;
}

.wc1ec-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--wc1ec-gray);
}

/* Bottom Navigation */
.wc1ec-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--wc1ec-dark) 0%, var(--wc1ec-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--wc1ec-border);
}

.wc1ec-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--wc1ec-text-muted);
}

.wc1ec-nav-item:hover,
.wc1ec-nav-item.wc1ec-active {
    color: var(--wc1ec-primary);
    transform: scale(1.1);
}

.wc1ec-nav-item i,
.wc1ec-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.wc1ec-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Responsive */
@media (min-width: 769px) {
    .wc1ec-bottom-nav {
        display: none;
    }

    .wc1ec-container {
        max-width: 768px;
    }

    .wc1ec-games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Utilities */
.wc1ec-text-center {
    text-align: center;
}

.wc1ec-mb-1 {
    margin-bottom: 1rem;
}

.wc1ec-mb-2 {
    margin-bottom: 2rem;
}

.wc1ec-highlight {
    color: var(--wc1ec-primary);
    font-weight: 600;
}

.wc1ec-link-text {
    color: var(--wc1ec-light);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wc1ec-link-text:hover {
    color: var(--wc1ec-primary);
}

/* Animations */
@keyframes wc1ec-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.wc1ec-pulse {
    animation: wc1ec-pulse 2s infinite;
}

@keyframes wc1ec-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wc1ec-fade-in {
    animation: wc1ec-fadeIn 0.5s ease forwards;
}
