/* MusAgent Agent Launchpad - App.Virtuals.io Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}


/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 2rem;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #FFD700;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.header-center {
    justify-self: center;
}

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700;
}

.search-bar input {
    width: 100%;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 12px 16px 12px 48px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-bar input::placeholder {
    color: #888888;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.butler-btn {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.butler-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

.connect-wallet-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Three Column Grid */
.main-grid {
    display: grid;
    grid-template-columns: 300px 1fr 200px;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Section Headers */
.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.column-headers {
    color: #888888;
    font-size: 0.8rem;
    text-align: right;
    padding-right: 1rem;
}

/* Trending Section */
.trending-section {
    background: rgba(255, 215, 0, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.trending-item:hover {
    background: rgba(255, 215, 0, 0.05);
    transform: translateX(4px);
}

.trending-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    flex-shrink: 0;
}

.trending-info {
    flex: 1;
    min-width: 0;
}

.trending-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dyor-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.trending-metrics {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.trending-fdv {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
}

.trending-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.trending-change.positive {
    color: #00ff88;
}

.trending-change.negative {
    color: #ff4444;
}

/* Spotlight Section */
.spotlight-section {
    background: rgba(255, 215, 0, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
}

.spotlight-carousel {
    position: relative;
    min-height: 300px;
}

.spotlight-agent {
    display: none;
    animation: fadeIn 0.5s ease;
}

.spotlight-agent.active {
    display: block;
}

.spotlight-agent-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.spotlight-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #FFD700;
}

.spotlight-agent-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.25rem;
}

.spotlight-agent-category {
    color: #cccccc;
    font-size: 0.9rem;
}

.spotlight-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.spotlight-metric {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
}

.spotlight-metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.25rem;
}

.spotlight-metric-label {
    color: #cccccc;
    font-size: 0.8rem;
}

.spotlight-description {
    color: #aaaaaa;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.spotlight-social {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

.spotlight-interactions {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Create Section */
.create-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.network-status {
    color: #cccccc;
    font-size: 0.9rem;
    text-align: center;
}

.create-agent-btn {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.create-agent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.3);
}

/* Genesis Section */
.genesis-section {
    margin-top: 3rem;
}

.genesis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.genesis-tabs {
    display: flex;
    gap: 1rem;
}

.genesis-tab {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.genesis-tab:hover {
    background: rgba(255, 215, 0, 0.1);
}

.genesis-tab.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
}

.tab-badge {
    background: #00ff88;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.genesis-info {
    background: rgba(255, 215, 0, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #cccccc;
    line-height: 1.6;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-tab {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #cccccc;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-tab:hover {
    background: rgba(255, 215, 0, 0.05);
    color: #FFD700;
}

.filter-tab.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    color: #FFD700;
}

.genesis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.genesis-card {
    background: rgba(255, 215, 0, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.genesis-card:hover {
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.1);
}

.genesis-agent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.genesis-agent-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.25rem;
}

.genesis-agent-info .days {
    color: #888888;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.genesis-agent-info .symbol {
    color: #cccccc;
    font-weight: 600;
}

.genesis-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.genesis-metric {
    text-align: center;
}

.genesis-metric-label {
    color: #888888;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.genesis-metric-value {
    font-weight: 700;
    color: #FFD700;
}

.genesis-description-text {
    color: #aaaaaa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.genesis-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.genesis-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
}

.status-indicator.upcoming {
    background: #FFD700;
}

.timer-text {
    color: #00ff88;
    font-weight: 600;
    font-size: 0.9rem;
}

.timer-text.upcoming {
    color: #FFD700;
}

.genesis-action-btn {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.genesis-action-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

.genesis-action-btn.subscribe {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-color: transparent;
}

.genesis-action-btn.subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.pagination-info {
    color: #cccccc;
}

.pagination-btn {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

/* Virgen Banner */
.virgen-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    z-index: 1000;
    max-width: 300px;
    animation: slideInRight 0.5s ease;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.banner-text h3 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.banner-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.banner-close {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.banner-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

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

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 250px 1fr 180px;
        gap: 1.5rem;
    }
    
    .header .container {
        grid-template-columns: auto auto 1fr auto;
    }
    
    .header-center {
        justify-self: end;
        margin-right: 1rem;
    }
    
    .search-bar {
        width: 200px;
    }
}

@media (max-width: 968px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .header .container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .header-center {
        justify-self: center;
    }
    
    .genesis-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .genesis-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .genesis-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .search-bar {
        width: 150px;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .butler-btn,
    .connect-wallet-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .genesis-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .virgen-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

