/* Cara Penggunaan Tabs Styles */

/* Category Tabs */
.category-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.5), rgba(30, 41, 59, 0.5));
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 9999px;
    color: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tab:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 146, 60, 0.2));
    border-color: rgba(251, 191, 36, 0.5);
    color: #fbbf24;
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 146, 60, 0.3));
    border-color: #fbbf24;
    color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.category-tab img {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    filter: none !important;
    -webkit-filter: none !important;
}

.category-tab.active img,
.category-tab:hover img {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Sub Tabs Container */
.sub-tabs-container {
    display: none;
}

.sub-tabs-container.active {
    display: block;
}

/* Sub Tabs */
.sub-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.4), rgba(30, 41, 59, 0.4));
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 0.75rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sub-tab:not(.disabled):hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 146, 60, 0.15));
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    transform: translateY(-2px);
}

.sub-tab.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(251, 146, 60, 0.25));
    border-color: #fbbf24;
    color: #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.sub-tab.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.2), rgba(30, 41, 59, 0.2));
}

.coming-soon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Tutorial Grid Layout */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tutorial-step-card {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.4), rgba(30, 41, 59, 0.4));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tutorial-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #fb923c, #fbbf24);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tutorial-step-card:hover::before {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.tutorial-step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.15);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.6), rgba(30, 41, 59, 0.6));
}

.tutorial-step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.tutorial-step-card:hover .tutorial-step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.tutorial-step-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

.tutorial-step-card:hover .tutorial-step-title {
    color: #fb923c;
}

.tutorial-step-desc {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tutorial-step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.tutorial-step-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.5;
}

.tutorial-step-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
}

.tutorial-tip-box {
    margin-top: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 146, 60, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #fde68a;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.tutorial-tip-box i {
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.3), rgba(30, 41, 59, 0.3));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.4), rgba(30, 41, 59, 0.4));
}

.feature-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-weight: bold;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    gap: 0.75rem;
}

.tip-card {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(251, 146, 60, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.tip-card:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(251, 146, 60, 0.08));
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateX(4px);
}

.tip-icon {
    color: #fbbf24;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.tip-text {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Points Reference Grid */
.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.point-card {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.5), rgba(30, 41, 59, 0.5));
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.point-card.booyah {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 146, 60, 0.15));
    border-color: rgba(251, 191, 36, 0.5);
}

.point-card:hover {
    transform: scale(1.05);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.point-rank {
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.point-card.booyah .point-rank {
    color: #fbbf24;
}

.point-card:not(.booyah) .point-rank {
    color: #cbd5e1;
}

.point-value {
    font-size: 1.75rem;
    font-weight: bold;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
}

.point-label {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .category-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .sub-tab {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .coming-soon-badge {
        font-size: 0.55rem;
        padding: 0.1rem 0.3rem;
    }

    .tutorial-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tutorial-step-card {
        padding: 1.25rem;
    }

    .tutorial-step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .tutorial-step-title {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .points-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.5rem;
    }

    .point-card {
        padding: 0.75rem;
    }

    .point-value {
        font-size: 1.5rem;
    }
}

