/* Tags Page Specific Styles */

.tags-container {
    max-width: 900px;
    padding-bottom: 60px;
}

/* Back Button */
.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--suno-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.back-btn:hover {
    color: var(--suno-orange);
    background: rgba(249, 115, 22, 0.1);
}

/* Header */
.tags-header {
    text-align: center;
    margin-bottom: 32px;
}

.tags-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--suno-text) 0%, var(--suno-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tags-subtitle {
    color: var(--suno-text-muted);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Navigation */
.tags-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 16px;
    background: var(--suno-card);
    border-radius: 12px;
    border: 1px solid var(--suno-border);
    position: sticky;
    top: 10px;
    z-index: 100;
}

.nav-chip {
    padding: 8px 16px;
    background: var(--suno-bg);
    border: 1px solid var(--suno-border);
    border-radius: 20px;
    color: var(--suno-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-chip:hover {
    border-color: var(--suno-orange);
    color: var(--suno-orange);
    background: rgba(249, 115, 22, 0.1);
}

/* Sections */
.tag-section {
    margin-bottom: 48px;
}

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

.section-icon {
    font-size: 28px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--suno-text);
    margin: 0;
}

.section-desc {
    color: var(--suno-text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Tag Grid */
.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.tag-card {
    background: var(--suno-card);
    border: 1px solid var(--suno-border);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.2s;
}

.tag-card:hover {
    border-color: var(--suno-orange);
    background: var(--suno-card-hover);
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--suno-orange) 0%, #FB923C 100%);
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'SF Mono', 'Consolas', monospace;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--suno-orange-glow);
}

.tag.copied {
    background: linear-gradient(135deg, var(--suno-green) 0%, #4ADE80 100%);
}

.tag.copied::after {
    content: ' Copied!';
    font-weight: 500;
}

.tag-card p {
    color: var(--suno-text-muted);
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
}

/* Tips Section */
.tips-section {
    margin-top: 60px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid var(--suno-border);
    border-radius: 16px;
}

.tips-section h2 {
    font-size: 22px;
    color: var(--suno-text);
    margin-bottom: 24px;
    text-align: center;
}

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

.tip-card {
    background: var(--suno-card);
    border: 1px solid var(--suno-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.tip-number {
    position: absolute;
    top: -12px;
    left: 16px;
    background: linear-gradient(135deg, var(--suno-purple) 0%, #A78BFA 100%);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.tip-card h3 {
    font-size: 16px;
    color: var(--suno-text);
    margin: 8px 0 10px;
}

.tip-card p {
    font-size: 13px;
    color: var(--suno-text-muted);
    margin: 0;
    line-height: 1.5;
}

.tip-card code {
    background: var(--suno-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--suno-orange);
}

/* CTA */
.tags-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--suno-border);
}

.tags-cta p {
    color: var(--suno-text-muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--suno-orange) 0%, #FB923C 100%);
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--suno-orange-glow);
}

.cta-btn .arrow {
    font-size: 20px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .tags-container {
        padding: 20px;
    }

    .tags-header h1 {
        font-size: 26px;
    }

    .tags-nav {
        position: static;
        gap: 8px;
    }

    .nav-chip {
        padding: 6px 12px;
        font-size: 12px;
    }

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

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

    .section-header h2 {
        font-size: 20px;
    }
}
