/* サイト全体のカラーテーマ */
:root {
    --bg-color: #121212;
    --primary-text: #E0E0E0;
    --secondary-text: #BDBDBD;
    --accent-color-1: #64B5F6;
    --accent-color-2: #A5D6A7;
    --link-color: #81D4FA;
    --hover-color: #42A5F5;
    --card-bg: #1E1E1E;
    --input-bg: #2D2D2D;
    --border-color: #333333;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --progress-bar-bg: #333333;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --error-color: #F44336;
    --github-link-size: 48px;
    --github-link-radius: 12px;
    --github-icon-size: 1.2rem;
    --title-github-gap: 16px;
    --title-github-icon-size: 1.8rem;
}

/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 共通のリンクスタイル */
a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

/* レスポンシブ画像 */
img {
    max-width: 100%;
    height: auto;
}

/* コンテナの基本設定 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2; /* パーティクルの上に表示 */
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1; /* パーティクルの上に表示 */
}

/* セクションタイトルのスタイル */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--accent-color-1);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

button {
    border: none;
    outline: none;
}

/* GitHubリンクの共通スタイルを集約 */
.github-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--github-link-size);
    height: var(--github-link-size);
    border-radius: var(--github-link-radius);
    background: var(--card-bg);
    color: var(--primary-text);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.github-link i {
    font-size: var(--github-icon-size);
}

.github-link:hover {
    background: var(--accent-color-1);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.title-github-link {
    display: inline-flex;
    align-items: center;
    margin-left: var(--title-github-gap);
    color: var(--secondary-text);
    text-decoration: none;
    opacity: 0.6;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.title-github-link:hover {
    color: var(--accent-color-1);
    opacity: 1;
    transform: translateY(-1px);
}

.title-github-link i {
    font-size: var(--title-github-icon-size);
}

/* GitHubリンクのサイズトークンをまとめて管理 */
@media screen and (max-width: 1199px) {
    :root {
        --github-link-size: 44px;
        --github-link-radius: 10px;
        --github-icon-size: 1.1rem;
        --title-github-gap: 16px;
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --github-link-size: 46px;
        --github-link-radius: 11px;
        --github-icon-size: 1.15rem;
        --title-github-gap: 12px;
        --title-github-icon-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --github-link-size: 44px;
        --github-link-radius: 10px;
        --github-icon-size: 1.1rem;
        --title-github-gap: 8px;
        --title-github-icon-size: 1.2rem;
    }

    /* タッチデバイスでの挙動調整 */
    .title-github-link {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .title-github-link:hover {
        transform: none;
    }

    .title-github-link:active {
        transform: scale(0.95);
        opacity: 1;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --github-link-size: 40px;
        --github-link-radius: 8px;
        --github-icon-size: 1rem;
    }
}

@media screen and (max-width: 360px) {
    :root {
        --github-link-size: 32px;
        --github-link-radius: 6px;
        --github-icon-size: 0.8rem;
        --title-github-gap: 8px;
    }
}

/* Subtle frosted glass effect with visible borders */
.liquidGlass-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px) saturate(110%);
    -webkit-backdrop-filter: blur(5px) saturate(110%);
}

/* Exclude contact items from glass effect */
.contact-item.liquidGlass-wrapper {
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.liquidGlass-wrapper .liquidGlass-tint {
    background: rgba(255, 255, 255, 0.08);
}

.liquidGlass-wrapper .liquidGlass-shine {
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3),
        inset -1px -1px 0 rgba(255, 255, 255, 0.15);
}

/* Enhance glass effect on hover */
.liquidGlass-wrapper:hover {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.liquidGlass-wrapper:hover .liquidGlass-tint {
    background: rgba(255, 255, 255, 0.15);
}

.liquidGlass-wrapper:hover .liquidGlass-shine {
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        inset -1px -1px 0 rgba(255, 255, 255, 0.25);
}

/* ヘッダーとナビゲーション */
header {
    height: 100vh;
    /* background: rgba(18, 18, 18, 0.95); */ /* 透明度が高すぎて見えにくいためコメントアウト */
    background: transparent; /* 背景を透明に */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* パーティクルのオーバーフローを隠す */
}

/* ts-particles背景の設定 */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-color: #121212;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.02) 1px,
            rgba(255, 255, 255, 0.02) 2px
        );
    pointer-events: none;
    opacity: 0.3;
}

/* ナビゲーションバーの固定表示 */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

/* スクロール時のナビゲーションバーの背景変更 */
.nav-container.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-text);
    letter-spacing: 1px;
}

/* ナビゲーションリンク */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--primary-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

/* ナビゲーションリンクのホバーエフェクト */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color-1);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー(レスポンシブ) */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* ヒーローセクション */
.hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.typing-wrapper {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--secondary-text);
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.typing-container {
    display: inline-block;
    min-width: 1ch;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    margin-left: 4px;
    background-color: var(--accent-color-1);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-primary, .cta-secondary {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    min-height: 44px;
}

.cta-primary {
    background: rgba(100, 181, 246, 0.8);
    color: var(--bg-color);
    border: 1px solid rgba(100, 181, 246, 0.6);
    backdrop-filter: blur(5px) saturate(110%);
    -webkit-backdrop-filter: blur(5px) saturate(110%);
}

.cta-primary:hover {
    background: rgba(66, 165, 245, 0.9);
    border: 1px solid rgba(66, 165, 245, 0.8);
    transform: translateY(-3px);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
    border: 2px solid var(--accent-color-2);
    color: var(--accent-color-2);
    background: rgba(165, 214, 167, 0.05);
    backdrop-filter: blur(5px) saturate(110%);
    -webkit-backdrop-filter: blur(5px) saturate(110%);
}

.cta-secondary:hover {
    background: rgba(165, 214, 167, 0.9);
    border: 2px solid var(--accent-color-2);
    color: var(--bg-color);
    transform: translateY(-3px);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* グリッチエフェクト */
.glitch {
    position: relative;
    color: var(--primary-text);
    letter-spacing: 5px;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-color-1);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 3px 0 var(--accent-color-2);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 70% 0);
    }
    20% {
        clip-path: inset(60% 0 1% 0);
    }
    40% {
        clip-path: inset(25% 0 58% 0);
    }
    60% {
        clip-path: inset(90% 0 5% 0);
    }
    80% {
        clip-path: inset(5% 0 69% 0);
    }
    100% {
        clip-path: inset(40% 0 30% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(30% 0 60% 0);
    }
    20% {
        clip-path: inset(10% 0 60% 0);
    }
    40% {
        clip-path: inset(40% 0 43% 0);
    }
    60% {
        clip-path: inset(80% 0 5% 0);
    }
    80% {
        clip-path: inset(15% 0 75% 0);
    }
    100% {
        clip-path: inset(50% 0 30% 0);
    }
}

/* アバウトセクション */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text {
    flex: 1;
}

/* プロフィール画像のアニメーション */
.image-container {
    position: relative;
    max-width: 300px;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

.image-container::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(315deg, var(--accent-color-1), var(--accent-color-2));
    transition: 0.5s;
    animation: rotate 4s linear infinite;
    border-radius: 50%;
    z-index: 2;
}

.image-container::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: var(--card-bg);
    border-radius: 50%;
    z-index: 1;
}

.image-container img {
    position: absolute;
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    object-fit: cover;
    border-radius: 50%;
    z-index: 3;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color-1);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--secondary-text);
}

.personal-info {
    margin: 30px 0;
}

.info-item {
    margin-bottom: 15px;
    display: flex;
}

.info-title {
    min-width: 120px;
    font-weight: 600;
    color: var(--primary-text);
}

.info-detail {
    color: var(--secondary-text);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--primary-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color-1);
    color: var(--bg-color);
    transform: translateY(-5px);
}

/* スキルセクション */
.skill-categories {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.skill-category h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-color-2);
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skill-item {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color-1);
    text-align: center;
}

.skill-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--progress-bar-bg);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

/* プロジェクトセクション */
.project-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--card-bg);
    color: var(--secondary-text);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent-color-1);
    color: var(--bg-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* プロジェクトカード */
.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--accent-color-1);
}

.project-content p {
    margin-bottom: 15px;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.project-tech span {
    font-size: 0.8rem;
    padding: 5px 10px;
    background-color: var(--progress-bar-bg);
    border-radius: 5px;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links a {
    font-size: 1.2rem;
}

.project-links a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* コンタクトセクション */
.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info, .contact-social {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.3rem;
    color: var(--accent-color-1);
}

.contact-details h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary-text);
    line-height: 1.3;
}

.contact-details p {
    color: var(--secondary-text);
}

.contact-details a {
    color: var(--accent-color-1);
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-color-2);
}

.contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-social h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--accent-color-1);
}

.contact-social .social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-social .social-icons a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    color: var(--primary-text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-social .social-icons a:hover {
    background: var(--accent-color-1);
    color: var(--bg-color);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--primary-text);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color-1);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 12px 30px;
    background-color: var(--accent-color-1);
    color: var(--bg-color);
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* フッター */
footer {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(30, 30, 30, 0.9) 100%);
    color: #aaa;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(51, 51, 51, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--secondary-text);
}

.footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color-1);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--primary-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-color-1);
    color: var(--bg-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* レスポンシブデザインのためのメディアクエリ */
/* デスクトップファースト：大きな画面から小さな画面へとスタイルを定義していく */

/* 大きな画面（デフォルト、1200px以上） */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ノートPC、小型デスクトップ (992px-1199px) */
@media screen and (max-width: 1199px) {
    .container {
        width: 95%;
        max-width: 960px;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .typing-wrapper {
        font-size: 1.3rem;
    }
}

/* タブレット (768px-991px) */
@media screen and (max-width: 991px) {
    .container {
        width: 95%;
        max-width: 720px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image, .about-text {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .image-container {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    
    .skill-categories {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info, .contact-map {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
}

/* モバイル (576px-767px) */
@media screen and (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    body {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .nav-container {
        padding: 15px 20px;
    }
    
    .nav-links {
        position: fixed;
        background-color: rgba(18, 18, 18, 0.95);
        height: 100vh;
        width: 100%;
        top: 0;
        right: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0%);
    }
    
    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(100%); /* 非表示時の位置 */
        transition: opacity 0.5s ease, transform 0.5s ease; /* アニメーションの定義 */
    }

    .nav-links.active li {
        opacity: 1; /* 表示時の透明度 */
        transform: translateX(0); /* 表示時の位置 */
    }

    /* ナビゲーションリンクのアニメーション遅延 */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }
    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }
    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }
    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }
    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }
    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }
    .nav-links.active li:nth-child(7) {
        transition-delay: 0.7s;
    }
    .nav-links.active li:nth-child(8) {
        transition-delay: 0.8s;
    }
    
    .burger {
        display: block;
        cursor: pointer;
    }
    
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .toggle .line2 {
        opacity: 0;
    }
    
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .projects-grid, .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .typing-wrapper {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        margin: 10px 0;
        width: 80%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-social {
        margin-top: 30px;
    }
    
    .project-img {
        height: 200px;
    }
    
    .project-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .project-filters button {
        margin: 5px;
    }
    
    .internship-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .company-logo {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
}

/* 小型モバイル (575px以下) */
@media screen and (max-width: 575px) {
    /* Activities Section - Small Mobile */
    .activities {
        padding: 50px 0;
    }
    
    .activities-header {
        gap: 10px;
        margin-bottom: 24px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .ai-disclaimer {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    /* Section Info - Small Mobile Responsive */
    .section-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 0 8px;
        margin-bottom: 20px;
    }
    
    .ai-note {
        font-size: 0.65rem;
        text-align: center;
        line-height: 1.2;
        margin: 0;
        opacity: 0.75;
    }
    
    .source-link {
        font-size: 0.65rem;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        gap: 3px;
    }
    
    .source-link i {
        font-size: 0.75rem;
    }
    
    .quick-stats {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .stat-item {
        padding: 10px;
        gap: 6px;
    }
    
    .stat-item .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .stat-data .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-data .stat-label {
        font-size: 0.7rem;
    }
    
    .card-header {
        padding: 10px 10px 0;
    }
    
    .card-content {
        padding: 0 10px 10px;
    }
    
    .card-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .header-text h3, .header-text h4 {
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .typing-wrapper {
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .image-container {
        width: 250px;
        height: 250px;
    }
    
    .project-filters {
        display: flex;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        padding: 6px 12px;
        margin: 3px;
        font-size: 0.8rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-title {
        margin-right: 0;
    }
    
    .personal-info {
        margin-top: 15px;
    }
    
    .project-tech {
        flex-wrap: wrap;
    }
    
    .project-tech span {
        margin: 2px;
        font-size: 0.7rem;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .internship-card {
        padding: 15px !important;
    }
    
    .tech-tags {
        flex-wrap: wrap;
    }
    
    .tech-tags span {
        margin: 3px;
        font-size: 0.8rem;
    }
    
    .company-info h3 {
        font-size: 1.3rem;
    }
    
    .internship-date {
        font-size: 0.85rem;
    }
    
}

/* 極小デバイス（360px以下） */
@media screen and (max-width: 360px) {
    /* Activities Section - Extra Small Mobile */
    .activities {
        padding: 40px 0;
    }
    
    .activities-header {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .ai-disclaimer {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    /* Section Info - Extra Small Mobile Responsive */
    .section-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
        padding: 0 6px;
        margin-bottom: 16px;
    }
    
    .ai-note {
        font-size: 0.6rem;
        text-align: center;
        line-height: 1.2;
        margin: 0;
        opacity: 0.7;
    }
    
    .source-link {
        font-size: 0.6rem;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        gap: 2px;
    }
    
    .source-link i {
        font-size: 0.7rem;
    }
    
    .quick-stats {
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .stat-item {
        padding: 8px;
        gap: 5px;
    }
    
    .stat-item .stat-icon {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
    
    .stat-data .stat-number {
        font-size: 1rem;
    }
    
    .stat-data .stat-label {
        font-size: 0.65rem;
    }
    
    .card-header {
        padding: 8px 8px 0;
    }
    
    .card-content {
        padding: 0 8px 8px;
    }
    
    .card-icon {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
    
    .header-text h3, .header-text h4 {
        font-size: 0.8rem;
    }
    
    .header-text .period-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .typing-wrapper {
        font-size: 0.9rem;
    }
    
    .cta-buttons a {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin: 0 5px;
    }
    
    .project-img {
        height: 180px;
    }
    
    .project-content h3 {
        font-size: 1.2rem;
    }
    
    .project-tech span {
        padding: 3px 6px;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    
    /* Section Header - Extra Small Mobile Responsive */
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .section-header .section-title {
        text-align: center;
        font-size: 1.4rem;
    }
    
    /* Section Description Card - Extra Small Mobile */
    .section-description-card {
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .description-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }
    
    .description-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .description-text {
        text-align: center;
    }
    
    .description-text p {
        font-size: 0.75rem;
    }
    
    .description-text small {
        font-size: 0.55rem;
    }
}

/* アニメーションクラス */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* ハンバーガーメニューのアニメーション */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ナビゲーションリンクのフェードインアニメーション */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* 資格セクション */
.certifications {
    padding: 80px 0;
    background: transparent;
}

.certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certification-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.certification-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.certification-icon i {
    font-size: 20px;
    color: white;
}

.certification-details h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary-text);
    line-height: 1.3;
}

.certification-details p {
    font-size: 14px;
    color: var(--secondary-text);
}

@media (max-width: 768px) {
    .certifications-container {
        grid-template-columns: 1fr;
    }
    
    .certification-item {
        padding: 20px;
    }
}

.contact-social-links {
    margin-top: 30px;
    justify-content: flex-start;
}

.contact-map {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-map iframe {
    display: block;
}

@media screen and (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-map {
        width: 100%;
        height: 300px;
    }
    
    .contact-map iframe {
        height: 100%;
    }
    
    .contact-social-links {
        justify-content: center;
    }
}

/* インターンシップセクション */
.internship {
    position: relative;
    background: transparent; /* 背景を透明に */
}

.internship-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.internship-card {
    background: rgba(30, 30, 30, 0.9); /* 透明度を追加 */
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.internship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.internship-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
    position: relative;
    z-index: 20;
}

.company-logo {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 30;
}

.company-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 35;
}

.company-info {
    flex: 1;
}

.company-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-text);
}

.internship-date {
    font-size: 1rem;
    color: var(--accent-color-1);
    margin-bottom: 5px;
}

.company-website a {
    color: var(--link-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.company-website a:hover {
    color: var(--hover-color);
}

.internship-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.internship-description p {
    color: var(--secondary-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.internship-tech h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-text);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    background-color: rgba(100, 181, 246, 0.15);
    color: var(--accent-color-1);
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(100, 181, 246, 0.3);
}

/* メディアクエリ（レスポンシブ対応） */
@media screen and (max-width: 768px) {
    .internship-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .company-logo {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 576px) {
    .internship-card {
        padding: 15px;
    }
    
    .tech-tags {
        gap: 8px;
    }
    
    .tech-tags span {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .company-info h3 {
        font-size: 1.5rem;
    }
    
    .internship-date {
        font-size: 0.85rem;
    }
}

/* ===== ACTIVITIES SECTION ===== */
.activities {
    position: relative;
    background: transparent;
    padding: 100px 0;
    overflow: hidden;
}

/* Section Description Card */
.section-description-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.description-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.description-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.description-text {
    flex: 1;
}

.description-text p {
    font-size: 1rem;
    color: var(--primary-text);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.description-text small {
    font-size: 0.8rem;
    color: var(--secondary-text);
    opacity: 0.7;
}


/* Dashboard Grid */
.activities-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Base Card Styles */
.dashboard-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
    margin-bottom: 20px;
}

.header-left h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-text);
    margin: 0 0 4px 0;
}

.header-left p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin: 0;
    opacity: 0.8;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent-color-2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color-2);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.last-updated {
    font-size: 0.8rem;
    color: var(--secondary-text);
    background: rgba(64, 181, 246, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(64, 181, 246, 0.2);
}

.card-content {
    padding: 0 24px 24px;
}

/* Main Card */
.main-card {
    margin-bottom: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background-color: transparent;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
    overflow: hidden;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    padding: 25px;
}

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

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(64, 181, 246, 0.2);
    border-top: 3px solid var(--accent-color-1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.loading-state p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    padding: 25px;
}

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

.stat-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(64, 181, 246, 0.2), rgba(165, 214, 167, 0.15));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color-1);
    font-size: 1.1rem;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
}

.stat-trend.up {
    color: var(--accent-color-2);
    background: rgba(76, 175, 80, 0.15);
}

.stat-content {
    position: relative;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-text);
    line-height: 1;
    margin-bottom: 4px;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-bottom: 12px;
    display: block;
}

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

.stat-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Insights Card */
.insights-card {
    margin-bottom: 20px;
}

.refresh-btn {
    width: 32px;
    height: 32px;
    background: rgba(64, 181, 246, 0.1);
    border: 1px solid rgba(64, 181, 246, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color-1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-btn:hover {
    background: rgba(64, 181, 246, 0.2);
    transform: rotate(180deg);
}

/* Timeline Card - Compact Version */
.timeline-card {
    margin-bottom: 12px;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.insight-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.6), rgba(50, 50, 50, 0.4));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.insight-card:hover {
    transform: translateY(-2px);
    border-color: rgba(64, 181, 246, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.insight-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(64, 181, 246, 0.15), rgba(165, 214, 167, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.insight-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-text);
    margin: 0 0 4px 0;
}

.insight-content p {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin: 0;
    line-height: 1.4;
}

/* Activity Timeline - Compact Version */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    animation: slideInFromLeft 0.6s ease-out both;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    box-shadow: 0 0 0 1px rgba(64, 181, 246, 0.15);
}

.timeline-content {
    flex: 1;
}

.timeline-content p {
    font-size: 0.8rem;
    color: var(--secondary-text);
    line-height: 1.3;
    margin: 0;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Summary Text Styling */
.summary-text {
    line-height: 1.7;
}

.summary-text p {
    color: var(--secondary-text);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.summary-text p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    /* Activities Section - Large Tablet */
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .activities-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .header-actions {
        align-self: flex-end;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .card-header {
        padding: 20px 24px 0;
        margin-bottom: 20px;
    }
    
    .card-content {
        padding: 0 24px 24px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Insights and Timeline Cards - Large Tablet */
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .insight-card {
        padding: 12px;
        gap: 10px;
    }
    
    .insight-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .timeline-item {
        padding: 3px 0;
    }
    
    .timeline-dot {
        width: 5px;
        height: 5px;
        margin-top: 3px;
    }
    
    .timeline-content p {
        font-size: 0.75rem;
    }
    
    .refresh-btn {
        width: 28px;
        height: 28px;
    }
    
    .activities-dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Section Header - Large Tablet Responsive */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .section-header .section-title {
        text-align: left;
        font-size: 2.2rem;
    }
    
    /* Section Description Card - Large Tablet */
    .section-description-card {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .description-content {
        gap: 12px;
    }
    
    .description-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .description-text p {
        font-size: 0.95rem;
    }
    
    .description-text small {
        font-size: 0.75rem;
    }
    
    .github-repo-link {
        padding: 10px 16px;
        gap: 8px;
    }
    
    .github-repo-link i {
        font-size: 1.1rem;
    }
    
    /* GitHub Showcase Responsive - Tablets */
    .github-showcase {
        padding: 20px;
        margin-top: 20px;
    }
    
    .repo-card {
        padding: 14px;
    }
    
    .repo-header {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .repo-header i {
        font-size: 1.3rem;
    }
    
    .repo-details h4 {
        font-size: 1rem;
    }
    
    .repo-details p {
        font-size: 0.8rem;
    }
    
    .repo-description {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }
    
    .repo-stats {
        gap: 12px;
    }
    
    .stat-item {
        font-size: 0.75rem;
    }
    
    .showcase-header {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }
    
}

@media screen and (max-width: 768px) {
    /* Activities Section - Tablet */
    .activities {
        padding: 80px 0;
    }
    
    .activities-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .header-actions {
        align-self: stretch;
        justify-content: flex-end;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    
    .ai-disclaimer {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Section Info - Tablet Responsive */
    .section-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 0 15px;
        margin-bottom: 32px;
    }
    
    .ai-note {
        font-size: 0.75rem;
        text-align: center;
        margin: 0;
    }
    
    .source-link {
        font-size: 0.75rem;
        justify-content: center;
    }
    
    .source-link i {
        font-size: 0.85rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .stat-item {
        padding: 16px;
        gap: 12px;
    }
    
    .stat-item .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .stat-data .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-data .stat-label {
        font-size: 0.8rem;
    }
    
    .activities-hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-visual {
        width: 150px;
        height: 150px;
    }
    
    .pulse-ring {
        width: 100px;
        height: 100px;
    }
    
    .pulse-ring-2 {
        width: 130px;
        height: 130px;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        padding: 16px 16px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .header-right {
        align-self: flex-end;
    }
    
    .card-content {
        padding: 0 16px 16px;
    }
    
    .card-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .header-text h3, .header-text h4 {
        font-size: 1.1rem;
    }
    
    .github-repo-link {
        padding: 8px 14px;
        gap: 6px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .github-repo-link i {
        font-size: 1rem;
    }
    
    .github-repo-link span {
        font-size: 0.9rem;
    }
    
    .github-repo-link small {
        font-size: 0.75rem;
        margin-left: 0;
        margin-top: 2px;
    }
    
    /* Insights and Timeline Cards - Tablet */
    .insights-grid {
        gap: 10px;
    }
    
    .insight-card {
        padding: 10px;
        gap: 8px;
    }
    
    .insight-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .insight-content h4 {
        font-size: 0.85rem;
    }
    
    .insight-content p {
        font-size: 0.75rem;
    }
    
    .timeline-content p {
        font-size: 0.7rem;
    }
    
    .refresh-btn {
        width: 26px;
        height: 26px;
    }
    
    /* GitHub Showcase Responsive - Mobile */
    .github-showcase {
        padding: 16px;
        margin-top: 16px;
        border-radius: 12px;
    }
    
    .showcase-header {
        font-size: 0.8rem;
        margin-bottom: 12px;
        gap: 8px;
    }
    
    .showcase-header i {
        font-size: 0.9rem;
    }
    
    .repo-card {
        padding: 12px;
        border-radius: 10px;
    }
    
    .repo-header {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .repo-header i {
        font-size: 1.2rem;
    }
    
    .repo-details h4 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .repo-details p {
        font-size: 0.75rem;
    }
    
    .repo-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .repo-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .stat-item {
        font-size: 0.7rem;
    }
    
    .stat-item i {
        font-size: 0.7rem;
    }
    
    .repo-arrow {
        font-size: 0.8rem;
        align-self: flex-end;
    }
    
    /* Section Header - Tablet Responsive */
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .section-header .section-title {
        text-align: center;
        font-size: 2rem;
    }
    
    /* Section Description Card - Tablet */
    .section-description-card {
        padding: 14px;
        margin-bottom: 20px;
    }
    
    .description-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .description-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .description-text {
        text-align: center;
    }
    
    .description-text p {
        font-size: 0.9rem;
    }
    
    .description-text small {
        font-size: 0.7rem;
    }
    
}

@media screen and (max-width: 480px) {
    /* Activities Section - Mobile */
    .activities {
        padding: 60px 0;
    }
    
    .activities-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .header-actions {
        align-self: stretch;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .ai-disclaimer {
        font-size: 0.75rem;
        padding: 5px 10px;
        align-self: center;
    }
    
    /* Section Info - Mobile Responsive */
    .section-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 0 10px;
        margin-bottom: 24px;
    }
    
    .ai-note {
        font-size: 0.7rem;
        text-align: center;
        line-height: 1.3;
        margin: 0;
        opacity: 0.8;
    }
    
    .source-link {
        font-size: 0.7rem;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        gap: 4px;
    }
    
    .source-link i {
        font-size: 0.8rem;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .stat-item {
        padding: 12px;
        gap: 8px;
    }
    
    .stat-item .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .stat-data .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-data .stat-label {
        font-size: 0.75rem;
    }
    
    .card-header {
        padding: 12px 12px 0;
        gap: 6px;
    }
    
    .card-content {
        padding: 0 12px 12px;
    }
    
    .card-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .header-text h3, .header-text h4 {
        font-size: 1rem;
    }
    
    .header-text .period-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .github-repo-link {
        padding: 6px 12px;
        gap: 4px;
    }
    
    .github-repo-link i {
        font-size: 0.9rem;
    }
    
    .github-repo-link span {
        font-size: 0.85rem;
    }
    
    .github-repo-link small {
        font-size: 0.7rem;
    }
    
    /* Insights and Timeline Cards - Mobile */
    .insights-grid {
        gap: 8px;
    }
    
    .insight-card {
        padding: 8px;
        gap: 6px;
    }
    
    .insight-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .insight-content h4 {
        font-size: 0.8rem;
    }
    
    .insight-content p {
        font-size: 0.7rem;
    }
    
    .timeline-content p {
        font-size: 0.65rem;
    }
    
    .refresh-btn {
        width: 24px;
        height: 24px;
    }
    
    /* GitHub Showcase Responsive - Small Mobile */
    .github-showcase {
        padding: 12px;
        margin-top: 12px;
        border-radius: 10px;
    }
    
    .showcase-header {
        font-size: 0.75rem;
        margin-bottom: 10px;
        gap: 6px;
    }
    
    .showcase-header i {
        font-size: 0.8rem;
    }
    
    .showcase-label {
        letter-spacing: 0.3px;
    }
    
    .repo-card {
        padding: 10px;
        border-radius: 8px;
    }
    
    .repo-header {
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .repo-header i {
        font-size: 1rem;
    }
    
    .repo-details h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .repo-details p {
        font-size: 0.7rem;
    }
    
    .repo-description {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .repo-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .stat-item {
        font-size: 0.65rem;
        gap: 4px;
    }
    
    .stat-item i {
        font-size: 0.6rem;
    }
    
    .repo-arrow {
        font-size: 0.75rem;
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .repo-card {
        position: relative;
    }
    
    /* Section Header - Mobile Responsive */
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .section-header .section-title {
        text-align: center;
        font-size: 1.8rem;
    }
    
    /* Section Description Card - Mobile */
    .section-description-card {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .description-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    .description-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .description-text {
        text-align: center;
    }
    
    .description-text p {
        font-size: 0.85rem;
    }
    
    .description-text small {
        font-size: 0.65rem;
    }
    
}

/* Activity Loading Animation */
@keyframes pulse-soft {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.loading-message {
    animation: pulse-soft 2s infinite;
}

/* Activity Update Animation */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.summary-content.updated {
    animation: slideInFromTop 0.6s ease-out;
}

/* Error Message Styles */
.error-message {
    color: var(--error-color) !important;
    text-align: center;
    padding: 20px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    font-style: normal;
}

.error-message i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Activity Highlights Styles */
.activity-highlights {
    margin-top: 20px;
    padding: 20px;
    background: rgba(100, 181, 246, 0.05);
    border-left: 4px solid var(--accent-color-1);
    border-radius: 0 8px 8px 0;
}

.activity-highlights h4 {
    color: var(--accent-color-1);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.activity-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-highlights li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    color: var(--secondary-text);
    line-height: 1.6;
}

.activity-highlights li::before {
    content: '•';
    color: var(--accent-color-1);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.activity-highlights li:hover {
    color: var(--primary-text);
    transition: color 0.3s ease;
}

/* 画像の遅延読み込み */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[data-src][src] {
    opacity: 1;
}

/* 画像プレースホルダー */
.image-placeholder {
    background: linear-gradient(110deg, #2d2d2d 8%, #353535 18%, #2d2d2d 33%);
    background-size: 200% 100%;
    animation: shine 1.5s linear infinite;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

/* モバイルデバイスでは通常のカーソルを表示 */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    body {
        cursor: auto;
    }
    
    a {
        cursor: pointer;
    }
    
    button {
        cursor: pointer;
    }
    
    /* Touch-friendly sizing for activities elements */
    .github-link {
        min-width: 44px;
        min-height: 44px;
    }
    
    .refresh-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .stat-item {
        min-height: 60px;
    }
    
    .insight-card {
        min-height: 60px;
    }
    
    .timeline-item {
        min-height: 40px;
    }
}

/* Landscape phone optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .activities {
        padding: 30px 0;
    }
    
    .activities-header {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .quick-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .card-header {
        padding: 8px 12px 0;
    }
    
    .card-content {
        padding: 0 12px 12px;
    }
}

/* プリローダー */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    position: relative;
    width: 50px;
    height: 50px;
}

.loader-outer-ring {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(100, 181, 246, 0.3);
    border-top: 3px solid var(--accent-color-1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gemini Analysis Details */
.gemini-details {
    background: rgba(25, 25, 25, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid rgba(100, 181, 246, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.gemini-details.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.gemini-analysis-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(100, 181, 246, 0.2);
}

.gemini-analysis-header h4 {
    color: var(--accent-color-1);
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gemini-analysis-header i {
    color: var(--accent-color-2);
}

.analysis-item {
    margin-bottom: 20px;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.analysis-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.analysis-item:last-child {
    margin-bottom: 0;
}

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

.item-header i {
    color: var(--accent-color-1);
    font-size: 1.1rem;
}

.item-title {
    font-weight: 600;
    color: var(--primary-text);
    font-size: 1rem;
}

.item-content {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Focus Area Styles */
.focus-content {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-color-1);
    background: rgba(100, 181, 246, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color-1);
}

/* Mood Styles */
.mood-content {
    display: flex;
    align-items: center;
}

.mood-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mood-ポジティブ {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.mood-ニュートラル {
    background: rgba(158, 158, 158, 0.2);
    color: #9E9E9E;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.mood-チャレンジング {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.mood-ネガティブ {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Technology Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(100, 181, 246, 0.1);
    color: var(--accent-color-1);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(100, 181, 246, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(100, 181, 246, 0.2);
    transform: translateY(-1px);
}

/* Achievements List */
.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-item {
    background: rgba(255, 193, 7, 0.1);
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 4px solid #FFC107;
    color: var(--secondary-text);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.achievement-item:hover {
    background: rgba(255, 193, 7, 0.15);
    transform: translateX(5px);
}

.achievement-item:last-child {
    margin-bottom: 0;
}

.achievement-item::before {
    content: '•';
    color: #FFC107;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .gemini-details {
        padding: 20px;
        margin-top: 15px;
    }
    
    .analysis-item {
        padding: 12px;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .tech-tags {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .focus-content {
        font-size: 1rem;
        padding: 8px 12px;
    }
    
    .achievement-item {
        padding: 10px 12px;
    }
    
    /* Section Header - Small Mobile Responsive */
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .section-header .section-title {
        text-align: center;
        font-size: 1.6rem;
    }
    
    /* Section Description Card - Small Mobile */
    .section-description-card {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .description-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }
    
    .description-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .description-text {
        text-align: center;
    }
    
    .description-text p {
        font-size: 0.8rem;
    }
    
    .description-text small {
        font-size: 0.6rem;
    }
}
