/*
Theme Name: TAIKI TSUKAMOTO Portfolio (Glassmorphism)
Author: TAIKI TSUKAMOTO
Description: A premium, ultra-sleek portfolio theme showcasing glassmorphism style, dynamic staggered marquee scroll loop, responsive categories tape, and cinematic loading mechanism.
Version: 1.0
Text Domain: taiki-portfolio
*/

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: #1a1a1a;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Scroll Row */
.scroll-row {
    display: flex;
    width: max-content;
    will-change: transform;
}
.scroll-content {
    display: flex;
    align-items: center;
}
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* ========================================
  モノクロのカテゴリーテープ (Marquee Tape)
  ======================================== */
.marquee-tape-container {
    border-top: 3px solid #1a1a1a;
    border-bottom: 3px solid #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* テープ内のボタンデザイン */
.tape-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.25rem; 
    text-transform: uppercase;
    color: #1a1a1a; 
    padding: 0 2rem; 
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}
@media (min-width: 768px) {
    .tape-btn {
        font-size: 1.5rem; 
        padding: 0 3rem;   
    }
}
.tape-btn:hover {
    color: #22d3ee;
    transform: scale(1.05);
}
.tape-btn.active {
    color: #22d3ee;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}
.tape-separator {
    color: #1a1a1a;
    font-weight: 900;
    font-size: 1.25rem; 
    opacity: 0.2; 
}
@media (min-width: 768px) {
    .tape-separator { font-size: 1.5rem; }
}

/* ========================================
  オーロラブルームエフェクト
  ======================================== */
.aurora-bloom {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    animation: bloom 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes bloom {
    0% { transform: scale(0.5) translateY(0); opacity: 0; }
    30% { opacity: 0.5; }
    100% { transform: scale(2) translateY(-40px); opacity: 0; }
}

/* Fade-in-up animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Load Effect (Only triggers when do-animation class is on parent) */
.card-slide-in {
    opacity: 0;
    transform: translate(80px, 40px) rotate(8deg);
}
.do-animation .card-slide-in {
    animation: slideInPop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes slideInPop {
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}
