/**
 * Fair Play Movie - Main Stylesheet
 * All classes use s11d- prefix for namespace isolation
 * Color palette: #20B2AA (Light Sea Green) | #7CFC00 (Lawn Green) | #34495E (Dark Blue Gray)
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --s11d-primary: #20B2AA;
    --s11d-secondary: #7CFC00;
    --s11d-dark: #34495E;
    --s11d-bg: #1a2634;
    --s11d-bg-light: #243447;
    --s11d-text: #ffffff;
    --s11d-text-muted: #a8b5c4;
    --s11d-accent: #20B2AA;
    --s11d-gradient: linear-gradient(135deg, #20B2AA 0%, #7CFC00 100%);
    --s11d-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --s11d-radius: 12px;
    --s11d-transition: all 0.3s ease;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    background-color: var(--s11d-bg);
    color: var(--s11d-text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Container */
.s11d-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.s11d-wrapper {
    width: 100%;
    padding: 1rem 0;
}

/* Header Navigation */
.s11d-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--s11d-dark) 0%, var(--s11d-bg) 100%);
    padding: 0.8rem 1rem;
    z-index: 1000;
    box-shadow: var(--s11d-shadow);
}

.s11d-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.s11d-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.s11d-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.s11d-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--s11d-text);
    background: var(--s11d-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s11d-header-btns {
    display: flex;
    gap: 0.6rem;
}

.s11d-btn-register {
    background: var(--s11d-gradient);
    color: var(--s11d-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: var(--s11d-transition);
}

.s11d-btn-login {
    background: transparent;
    color: var(--s11d-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    border: 2px solid var(--s11d-primary);
    cursor: pointer;
    transition: var(--s11d-transition);
}

.s11d-btn-register:hover,
.s11d-btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(32, 178, 170, 0.5);
}

.s11d-menu-toggle {
    background: transparent;
    border: none;
    color: var(--s11d-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.s11d-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s11d-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.s11d-menu-open {
    right: 0;
}

.s11d-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(--s11d-transition);
}

.s11d-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.s11d-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.s11d-nav-item {
    margin-bottom: 0.8rem;
}

.s11d-nav-link {
    display: block;
    padding: 1rem 1.2rem;
    color: var(--s11d-text);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--s11d-transition);
    font-size: 1.4rem;
}

.s11d-nav-link:hover,
.s11d-nav-active {
    background: var(--s11d-gradient);
    color: var(--s11d-dark);
}

/* Main Content */
.s11d-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .s11d-main {
        padding-bottom: 80px;
    }
}

/* Carousel/Slider */
.s11d-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--s11d-radius);
    margin-bottom: 1.5rem;
}

.s11d-slide {
    display: none;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.s11d-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--s11d-radius);
}

.s11d-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.s11d-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--s11d-transition);
}

.s11d-dot-active {
    background: var(--s11d-secondary);
    transform: scale(1.2);
}

/* Section Titles */
.s11d-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s11d-text);
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--s11d-primary);
}

/* Game Categories */
.s11d-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s11d-primary);
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s11d-category-title i {
    font-size: 1.8rem;
}

/* Game Grid */
.s11d-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.s11d-game-card {
    background: var(--s11d-bg-light);
    border-radius: 10px;
    padding: 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: var(--s11d-transition);
}

.s11d-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

.s11d-game-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.4rem;
}

.s11d-game-name {
    font-size: 1.1rem;
    color: var(--s11d-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Content Cards */
.s11d-card {
    background: var(--s11d-bg-light);
    border-radius: var(--s11d-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--s11d-shadow);
}

.s11d-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s11d-primary);
    margin-bottom: 1rem;
}

.s11d-card-text {
    color: var(--s11d-text-muted);
    line-height: 1.6;
}

/* Buttons */
.s11d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--s11d-transition);
    border: none;
    text-decoration: none;
}

.s11d-btn-primary {
    background: var(--s11d-gradient);
    color: var(--s11d-dark);
}

.s11d-btn-secondary {
    background: transparent;
    color: var(--s11d-primary);
    border: 2px solid var(--s11d-primary);
}

.s11d-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(32, 178, 170, 0.4);
}

/* Footer */
.s11d-footer {
    background: var(--s11d-dark);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.s11d-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.s11d-footer-brand p {
    color: var(--s11d-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.s11d-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.s11d-footer-link {
    color: var(--s11d-primary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    background: rgba(32, 178, 170, 0.1);
    transition: var(--s11d-transition);
}

.s11d-footer-link:hover {
    background: var(--s11d-primary);
    color: var(--s11d-dark);
}

.s11d-footer-promo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.s11d-promo-btn {
    background: var(--s11d-gradient);
    color: var(--s11d-dark);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--s11d-transition);
}

.s11d-promo-btn:hover {
    transform: scale(1.05);
}

.s11d-copyright {
    text-align: center;
    color: var(--s11d-text-muted);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Bottom Navigation */
.s11d-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--s11d-dark) 0%, #0d1520 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(32, 178, 170, 0.2);
}

@media (min-width: 769px) {
    .s11d-bottom-nav {
        display: none;
    }
}

.s11d-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--s11d-text-muted);
    text-decoration: none;
    transition: var(--s11d-transition);
    background: transparent;
    border: none;
    cursor: pointer;
}

.s11d-nav-btn:hover,
.s11d-nav-btn.active {
    color: var(--s11d-secondary);
}

.s11d-nav-btn i,
.s11d-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.s11d-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Features Grid */
.s11d-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s11d-feature-item {
    background: var(--s11d-bg-light);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: var(--s11d-transition);
}

.s11d-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.s11d-feature-item i {
    font-size: 2.4rem;
    color: var(--s11d-primary);
    margin-bottom: 0.6rem;
}

.s11d-feature-item h4 {
    font-size: 1.3rem;
    color: var(--s11d-text);
    margin: 0.4rem 0;
}

.s11d-feature-item p {
    font-size: 1.1rem;
    color: var(--s11d-text-muted);
    margin: 0;
}

/* FAQ Section */
.s11d-faq-item {
    background: var(--s11d-bg-light);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.s11d-faq-question {
    padding: 1rem 1.2rem;
    font-weight: 600;
    color: var(--s11d-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s11d-faq-answer {
    padding: 0 1.2rem 1rem;
    color: var(--s11d-text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Testimonials */
.s11d-testimonial {
    background: var(--s11d-bg-light);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.s11d-testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.s11d-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--s11d-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--s11d-dark);
}

.s11d-testimonial-name {
    font-weight: 600;
    color: var(--s11d-text);
}

.s11d-testimonial-text {
    color: var(--s11d-text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Payment Methods */
.s11d-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.s11d-payment-item {
    background: var(--s11d-bg-light);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--s11d-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stats Section */
.s11d-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    text-align: center;
}

.s11d-stat-item {
    background: var(--s11d-bg-light);
    border-radius: 10px;
    padding: 1rem;
}

.s11d-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s11d-secondary);
}

.s11d-stat-label {
    font-size: 1.1rem;
    color: var(--s11d-text-muted);
}

/* Responsive Adjustments */
@media (max-width: 380px) {
    .s11d-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .s11d-header-btns {
        gap: 0.4rem;
    }

    .s11d-btn-register,
    .s11d-btn-login {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }
}

/* Utility Classes */
.s11d-text-center {
    text-align: center;
}

.s11d-mb-1 {
    margin-bottom: 1rem;
}

.s11d-mb-2 {
    margin-bottom: 2rem;
}

.s11d-highlight {
    color: var(--s11d-primary);
    font-weight: 600;
}

.s11d-link {
    color: var(--s11d-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--s11d-primary);
}

.s11d-link:hover {
    color: var(--s11d-secondary);
}
