/* ===== BOT PAGE PREMIUM STYLES ===== */

/* Bot Hero Section */
.bot-hero {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 4rem 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-primary);
}

.bot-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.bot-hero .container {
    position: relative;
    z-index: 2;
}

.bot-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

.banner-fallback {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    position: relative;
}

.banner-pattern {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 11, 15, 0.3) 0%,
        rgba(11, 11, 15, 0.7) 50%,
        rgba(11, 11, 15, 0.9) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0;
}

.bot-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
    color: white;
}

.bot-logo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.bot-logo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-2xl);
    border: 4px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.bot-logo-fallback {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-2xl);
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.bot-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.bot-status.online {
    color: var(--accent-success);
}

.bot-status.offline {
    color: var(--text-muted);
}

.bot-info {
    flex: 1;
    min-width: 0;
}

.bot-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 var(--space-sm) 0;
    color: var(--text-primary);
}

.bot-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 0 var(--space-lg) 0;
    font-weight: 400;
    line-height: 1.5;
}

.bot-badges {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.bot-badge {
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.bot-badge.verified {
    background: rgba(87, 242, 135, 0.2);
    border-color: var(--accent-success);
    color: var(--accent-success);
}

.bot-badge.premium {
    background: rgba(235, 69, 158, 0.2);
    border-color: var(--discord-fuchsia);
    color: var(--discord-fuchsia);
}

.bot-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.bot-stat {
    text-align: center;
}

.bot-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.bot-stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--space-xs);
}

.bot-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.bot-share-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.bot-share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.bot-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.bot-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-primary);
}

.bot-info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

.bot-owner-avatar-placeholder,
.review-avatar-placeholder,
.related-bot-avatar-placeholder {
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.review-rating .filled {
    color: var(--discord-yellow);
}

.review-rating i:not(.filled) {
    color: var(--text-muted);
}

.bot-invite-btn {
    background: var(--discord-blurple);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
}

.bot-invite-btn:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.bot-vote-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: var(--space-md) var(--space-xl);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.bot-vote-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

/* Bot Content */
.bot-content {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
}

.bot-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.bot-description {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.bot-description h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-lg) 0;
}

.bot-description-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.bot-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.bot-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
}

.bot-sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0;
}

.bot-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bot-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-primary);
}

.bot-feature:last-child {
    border-bottom: none;
}

.bot-feature i {
    color: var(--accent-success);
    width: 16px;
}

.bot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.bot-tag {
    background: var(--bg-surface);
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-primary);
}

.bot-owner {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
}

.bot-owner-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.bot-owner-info {
    flex: 1;
}

.bot-owner-name {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.bot-owner-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* Reviews Section */
.bot-reviews {
    margin-top: var(--space-3xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--border-primary);
}

.bot-reviews h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xl) 0;
}

.reviews-grid {
    display: grid;
    gap: var(--space-lg);
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating i {
    color: var(--discord-yellow);
    font-size: 0.875rem;
}

.review-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Related Bots */
.related-bots {
    margin-top: var(--space-3xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--border-primary);
}

.related-bots h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xl) 0;
}

.related-bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.related-bot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.related-bot-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.related-bot-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.related-bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.related-bot-name {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.related-bot-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bot-main {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .bot-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .bot-title {
        font-size: 2rem;
    }
    
    .bot-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .bot-logo,
    .bot-logo-fallback {
        width: 80px;
        height: 80px;
    }
    
    .bot-title {
        font-size: 1.75rem;
    }
    
    .bot-tagline {
        font-size: 1rem;
    }
    
    .bot-stats {
        gap: var(--space-lg);
    }
    
    .bot-actions {
        width: 100%;
        justify-content: center;
    }
    
    .bot-invite-btn,
    .bot-vote-btn {
        flex: 1;
        justify-content: center;
    }
    
    .related-bots-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-xl) 0;
    }
    
    .bot-content {
        padding: var(--space-xl) 0;
    }
    
    .bot-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .bot-actions {
        flex-direction: column;
    }
}