/* ===================================
   TUTORIAL PAGE STYLES
   =================================== */

/* Tutorial Hero */
.tutorial-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-description {
    font-size: 20px;
    opacity: 0.95;
}

/* Quick Navigation */
.quick-nav {
    background: var(--white);
    padding: 40px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-nav-item:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-icon {
    font-size: 32px;
}

.nav-text {
    font-size: 14px;
    font-weight: 600;
}

/* Game Tutorial Sections */
.game-tutorial {
    padding: 80px 0;
    scroll-margin-top: 140px;
}

.game-tutorial.alt-bg {
    background: #f8fafc;
}

.tutorial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.game-icon {
    font-size: 64px;
}

.game-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
}

.tutorial-content {
    max-width: 900px;
}

.tutorial-section {
    margin-bottom: 40px;
}

.tutorial-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.tutorial-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 16px;
}

/* Lists */
.step-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.step-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.feature-list li strong {
    color: var(--primary);
}

/* Tips Box */
.tips-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-left: 4px solid var(--warning);
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
}

.tips-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.tips-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark);
    margin: 0;
}

/* General Notes */
.general-notes {
    padding: 80px 0;
    background: var(--white);
}

.general-notes .section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 48px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.note-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.note-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.note-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.note-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.note-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .quick-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .notes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .quick-nav {
        position: static;
    }
    
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-title {
        font-size: 32px;
    }
    
    .tutorial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .quick-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .game-title {
        font-size: 24px;
    }
    
    .game-icon {
        font-size: 48px;
    }
}
