/*
 * 123B Theme Styles
 * Main stylesheet for 123b app theme
 */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.b123-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.b123-primary-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.b123-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.b123-menu-trigger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.b123-menu-trigger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.b123-primary-nav .b123-nav-list {
    display: flex;
    gap: 30px;
}

.b123-primary-nav .b123-nav-list a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: capitalize;
}

.b123-primary-nav .b123-nav-list a:hover {
    color: #f39c12;
}

.b123-header-actions {
    display: flex;
    gap: 15px;
}

.b123-btn-login,
.b123-btn-register {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.b123-btn-login {
    background: transparent;
    border: 2px solid #f39c12;
    color: #f39c12;
}

.b123-btn-login:hover {
    background: #f39c12;
    color: #1a1a2e;
}

.b123-btn-register {
    background: #f39c12;
    border: 2px solid #f39c12;
    color: #1a1a2e;
}

.b123-btn-register:hover {
    background: #e67e22;
    border-color: #e67e22;
}

/* Mobile Nav */
.b123-mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1a1a2e;
    padding: 20px;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.b123-mobile-nav.active {
    transform: translateX(0);
}

.b123-mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.b123-mobile-nav-list a {
    color: #fff;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.b123-mobile-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Main Content */
.b123-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px - 300px);
}

/* Hero Section */
.b123-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.b123-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.b123-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.b123-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.b123-btn-primary,
.b123-btn-secondary {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.b123-btn-primary {
    background: #f39c12;
    color: #1a1a2e;
}

.b123-btn-primary:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
}

.b123-btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.b123-btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
}

/* Page Hero */
.b123-page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.b123-page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.b123-page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sections */
.b123-brand-intro,
.b123-features,
.b123-games,
.b123-steps,
.b123-faq,
.b123-login-content,
.b123-app-content,
.b123-guide-content,
.b123-promo-content,
.b123-contact-content {
    padding: 80px 0;
}

.b123-brand-intro,
.b123-steps,
.b123-guide-content,
.b123-contact-content {
    background: #fff;
}

.b123-features,
.b123-faq,
.b123-app-content,
.b123-promo-content {
    background: #f8f9fa;
}

.b123-games,
.b123-login-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Section Titles */
section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a2e;
}

section h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

/* Brand Intro */
.b123-brand-intro p {
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Features Grid */
.b123-features-grid,
.b123-games-grid,
.b123-steps-grid,
.b123-promo-grid,
.b123-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.b123-feature-card,
.b123-game-card,
.b123-step-item,
.b123-promo-card,
.b123-method-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.b123-feature-card:hover,
.b123-game-card:hover,
.b123-step-item:hover,
.b123-promo-card:hover,
.b123-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.b123-feature-card h3,
.b123-game-card h3,
.b123-promo-card h3,
.b123-method-card h3 {
    color: #f39c12;
    margin-bottom: 15px;
}

.b123-feature-card p,
.b123-game-card p,
.b123-promo-card p,
.b123-method-card p {
    color: #666;
    line-height: 1.7;
}

/* Steps */
.b123-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* CTA Section */
.b123-cta {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.b123-cta h2 {
    color: #fff;
    margin-bottom: 20px;
}

.b123-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.b123-cta .b123-btn-primary {
    background: #1a1a2e;
    color: #fff;
}

.b123-cta .b123-btn-primary:hover {
    background: #0f0f1e;
}

/* FAQ */
.b123-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.b123-faq-item {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-faq-item h3 {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.b123-faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Images */
.b123-brand-images,
.b123-app-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.b123-brand-images img,
.b123-app-images img,
.b123-game-card img,
.b123-feature-card img,
.b123-login-image img,
.b123-guide-image img,
.b123-promo-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.b123-game-card img,
.b123-feature-card img {
    margin-bottom: 20px;
}

.b123-login-image,
.b123-guide-image,
.b123-promo-image {
    margin: 30px 0;
    text-align: center;
}

.b123-login-image img,
.b123-guide-image img,
.b123-promo-image img {
    max-width: 600px;
}

/* Footer */
.b123-primary-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.b123-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.b123-footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.b123-footer-main h3 {
    color: #f39c12;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.b123-footer-main p,
.b123-footer-main li {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.b123-footer-nav-list li {
    margin-bottom: 10px;
}

.b123-footer-nav-list a:hover {
    color: #f39c12;
}

.b123-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.b123-copyright {
    color: rgba(255,255,255,0.5);
    margin-bottom: 15px;
}

.b123-footer-seo {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Login Page */
.b123-login-intro,
.b123-login-steps,
.b123-login-features,
.b123-login-tips,
.b123-login-cta {
    margin-bottom: 60px;
}

.b123-login-intro p,
.b123-app-intro p,
.b123-guide-intro p,
.b123-promo-intro p,
.b123-contact-intro p {
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.b123-steps-list,
.b123-guide-steps,
.b123-events-list,
.b123-faq-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.b123-step-card,
.b123-guide-step,
.b123-event-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-step-card h3,
.b123-guide-step h3,
.b123-event-item h3 {
    color: #f39c12;
    margin-bottom: 15px;
}

.b123-features-grid {
    margin-top: 30px;
}

.b123-login-tips ul,
.b123-promo-terms ul,
.b123-contact-tips ul {
    max-width: 800px;
    margin: 0 auto;
    list-style: disc;
    padding-left: 20px;
}

.b123-login-tips li,
.b123-promo-terms li,
.b123-contact-tips li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

.b123-login-cta,
.b123-app-cta,
.b123-promo-cta,
.b123-contact-cta {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.b123-login-cta h2,
.b123-app-cta h2,
.b123-promo-cta h2,
.b123-contact-cta h2 {
    margin-bottom: 20px;
}

.b123-login-cta p,
.b123-app-cta p,
.b123-promo-cta p,
.b123-contact-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666;
}

/* App Page */
.b123-app-intro,
.b123-app-features,
.b123-app-download,
.b123-app-games,
.b123-app-requirements,
.b123-app-cta {
    margin-bottom: 60px;
}

.b123-download-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.b123-download-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-download-section h3 {
    color: #f39c12;
    margin-bottom: 15px;
}

.b123-download-section ol {
    list-style: decimal;
    padding-left: 20px;
}

.b123-download-section li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

.b123-games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.b123-game-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-game-item h3 {
    color: #f39c12;
    margin-bottom: 10px;
}

.b123-requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.b123-requirement-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-requirement-item h3 {
    color: #f39c12;
    margin-bottom: 15px;
}

.b123-requirement-item ul {
    list-style: disc;
    padding-left: 20px;
}

.b123-requirement-item li {
    margin-bottom: 8px;
    color: #555;
}

.b123-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Guide Page */
.b123-guide-intro,
.b123-guide-section,
.b123-guide-tips {
    margin-bottom: 60px;
}

.b123-guide-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.b123-method-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-method-card h3 {
    color: #f39c12;
    margin-bottom: 15px;
}

.b123-game-guides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.b123-game-guide {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-game-guide h3 {
    color: #f39c12;
    margin-bottom: 10px;
}

/* Promo Page */
.b123-promo-intro,
.b123-promo-list,
.b123-promo-events,
.b123-promo-terms,
.b123-promo-tips,
.b123-promo-cta {
    margin-bottom: 60px;
}

.b123-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.b123-tip-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-tip-item h3 {
    color: #f39c12;
    margin-bottom: 10px;
}

/* Contact Page */
.b123-contact-intro,
.b123-contact-methods,
.b123-contact-info,
.b123-contact-faq,
.b123-contact-tips,
.b123-contact-cta {
    margin-bottom: 60px;
}

.b123-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.b123-info-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.b123-info-item h3 {
    color: #f39c12;
    margin-bottom: 10px;
}

.b123-info-item p {
    color: #555;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .b123-menu-trigger {
        display: flex;
    }
    
    .b123-primary-nav {
        display: none;
    }
    
    .b123-mobile-nav {
        display: block;
    }
    
    .b123-header-actions {
        display: none;
    }
    
    .b123-hero {
        padding: 60px 0;
    }
    
    .b123-hero h1 {
        font-size: 2rem;
    }
    
    .b123-hero p {
        font-size: 1rem;
    }
    
    .b123-page-hero {
        padding: 60px 0;
    }
    
    .b123-page-hero h1 {
        font-size: 1.8rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .b123-features-grid,
    .b123-games-grid,
    .b123-steps-grid,
    .b123-promo-grid,
    .b123-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .b123-footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .b123-btn-primary,
    .b123-btn-secondary {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .b123-login-cta,
    .b123-app-cta,
    .b123-promo-cta,
    .b123-contact-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .b123-hero h1 {
        font-size: 1.6rem;
    }
    
    .b123-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .b123-btn-primary,
    .b123-btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}
