/* Reset and Base Styles */
* {
    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: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px; /* Optimized for mobile */
}

/* Header Styles */
.main-header {
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #ff6b35;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.navigation-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
}

.nav-brand .logo-image {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand .logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b35;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-register,
.btn-login {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-register {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-register:hover {
    background: linear-gradient(45deg, #e55a2b, #d44920);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

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

.btn-login:hover {
    background: #fff;
    color: #1a237e;
    transform: translateY(-2px);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Tutorial Hero Section */
.tutorial-hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 10px 80px;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #ff6b35 100%);
    position: relative;
    overflow: hidden;
}

.tutorial-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tutorial-grid" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 30 0 L 0 0 0 30" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23tutorial-grid)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tutorial-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    font-size: 20px;
}

.quick-start-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-start-playing {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    padding: 20px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-start-playing:hover {
    background: linear-gradient(45deg, #e55a2b, #d44920);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-style: italic;
}

/* Table of Contents Section */
.table-of-contents-section {
    padding: 80px 10px;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #1a237e;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    border-radius: 2px;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.toc-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.toc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
}

.toc-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

.toc-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.toc-item h3 {
    font-size: 1.4rem;
    color: #1a237e;
    margin-bottom: 10px;
    font-weight: 600;
}

.toc-item p {
    color: #666;
    font-size: 14px;
}

/* Game Basics Section */
.game-basics-section {
    padding: 100px 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.basics-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ff6b35;
}

.basics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.basic-concept {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.basic-concept:hover {
    transform: translateY(-5px);
}

.concept-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.concept-icon {
    font-size: 2.5rem;
    color: #ff6b35;
}

.concept-header h3 {
    font-size: 1.4rem;
    color: #1a237e;
    font-weight: 600;
}

.basic-concept p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.concept-example {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    font-size: 14px;
    color: #555;
    margin-top: auto;
    word-wrap: break-word;
}

.concept-example strong {
    color: #1a237e;
}

.key-rules {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.key-rules h3 {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.rule-number {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rule-content h4 {
    font-size: 1.2rem;
    color: #1a237e;
    margin-bottom: 8px;
    font-weight: 600;
}

.rule-content p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Getting Started Section */
.getting-started-section {
    padding: 100px 10px;
    background: #fff;
}

.getting-started-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.step-number {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-icon {
    font-size: 1.8rem;
}

.step-digit {
    background: #ff6b35;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

.step-content {
    padding: 25px 20px;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.requirements-list {
    list-style: none;
    margin-bottom: 25px;
}

.requirements-list li {
    padding: 6px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
    font-size: 14px;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.step-action {
    margin-top: 20px;
}

.step-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
}

.step-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.payment-icon {
    font-size: 1.3rem;
}

.payment-details {
    display: flex;
    flex-direction: column;
}

.payment-details strong {
    color: #1a237e;
    font-size: 15px;
}

.payment-details span {
    color: #666;
    font-size: 13px;
}

.bonus-highlight {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-top: 20px;
    font-size: 14px;
}

.bonus-icon {
    font-size: 1.1rem;
}

.demo-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.demo-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
}

.benefit-icon {
    color: #28a745;
    font-weight: bold;
}

.pro-tip {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    word-wrap: break-word;
}

.tip-icon {
    color: #f39c12;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.betting-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.bet-recommendation {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.bet-recommendation:hover {
    border-color: #ff6b35;
    transform: translateY(-3px);
}

.bet-type {
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 8px;
    font-size: 15px;
}

.bet-amount {
    color: #ff6b35;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
}

.bet-strategy {
    color: #666;
    font-size: 13px;
}

/* Detailed Gameplay Section */
.detailed-gameplay-section {
    padding: 100px 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gameplay-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.round-phases {
    max-width: 1000px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.phase-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.phase-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.phase-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phase-icon {
    font-size: 1.6rem;
}

.phase-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.phase-duration {
    background: #ff6b35;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

.phase-content {
    padding: 25px 20px;
}

.phase-content h4 {
    color: #1a237e;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.phase-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 14px;
}

.action-list {
    list-style: none;
    margin-bottom: 15px;
}

.action-list li {
    padding: 6px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.action-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 14px;
}

.phase-tip {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    word-wrap: break-word;
}

.phase-tip .tip-icon {
    color: #28a745;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.decision-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.decision-point {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    flex-wrap: wrap;
    gap: 8px;
}

.multiplier-range {
    font-weight: 700;
    color: #1a237e;
    font-size: 15px;
}

.decision-desc {
    color: #666;
    font-size: 13px;
}

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

.outcome {
    padding: 20px 15px;
    border-radius: 15px;
    border: 2px solid;
}

.outcome.success {
    background: #e8f5e8;
    border-color: #28a745;
}

.outcome.failure {
    background: #f8d7da;
    border-color: #dc3545;
}

.outcome-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.outcome-icon {
    font-size: 1.3rem;
}

.outcome-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a237e;
}

.outcome p {
    font-size: 14px;
    line-height: 1.6;
}

.outcome-example {
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 13px;
    word-wrap: break-word;
}

.interface-guide {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.interface-guide h3 {
    font-size: 1.8rem;
    color: #1a237e;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.interface-elements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.interface-element {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
}

.element-name {
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 6px;
    font-size: 15px;
}

.element-description {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

/* Strategies Section */
.strategies-section {
    padding: 100px 10px;
    background: #fff;
}

.strategies-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.strategy-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 3px solid transparent;
}

.strategy-card:hover {
    transform: translateY(-5px);
}

.strategy-card.conservative {
    border-color: #28a745;
}

.strategy-card.balanced {
    border-color: #ffc107;
}

.strategy-card.aggressive {
    border-color: #dc3545;
}

.strategy-header {
    padding: 25px 30px;
    color: #fff;
    position: relative;
}

.strategy-card.conservative .strategy-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.strategy-card.balanced .strategy-header {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.strategy-card.aggressive .strategy-header {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
}

.strategy-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.strategy-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.strategy-tag {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.strategy-content {
    padding: 30px;
}

.strategy-description p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.strategy-rules h4 {
    color: #1a237e;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.strategy-list {
    list-style: none;
    margin-bottom: 25px;
}

.strategy-list li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.strategy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 20px;
}

.strategy-example {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.strategy-example h4 {
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 600;
}

.example-rounds {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.round-result {
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.round-result.win {
    background: #d4edda;
    color: #155724;
}

.round-result.loss {
    background: #f8d7da;
    color: #721c24;
}

.session-total {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
}

.session-total.profit {
    background: #28a745;
    color: #fff;
}

.dual-bet-example {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bet-safe,
.bet-risky,
.bet-outcome {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.bet-safe {
    background: #d4edda;
    color: #155724;
}

.bet-risky {
    background: #fff3cd;
    color: #856404;
}

.bet-outcome {
    background: #d1ecf1;
    color: #0c5460;
}

/* Fixed responsive strategy pros/cons */
.strategy-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pros,
.cons {
    padding: 15px;
    border-radius: 10px;
}

.pros {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
}

.cons {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.pros h5,
.cons h5 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.pros ul,
.cons ul {
    list-style: none;
    font-size: 13px;
}

.pros li,
.cons li {
    padding: 3px 0;
    position: relative;
    padding-left: 15px;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.strategy-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.warning-icon {
    color: #f39c12;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.bankroll-management {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.bankroll-management h3 {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

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

.bankroll-tip {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #ff6b35;
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tip-header .tip-icon {
    font-size: 1.8rem;
    color: #ff6b35;
}

.tip-header h4 {
    color: #1a237e;
    font-size: 1.3rem;
    font-weight: 600;
}

.bankroll-tip p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.tip-example {
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    border-left: 3px solid #28a745;
}

/* Payments Section */
.payments-section {
    padding: 100px 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.payments-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.payment-methods-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.payment-method-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.payment-method-card.primary {
    border-color: #ff6b35;
    transform: scale(1.02);
}

.payment-method-card:hover {
    transform: translateY(-5px);
}

.method-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    flex-wrap: wrap;
}

.method-icon {
    font-size: 2rem;
}

.method-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    flex: 1;
}

.method-badge {
    background: #ff6b35;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.method-content {
    padding: 30px;
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    color: #1a237e;
    font-weight: 600;
}

.method-steps h4 {
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 600;
}

.steps-list {
    padding-left: 20px;
    color: #666;
    line-height: 1.7;
}

.steps-list li {
    margin-bottom: 8px;
}

.method-tips {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.supported-banks h4 {
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 600;
}

.banks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bank-name {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    color: #666;
    border: 1px solid #dee2e6;
}

.security-features h4 {
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 600;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.security-icon {
    color: #28a745;
}

.withdrawal-guide {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.withdrawal-guide h3 {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.withdrawal-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.withdrawal-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.withdrawal-step .step-number {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.withdrawal-step .step-content {
    flex: 1;
}

.withdrawal-step h4 {
    color: #1a237e;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.requirements {
    list-style: none;
}

.requirements li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.withdrawal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.withdrawal-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.option-name {
    font-weight: 600;
    color: #1a237e;
}

.option-time {
    color: #28a745;
    font-size: 14px;
    font-weight: 500;
}

.withdrawal-tips h4 {
    color: #1a237e;
    margin-bottom: 20px;
    font-weight: 600;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.withdrawal-tip {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.withdrawal-tip .tip-icon {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-top: 2px;
}

.tip-content strong {
    color: #1a237e;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.tip-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Troubleshooting Section */
.troubleshooting-section {
    padding: 100px 10px;
    background: #fff;
}

.troubleshooting-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.issues-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.issue-category {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-icon {
    font-size: 2rem;
}

.category-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

.issues-list {
    padding: 30px;
}

.issue-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.issue-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* FAQ Functionality Styles */
.issue-solution {
    display: none; /* Hide by default */
    color: #666;
    line-height: 1.7;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    animation: fadeInDown 0.3s ease;
}

.issue-solution.active {
    display: block;
}

.issue-question {
    color: #1a237e;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0; /* Remove margin when closed */
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

.issue-question:hover {
    color: #ff6b35;
}

.issue-question::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b35;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.issue-question.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.issue-solution p {
    margin-bottom: 10px;
}

.issue-solution strong {
    color: #1a237e;
}

.issue-solution ul {
    margin-left: 20px;
    margin-top: 10px;
}

.issue-solution li {
    margin-bottom: 5px;
}

.support-options {
    max-width: 1000px;
    margin: 0 auto;
}

.support-options h3 {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.support-method {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.support-method.priority {
    border-color: #ff6b35;
}

.support-method:hover {
    transform: translateY(-5px);
}

.support-method .method-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    flex-wrap: wrap;
}

.support-method .method-icon {
    font-size: 1.8rem;
}

.support-method .method-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    flex: 1;
}

.method-status {
    background: #28a745;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.support-method .method-content {
    padding: 25px;
}

.support-method .method-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.method-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.feature {
    font-size: 14px;
    color: #666;
}

.support-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.email-address,
.whatsapp-number {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    font-family: monospace;
    font-weight: 600;
    color: #1a237e;
    border: 1px solid #dee2e6;
    text-align: center;
    word-break: break-all;
}

.support-tips h4 {
    color: #1a237e;
    margin-bottom: 20px;
    font-weight: 600;
}

.support-tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.support-tip {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.support-tip .tip-icon {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-top: 2px;
}

.support-tip .tip-content strong {
    color: #1a237e;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.support-tip .tip-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA Section */
.final-cta-section {
    padding: 100px 10px;
    background: linear-gradient(135deg, #1a237e 0%, #ff6b35 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="final-stars" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23final-stars)"/></svg>');
    opacity: 0.6;
}

.final-cta-section .cta-content {
    position: relative;
    z-index: 2;
}

.final-cta-section h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.final-cta-section p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.cta-stat .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.final-cta-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.final-cta-section .btn-cta-primary,
.final-cta-section .btn-cta-secondary {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.final-cta-section .btn-cta-primary {
    background: #fff;
    color: #1a237e;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.final-cta-section .btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

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

.final-cta-section .btn-cta-secondary:hover {
    background: #fff;
    color: #1a237e;
    transform: translateY(-3px);
}

.final-cta-section .cta-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

/* Footer Styles */
.main-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 10px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: #ff6b35;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.payment-methods {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
    margin-bottom: 30px;
}

.payment-methods h4 {
    color: #ff6b35;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.payment-icon {
    width: 45px;
    height: 45px;
    filter: brightness(0.8);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.payment-icon:hover {
    filter: brightness(1);
    transform: scale(1.1);
    background: rgba(255, 107, 53, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* Fixed responsive strategy cards */
@media (max-width: 1200px) {
    .strategy-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Responsive Design - Mobile Menu at 980px */
@media (max-width: 980px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 35, 126, 0.98);
        flex-direction: column;
        padding: 15px;
        gap: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
    }
    
    .auth-buttons {
        display: flex;
        gap: 8px;
    }
    
    .btn-register,
    .btn-login {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tutorial-highlights {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .toc-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .basics-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .strategy-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .strategy-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .strategy-content {
        padding: 20px;
    }
    
    .strategy-pros-cons {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .tutorial-hero-section {
        padding: 100px 10px 60px;
    }
    
    .table-of-contents-section,
    .game-basics-section,
    .getting-started-section,
    .detailed-gameplay-section,
    .strategies-section,
    .payments-section,
    .troubleshooting-section,
    .final-cta-section {
        padding: 80px 10px;
    }
}

@media (max-width: 768px) {
    .auth-buttons {
        gap: 6px;
    }
    
    .btn-register,
    .btn-login {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .basics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .demo-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .betting-recommendations {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .step-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }
    
    .phase-header {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .decision-point {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .outcome {
        padding: 15px 12px;
    }
    
    .interface-elements {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .strategy-card {
        border-radius: 15px;
    }
    
    .strategy-header {
        padding: 20px;
    }
    
    .strategy-content {
        padding: 15px;
    }
    
    .strategy-tag {
        position: static;
        display: inline-block;
        margin-top: 10px;
    }
    
    .payment-methods-detailed,
    .issues-categories,
    .support-methods {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .container {
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
		margin-top: 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .tutorial-highlights {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .basics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .demo-benefits {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .betting-recommendations {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .outcomes {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .auth-buttons {
        gap: 4px;
    }
    
    .btn-register,
    .btn-login {
        padding: 4px 8px;
        font-size: 9px;
        min-width: 50px;
        border-radius: 15px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .tutorial-hero-section {
        padding: 90px 10px 50px;
    }
    
    .table-of-contents-section,
    .game-basics-section,
    .getting-started-section,
    .detailed-gameplay-section,
    .strategies-section,
    .payments-section,
    .troubleshooting-section,
    .final-cta-section {
        padding: 60px 10px;
    }
    
    .phase-tip,
    .outcome-example,
    .concept-example {
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.5;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .strategy-cards {
        gap: 20px;
    }
    
    .strategy-header {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .strategy-content {
        padding: 15px;
    }
    
    .strategy-description p {
        font-size: 1rem;
    }
    
    .pros,
    .cons {
        padding: 12px;
    }
    
    .payment-method-card,
    .issue-category,
    .support-method {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .method-header,
    .category-header,
    .support-method .method-header {
        flex-wrap: wrap;
        gap: 10px;
        text-align: center;
    }
    
    .method-badge,
    .method-status {
        margin-top: 5px;
    }
}

@media (max-width: 320px) {
    .navigation-container {
        padding: 10px 8px;
    }
    
    .nav-brand .logo-image {
        height: 40px;
    }
    
    .auth-buttons {
        gap: 3px;
    }
    
    .btn-register,
    .btn-login {
        padding: 3px 6px;
        font-size: 8px;
        min-width: 45px;
        border-radius: 12px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 5px;
    }
    
    .tutorial-hero-section {
        padding: 80px 5px 40px;
    }
    
    .table-of-contents-section,
    .game-basics-section,
    .getting-started-section,
    .detailed-gameplay-section,
    .strategies-section,
    .payments-section,
    .troubleshooting-section,
    .final-cta-section {
        padding: 50px 5px;
    }
    
    .step-content,
    .phase-content,
    .basic-concept,
    .toc-item {
        padding: 15px 12px;
    }
    
    .key-rules,
    .interface-guide {
        padding: 20px 12px;
    }
    
    .phase-tip,
    .outcome-example,
    .concept-example,
    .pro-tip {
        padding: 8px 10px;
        font-size: 12px;
        line-height: 1.4;
    }
}

/* FAQ Functionality Styles */
.issue-solution {
    display: none; /* Hide by default */
    color: #666;
    line-height: 1.7;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    animation: fadeInDown 0.3s ease;
}

.issue-solution.active {
    display: block;
}

.issue-question {
    color: #1a237e;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0; /* Remove margin when closed */
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

.issue-question:hover {
    color: #ff6b35;
}

.issue-question::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b35;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.issue-question.active::after {
    transform: translateY(-50%) rotate(180deg);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile FAQ improvements */
@media (max-width: 768px) {
    .issue-question {
        font-size: 1.1rem;
        padding-right: 25px;
    }
    
    .issue-solution {
        font-size: 14px;
    }
}

/* Remove all inline animations and transforms */
.strategy-card,
.toc-item,
.basic-concept,
.step-item,
.payment-method-card,
.issue-category,
.support-method {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Remove animation delays */
.toc-item:nth-child(1),
.toc-item:nth-child(2),
.toc-item:nth-child(3),
.toc-item:nth-child(4),
.toc-item:nth-child(5),
.toc-item:nth-child(6),
.basic-concept:nth-child(1),
.basic-concept:nth-child(2),
.basic-concept:nth-child(3),
.basic-concept:nth-child(4),
.basic-concept:nth-child(5),
.basic-concept:nth-child(6) {
    animation-delay: 0s !important;
}

/* Disable loading animations */
.loaded .toc-item,
.loaded .basic-concept,
.loaded .step-item,
.loaded .strategy-card {
    animation: none !important;
}

/* Utility classes for better text wrapping */
.text-wrap {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure all text elements have proper wrapping */
p, div, span, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus states for accessibility */
.toc-item:focus,
.step-btn:focus,
.support-btn:focus,
.btn-start-playing:focus,
.btn-register:focus,
.btn-login:focus,
.btn-cta-primary:focus,
.btn-cta-secondary:focus {
    outline: 3px solid #ff6b35;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-title,
    .section-title {
        text-shadow: none;
    }
    
    .tutorial-hero-section::before,
    .final-cta-section::before {
        opacity: 0.1;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .main-header,
    .final-cta-section,
    .auth-buttons,
    .mobile-menu-toggle {
        display: none;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .tutorial-hero-section {
        background: #fff;
        color: #000;
        min-height: auto;
        padding: 20px;
    }
    
    .hero-title,
    .section-title {
        color: #000;
    }
    
    .step-header,
    .method-header,
    .category-header {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
    
    .btn-start-playing,
    .step-btn,
    .support-btn {
        background: #000 !important;
        color: #fff !important;
        border: 1px solid #000;
    }
    
    .payment-icons {
        display: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .section-title::after {
        background: #000;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .basic-concept,
    .step-item,
    .payment-method-card,
    .issue-category,
    .support-method,
    .strategy-card,
    .bankroll-management,
    .interface-guide,
    .withdrawal-guide,
    .key-rules {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .concept-example,
    .step-example,
    .tip-example,
    .outcome-example {
        background: #3a3a3a;
        color: #e0e0e0;
    }
    
    .element-description,
    .step-content p,
    .basic-concept p,
    .rule-content p {
        color: #c0c0c0;
    }
}

/* Hover effects for touch devices */
@media (hover: none) {
    .toc-item:hover,
    .basic-concept:hover,
    .step-item:hover,
    .payment-method-card:hover,
    .support-method:hover,
    .strategy-card:hover {
        transform: none;
    }
    
    .btn-start-playing:hover,
    .btn-register:hover,
    .btn-login:hover,
    .step-btn:hover,
    .support-btn:hover,
    .btn-cta-primary:hover,
    .btn-cta-secondary:hover {
        transform: none;
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e55a2b;
}

/* Selection styles */
::selection {
    background: #ff6b35;
    color: #fff;
}

::-moz-selection {
    background: #ff6b35;
    color: #fff;
}

/* Utility classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

