/* ===== HELP/TUTORIAL MODAL STYLES ===== */

.help-btn {
    background: var(--secondary);
    border: 2px solid var(--secondary);
    color: var(--dark);
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.help-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.help-modal .modal-content {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.help-content {
    padding: 20px !important;
}

.close-help-x {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-help-x:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.help-header {
    text-align: center;
    padding-right: 40px;
}

.help-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    border-bottom: 2px solid var(--dark-lighter);
    overflow-x: auto;
}

.help-tab {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9em;
}

.help-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.help-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.help-content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 5px;
    margin: 10px 0;
}

.help-content-scroll::-webkit-scrollbar {
    width: 8px;
}

.help-content-scroll::-webkit-scrollbar-track {
    background: var(--dark-lighter);
    border-radius: 4px;
}

.help-content-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.help-tab-pane {
    display: none;
    animation: fadeInHelp 0.3s ease-out;
}

.help-tab-pane.active {
    display: block;
}

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

.help-tab-pane h3 {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    font-size: 1.4em;
    text-align: center;
}

.help-card {
    background: var(--dark-lighter);
    border: 2px solid var(--dark-lighter);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.help-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.help-card.danger {
    border-color: var(--danger);
    background: rgba(255, 107, 53, 0.05);
}

.help-card.gold {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

.help-card-icon {
    font-size: 2.5em;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-card-big {
    font-size: 3.5em;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-card-content {
    flex: 1;
}

.help-card-content h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
}

.help-card-content p {
    color: var(--text);
    margin: 5px 0;
    line-height: 1.6;
}

.big-emphasis {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--primary) !important;
    text-align: center;
    margin: 10px 0 !important;
}

kbd {
    background: var(--dark);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
    border: 1px solid var(--primary);
}

.help-checklist {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.help-checklist li {
    padding: 8px 0;
    border-bottom: 1px solid var(--dark);
    color: var(--text);
}

.help-checklist li:last-child {
    border-bottom: none;
}

.help-steps {
    list-style: none;
    counter-reset: steps;
    padding: 0;
    margin: 10px 0;
}

.help-steps li {
    counter-increment: steps;
    padding: 10px;
    margin: 8px 0;
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 5px;
    position: relative;
    padding-left: 45px;
}

.help-steps li::before {
    content: counter(steps);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--dark);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9em;
}

.help-close-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: var(--dark);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.help-close-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .help-tabs {
        flex-wrap: wrap;
    }
    
    .help-tab {
        flex: 1;
        min-width: 45%;
        text-align: center;
        font-size: 0.8em;
        padding: 10px 5px;
    }
    
    .help-card {
        flex-direction: column;
        text-align: center;
    }
    
    .help-card-icon,
    .help-card-big {
        min-width: auto;
    }
}
