/**
 * 123B Theme Styles
 */

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

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

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

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

.b123-masthead .b123-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

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

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

.b123-btn-login,
.b123-btn-register {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.b123-btn-login {
    color: #fff;
    border: 1px solid #fff;
}

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

.b123-btn-register {
    background: #f39c12;
    color: #fff;
}

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

/* Mobile Menu */
.b123-mobile-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.98);
    z-index: 999;
    padding: 30px;
}

.b123-mobile-overlay.active {
    display: block;
}

.b123-mobile-nav .b123-mobile-list {
    list-style: none;
}

.b123-mobile-nav .b123-mobile-list li {
    margin-bottom: 20px;
}

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

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

.b123-mobile-actions a {
    text-align: center;
    padding: 12px;
}

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

.b123-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

.b123-btn-primary {
    background: #f39c12;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-block;
}

.b123-btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.b123-btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid #fff;
    transition: all 0.3s;
    display: inline-block;
}

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

/* Content Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #fff;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a1a2e;
    text-align: center;
}

section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #16213e;
}

section p {
    margin-bottom: 15px;
    color: #555;
}

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

.b123-feature-item,
.b123-game-card,
.b123-promo-card,
.b123-channel-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.b123-feature-item:hover,
.b123-game-card:hover,
.b123-promo-card:hover,
.b123-channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Timeline */
.b123-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.b123-timeline-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
}

.b123-year {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.b123-cta h2 {
    color: #fff;
}

.b123-cta p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

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

.b123-faq-item {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.b123-faq-item h3 {
    color: #1a1a2e;
    margin-bottom: 10px;
}

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

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

.b123-footer-grid h3 {
    color: #f39c12;
    margin-bottom: 20px;
}

.b123-footer-grid p,
.b123-footer-grid a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
}

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

.b123-footer-list {
    list-style: none;
}

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

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

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

.b123-page-hero h1,
.b123-promo-hero h1,
.b123-guide-hero h1,
.b123-contact-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

/* Promo Banner */
.b123-promo-banner {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
    color: #fff;
}

.b123-promo-banner h3 {
    color: #fff;
    font-size: 28px;
}

.b123-promo-banner p {
    color: rgba(255,255,255,0.9);
}

.b123-promo-tag {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.b123-promo-value {
    font-size: 24px;
    font-weight: 700;
    color: #f39c12;
    margin: 15px 0;
}

.b123-promo-terms {
    list-style: none;
    margin-top: 15px;
}

.b123-promo-terms li {
    padding: 5px 0;
    color: #666;
    font-size: 14px;
}

/* Calendar */
.b123-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.b123-calendar-day {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.b123-calendar-day h3 {
    color: #f39c12;
    margin-bottom: 10px;
}

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

.b123-step {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.b123-step-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #f39c12;
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Image Styles */
.b123-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.b123-intro-image img,
.b123-feature-image img,
.b123-benefit-image img,
.b123-advantage-image img,
.b123-promo-image img,
.b123-terms-image img,
.b123-download-image img,
.b123-contact-image img,
.b123-terms-extra-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.b123-feature-image,
.b123-benefit-image,
.b123-advantage-image {
    margin-bottom: 20px;
}

.b123-promo-banner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
}

.b123-terms-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin: 30px 0;
}

.b123-terms-extra-image {
    margin-top: 30px;
    max-width: 600px;
}

.b123-download-image,
.b123-contact-image {
    margin: 30px 0;
    max-width: 800px;
}

/* Responsive */
@media (max-width: 768px) {
    .b123-trigger {
        display: flex;
    }

    .b123-primary-nav {
        display: none;
    }

    .b123-user-actions {
        display: none;
    }

    .b123-hero h1 {
        font-size: 32px;
    }

    .b123-hero p {
        font-size: 16px;
    }

    .b123-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    section h2 {
        font-size: 28px;
    }

    .b123-features-grid,
    .b123-games-grid,
    .b123-promo-grid,
    .b123-channels-grid {
        grid-template-columns: 1fr;
    }

    .b123-calendar {
        grid-template-columns: repeat(2, 1fr);
    }

    .b123-intro-content,
    .b123-promo-banner,
    .b123-terms-content {
        grid-template-columns: 1fr;
    }

    .b123-intro-image,
    .b123-promo-image,
    .b123-terms-image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .b123-hero h1 {
        font-size: 24px;
    }

    section {
        padding: 50px 0;
    }

    .b123-calendar {
        grid-template-columns: 1fr;
    }
}
