.nav-link.active {
    color: #ff6b35;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6b35;
}

.scripts-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.scripts-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b35, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scripts-hero p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.search-filter {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #333;
    border-radius: 25px;
    background: rgba(45, 45, 45, 0.8);
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #ff6b35;
}

.search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 1.2rem;
    cursor: pointer;
}

.filter-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 20px;
    background: transparent;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover,
.filter-tag.active {
    border-color: #ff6b35;
    background: #ff6b35;
    color: white;
}

.scripts-section {
    padding: 60px 0;
    background: #1a1a1a;
}

.scripts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.script-item {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #444;
    transition: all 0.3s ease;
    position: relative;
}

.script-item:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.1);
}

.script-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.script-header h3 {
    font-size: 1.4rem;
    color: #ff6b35;
    margin-right: 15px;
}

.script-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.keyless {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    border: 1px solid #4ecdc4;
}

.badge.premium {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    border: 1px solid #ff6b35;
}

.badge.mobile {
    background: rgba(147, 112, 219, 0.2);
    color: #9370db;
    border: 1px solid #9370db;
}

.script-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.script-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.script-features span {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.script-code {
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.script-code pre {
    padding: 15px;
    margin: 0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
    color: #f8f8f2;
    overflow-x: auto;
}

.copy-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff6b35, #ff8a5b);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.copy-btn.copied {
    background: #4ecdc4;
    transform: scale(0.95);
}

.script-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #333;
    padding-top: 15px;
}

.script-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.load-more {
    text-align: center;
    margin-top: 40px;
}

.scripts-count {
    margin-top: 15px;
    color: #cccccc;
    font-size: 0.9rem;
}

.safety-notice {
    background: #242424;
    padding: 60px 0;
}

.notice-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ff6b35;
}

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

.safety-item {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s ease;
}

.safety-item:hover {
    transform: translateY(-5px);
    border-color: #4ecdc4;
}

.safety-item h3 {
    color: #4ecdc4;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.safety-item p {
    color: #cccccc;
    line-height: 1.6;
}

.script-item.hidden {
    display: none;
}

@media (max-width: 768px) {
    .scripts-hero h1 {
        font-size: 2.5rem;
    }

    .scripts-grid {
        grid-template-columns: 1fr;
    }

    .script-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .filter-tags {
        gap: 10px;
    }

    .filter-tag {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .script-stats {
        flex-direction: column;
        gap: 8px;
        text-align: left;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }
}