/* Interests section specific styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
}

header h1 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.5em;
    color: #ffffff;
    margin: 0;
    text-shadow: 
        2px 2px 0 rgba(0,0,0,0.8),
        3px 3px 4px rgba(0,0,0,0.4);
}

.back-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

/* Interests Grid */
.interests-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3em;
    padding: 20px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Interest Cards */
.interest-card {
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 0 1 200px;
    text-align: center;
}

.interest-card .card-content {
    padding: 2em;
    text-align: center;
}

.interest-card h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.8em;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 
        2px 2px 0 rgba(0,0,0,0.8),
        3px 3px 4px rgba(0,0,0,0.4);
    position: relative;
    transition: all 0.3s ease;
}

.interest-card h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.interest-card:hover h2 {
    text-shadow: 
        0 0 10px rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.8);
    transform: translateY(-2px);
}

.interest-card:hover h2::after {
    width: 100%;
}

/* Animation for card appearance */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.interest-card {
    animation: cardAppear 0.6s ease-out forwards;
}

.interest-card:nth-child(2) {
    animation-delay: 0.1s;
}

.interest-card:nth-child(3) {
    animation-delay: 0.2s;
}

.interest-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .interests-grid {
        gap: 2em;
        padding: 15px;
        flex-direction: column;
        align-items: center;
    }

    .interest-card {
        width: 100%;
        max-width: 300px;
    }

    .interest-card h2 {
        font-size: 1.5em;
    }
}

/* Interests Section */
.interests-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.interests-section h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: #ffffff;
    text-shadow: 
        2px 2px 0 rgba(0,0,0,0.8),
        3px 3px 4px rgba(0,0,0,0.4);
}

.section-intro {
    font-family: 'Space Mono', monospace;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2em;
    max-width: 800px;
}

/* Interest Grid */
.interest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2em;
    margin-bottom: 3em;
}

.interest-card p {
    font-family: 'Space Mono', monospace;
    font-size: 0.9em;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1em;
    line-height: 1.6;
}

.interest-card a {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.9em;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.interest-card a:hover {
    border-bottom-color: #000;
}

/* External link icon */
.interest-card a[target="_blank"]::after {
    content: '↗';
    display: inline-block;
    margin-left: 4px;
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.interest-card a[target="_blank"]:hover::after {
    transform: translate(2px, -2px);
}

/* Footer note */
.footer-note {
    font-family: 'Space Mono', monospace;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 3em;
    font-style: italic;
} 