/* 趣味ページ専用スタイル */

.navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(120, 119, 198, 0.1);
    border: 1px solid rgba(120, 119, 198, 0.3);
    border-radius: 25px;
    color: #e8e8e8;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(120, 119, 198, 0.2);
    border-color: rgba(120, 119, 198, 0.5);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(120, 119, 198, 0.3);
    border-color: rgba(120, 119, 198, 0.6);
    color: #7877c6;
}

.nav-icon {
    font-size: 1.1rem;
}

.hobby-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.hobby-category {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(120, 119, 198, 0.3);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(120, 119, 198, 0.3);
}

.category-icon {
    font-size: 2rem;
    background: linear-gradient(45deg, #7877c6, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7877c6;
    flex: 1;
}

.category-status {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.category-status[data-status="ACTIVE"] {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.hobby-category:nth-child(1) .category-status,
.hobby-category:nth-child(2) .category-status,
.hobby-category:nth-child(3) .category-status,
.hobby-category:nth-child(5) .category-status {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.hobby-category:nth-child(4) .category-status {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.hobby-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.hobby-card {
    background: rgba(120, 119, 198, 0.05);
    border: 1px solid rgba(120, 119, 198, 0.2);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #7877c6, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hobby-card:hover {
    background: rgba(120, 119, 198, 0.1);
    border-color: rgba(120, 119, 198, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.2);
}

.hobby-card:hover::before {
    opacity: 1;
}

.hobby-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hobby-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #7877c6;
}

.hobby-level {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.hobby-desc {
    color: #e8e8e8;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.hobby-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(120, 119, 198, 0.2);
    color: #b8b8b8;
    border-radius: 12px;
    border: 1px solid rgba(120, 119, 198, 0.3);
    font-family: 'Orbitron', monospace;
}

.stats-section {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(120, 119, 198, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.stats-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #7877c6;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: rgba(120, 119, 198, 0.1);
    border: 1px solid rgba(120, 119, 198, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #7877c6;
    margin-bottom: 8px;
}

.stat-label {
    color: #b8b8b8;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #7877c6, #4caf50);
    border-radius: 3px;
    transition: width 0.8s ease;
}

.current-activities {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(120, 119, 198, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.current-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #7877c6;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-list {
    display: grid;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(120, 119, 198, 0.05);
    border: 1px solid rgba(120, 119, 198, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(120, 119, 198, 0.1);
    transform: translateX(5px);
}

.activity-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.activity-status.active {
    background: #4caf50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.activity-status.planning {
    background: #ffc107;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.activity-text {
    flex: 1;
    color: #e8e8e8;
    font-size: 0.95rem;
}

.activity-progress {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #7877c6;
    background: rgba(120, 119, 198, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        width: 200px;
        justify-content: center;
    }
    
    .hobby-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
