/* ==================== HOBBIES & INTERESTS SECTION ==================== */

/* Section Base */
.hobbies {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

/* Featured Hobbies Layout */
.hobbies-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Hobbies Grid */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* ==================== HOBBY CARD BASE ==================== */
.hobby-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hobby-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Cards */
.hobby-featured {
    padding: 30px;
}

/* Light theme */
[data-theme="light"] .hobby-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ==================== HOBBY ACCENT BARS ==================== */
.hobby-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

.tennis-accent { background: linear-gradient(90deg, #22c55e, #16a34a); }
.poetry-accent { background: linear-gradient(90deg, #eab308, #ca8a04); }
.calisthenics-accent { background: linear-gradient(90deg, #f97316, #ea580c); }
.hiking-accent { background: linear-gradient(90deg, #14b8a6, #0d9488); }
.music-accent { background: linear-gradient(90deg, #a855f7, #9333ea); }
.anime-accent { background: linear-gradient(90deg, #ec4899, #db2777); }
.food-accent { background: linear-gradient(90deg, #f59e0b, #d97706); }

/* ==================== HOBBY HEADER ==================== */
.hobby-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.hobby-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
}

/* Icon Colors */
.tennis-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
.poetry-icon { background: linear-gradient(135deg, #eab308, #ca8a04); }
.calisthenics-icon { background: linear-gradient(135deg, #f97316, #ea580c); }
.hiking-icon { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.music-icon { background: linear-gradient(135deg, #a855f7, #9333ea); }
.anime-icon { background: linear-gradient(135deg, #ec4899, #db2777); }
.food-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }

.hobby-title-group {
    flex: 1;
}

.hobby-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.hobby-role {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

.hobby-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==================== NATIONAL WINNER BANNER ==================== */
.national-winner-banner {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #1a1a1a;
    padding: 8px 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(234, 179, 8, 0.4);
    z-index: 10;
}

.national-winner-banner i {
    margin-right: 5px;
}

/* ==================== POETRY ACHIEVEMENT JOURNEY ==================== */
.poetry-achievement {
    margin: 20px 0;
    padding: 15px;
    background: rgba(234, 179, 8, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.achievement-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
}

.journey-step {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
}

.journey-step.winner {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #1a1a1a;
    font-weight: 600;
}

.achievement-journey i {
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* ==================== FEATURED POEM ==================== */
.featured-poem {
    margin: 20px 0;
    padding: 20px;
    background: rgba(234, 179, 8, 0.05);
    border-left: 3px solid #eab308;
    border-radius: 0 12px 12px 0;
}

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

.poem-header i {
    color: #eab308;
}

.poem-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-style: italic;
}

.poem-subject {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.poem-recognition {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.poem-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #1a1a1a;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.poem-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(234, 179, 8, 0.4);
}

/* ==================== AWARDS SECTION ==================== */
.hobby-awards {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.awards-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.awards-title i {
    color: #eab308;
}

.award-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.award-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.award-item.featured-award {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.award-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.award-badge.gold {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #1a1a1a;
}

.award-badge.silver {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: white;
}

.award-badge.bronze {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
}

/* Gold shimmer effect */
.award-badge.shimmer {
    animation: goldShimmer 2s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% { box-shadow: 0 0 10px rgba(234, 179, 8, 0.3); }
    50% { box-shadow: 0 0 25px rgba(234, 179, 8, 0.6); }
}

.award-content {
    flex: 1;
}

.award-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.award-highlight {
    display: block;
    color: #eab308;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.award-detail {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==================== FUN FACTS TICKER ==================== */
.fun-facts-container {
    margin-top: 50px;
    padding: 20px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.fun-facts-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.fun-facts-ticker {
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    gap: 20px;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

.fact-item {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.fact-separator {
    color: var(--accent-color);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fun-facts-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* ==================== HOVER EFFECTS ==================== */
.hobby-card[data-hobby="tennis"]:hover {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(34, 197, 94, 0.15);
}

.hobby-card[data-hobby="poetry"]:hover {
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(234, 179, 8, 0.15);
}

.hobby-card[data-hobby="calisthenics"]:hover {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(249, 115, 22, 0.15);
}

.hobby-card[data-hobby="hiking"]:hover {
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(20, 184, 166, 0.15);
}

.hobby-card[data-hobby="music"]:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(168, 85, 247, 0.15);
}

.hobby-card[data-hobby="anime"]:hover {
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(236, 72, 153, 0.15);
}

.hobby-card[data-hobby="food"]:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(245, 158, 11, 0.15);
}

/* Icon hover animations */
.hobby-card:hover .hobby-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .hobbies-featured {
        grid-template-columns: 1fr;
    }
    
    .national-winner-banner {
        font-size: 0.65rem;
        padding: 6px 40px;
        right: -40px;
    }
}

@media (max-width: 768px) {
    .hobbies {
        padding: 60px 0;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .hobby-card {
        padding: 20px;
    }
    
    .hobby-featured {
        padding: 25px;
    }
    
    .achievement-journey {
        font-size: 0.75rem;
    }
    
    .journey-step {
        padding: 4px 8px;
    }
    
    .national-winner-banner {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        border-radius: 8px;
        margin-bottom: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hobby-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .award-item {
        flex-direction: column;
        text-align: center;
    }
    
    .award-badge {
        margin: 0 auto;
    }
}

/* ==================== LIGHT THEME ADJUSTMENTS ==================== */
[data-theme="light"] .hobby-awards {
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .award-item {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .award-item:hover {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .fun-facts-container {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .poetry-achievement {
    background: rgba(234, 179, 8, 0.08);
}

[data-theme="light"] .featured-poem {
    background: rgba(234, 179, 8, 0.05);
}
