/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* メディアや埋め込み要素の横はみ出し防止 */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #999999;
    color: #2c3e50;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Removed animated background for clean white design */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(153, 153, 153, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.03);
    z-index: 1000;
    padding: 1rem 0;
}

/* 固定ヘッダー分の余白を確保 */
main, section {
    scroll-margin-top: 80px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 2rem;
    color: #2c3e50;
}

.logo-image {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #34495e;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* ハンバーガー開閉時のアニメーション */
.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

/* スマホ時にヒーローがヘッダーに被らないよう上余白を追加 */
@media (max-width: 768px) {
    .hero {
        padding-top: 6rem;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #2c3e50, #34495e, #5d6d7e);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
}

.glitch {
    position: relative;
}

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

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #dc3545;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #6c757d;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% { transform: translate(0); }
    15%, 49% { transform: translate(-2px, 2px); }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% { transform: translate(0); }
    21%, 62% { transform: translate(2px, -2px); }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(220, 53, 69, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #2c3e50;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.3);
    background: #34495e;
}

.btn-secondary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background: #2c3e50;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.3);
}

/* Terminal */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    border: 2px solid #2c3e50;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.15);
    width: 340px;            /* 固定幅 */
    max-width: 90vw;         /* 画面が狭い時ははみ出さない */
    height: 520px;           /* 固定高さ */
    max-height: 70vh;        /* 画面が低い時の上限 */
    display: flex;           /* ヘッダー/ボディで縦分割 */
    flex-direction: column;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f57; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #28ca42; }

.terminal-title {
    font-family: 'Orbitron', monospace;
    color: #2c3e50;
    font-weight: 600;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    flex: 1;                 /* 残り高さを使用 */
    overflow-y: auto;        /* 内容が増えたら内部スクロール */
    -webkit-overflow-scrolling: touch;
}

/* さらに小さい端末向けの最適化 */
@media (max-width: 480px) {
    .terminal {
        width: 92vw;         /* ほぼ全幅にフィット */
        height: 60vh;        /* 高さもデバイスに合わせる */
    }
    .terminal-body {
        font-size: 0.85rem;
        padding: 1rem;
    }
}

.terminal-line {
    margin-bottom: 0.5rem;
}

.prompt {
    color: #2c3e50;
}

.command {
    color: #5d6d7e;
}

.output {
    color: #85929e;
}

.typing {
    animation: typing 2s steps(20) infinite;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes typing {
    0%, 50% { width: 0; }
    100% { width: 100%; }
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #2c3e50;
}

/* Members Section */
.members {
    padding: 6rem 0;
    background: #999999;
}

.members-slider {
    max-width: 800px;
    margin: 0 auto;
}

/* Member Slide Styles */
.member-slide {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.member-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #2c3e50, #00ff88);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-slide:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-slide:hover::before {
    opacity: 1;
}

.slide-header {
    display: flex;
    align-items: center;
    padding: 2rem 2.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
}

.slide-header:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(44, 62, 80, 0.05));
    transform: scale(1.02);
}

.slide-header.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(44, 62, 80, 0.05));
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
}

.member-info {
    flex: 1;
    margin-left: 1.5rem;
    text-align: left;
}

.member-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-role {
    color: #85929e;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.slide-toggle {
    color: #85929e;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.slide-toggle:hover {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    transform: scale(1.1);
}

.slide-toggle.rotated {
    transform: rotate(180deg) scale(1.1);
    color: #00ff88;
    background: rgba(0, 255, 136, 0.15);
}

.slide-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 0.9));
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.slide-content.active {
    max-height: 1000px;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-content-inner {
    padding: 2.5rem;
    text-align: center;
}

.member-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 3px solid rgba(0, 255, 136, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #2c3e50;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.member-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.member-description {
    color: #5d6d7e;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.skill {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #5d6d7e;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.skill:hover {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.member-social a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border-color: #00ff88;
    color: #ffffff;
}

.member-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #5d6d7e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 0.5rem;
}

.member-link:hover {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
    border-color: #00ff88;
}

.member-link i {
    font-size: 0.8rem;
}

/* Founder Slide Special Styles */
.founder-slide {
    position: relative;
    background: #ffffff;
    border: 2px solid rgba(0, 255, 136, 0.2);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
}

.founder-slide:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.2);
}

.founder-avatar {
    background: #f8f9fa;
    border: 2px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.founder-slide .member-role {
    color: #00ff88;
    font-weight: 700;
}

.founder-slide h3 {
    color: #2c3e50;
    font-size: 1.8rem;
}

@keyframes founderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-content.active .member-description,
.slide-content.active .member-skills,
.slide-content.active .member-social {
    animation: slideInUp 0.6s ease-out;
}

.slide-content.active .skill {
    animation: fadeInScale 0.4s ease-out;
    animation-delay: calc(var(--skill-index, 0) * 0.1s);
}


/* Code Section */
.code-section {
    padding: 6rem 0;
    background: #999999;
}

.code-showcase {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.code-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.tab-btn {
    background: transparent;
    border: none;
    color: #85929e;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    position: relative;
}

.tab-btn.active,
.tab-btn:hover {
    color: #2c3e50;
    background: rgba(44, 62, 80, 0.05);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2c3e50;
}

.code-content {
    position: relative;
}

.code-tab {
    display: none;
    padding: 2rem;
}

.code-tab.active {
    display: block;
}

.code-tab h3 {
    font-family: 'Orbitron', monospace;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

pre {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
    border: 1px solid rgba(44, 62, 80, 0.08);
}

code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2c3e50;
}

/* Syntax Highlighting */
.language-python .token.keyword { color: #ff0066; }
.language-python .token.string { color: #00ff88; }
.language-python .token.comment { color: #666666; }
.language-python .token.function { color: #00ccff; }

.language-javascript .token.keyword { color: #ff0066; }
.language-javascript .token.string { color: #00ff88; }
.language-javascript .token.comment { color: #666666; }
.language-javascript .token.function { color: #00ccff; }

.language-bash .token.keyword { color: #ff0066; }
.language-bash .token.string { color: #00ff88; }
.language-bash .token.comment { color: #666666; }

/* YouTube Section */
.youtube-section {
    padding: 6rem 0;
    background: #999999;
    position: relative;
}

.youtube-content {
    text-align: center;
}

.youtube-description {
    font-size: 1.2rem;
    color: #5d6d7e;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.youtube-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.youtube-feature {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: all 0.3s ease;
}

.youtube-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(44, 62, 80, 0.2);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.08);
}

.youtube-feature i {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 1rem;
}

.youtube-feature h3 {
    font-family: 'Orbitron', monospace;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.youtube-feature p {
    color: #5d6d7e;
}

.youtube-embed {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.youtube-placeholder {
    background: #ffffff;
    border: 2px dashed rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    max-width: 560px;
    width: 100%;
}

.youtube-placeholder i {
    font-size: 4rem;
    color: #ff0000;
    margin-bottom: 1rem;
}

.youtube-placeholder p {
    color: #5d6d7e;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-youtube-main {
    background: #ff0000;
    color: #ffffff;
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-youtube-main:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    color: #ffffff;
}


/* Join Section */
.join-section {
    padding: 6rem 0;
    background: #999999;
    position: relative;
}

.join-content {
    text-align: center;
}

.join-description {
    font-size: 1.3rem;
    color: #5d6d7e;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.join-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(44, 62, 80, 0.2);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.08);
}

.feature i {
    font-size: 3rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.feature h3 {
    font-family: 'Orbitron', monospace;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature p {
    color: #5d6d7e;
}

.join-buttons {
    margin-bottom: 3rem;
}

.btn-discord {
    background: #5865f2;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    margin-bottom: 1rem;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.3);
}

.join-note {
    color: #ffaa00;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Discord Widget */
.discord-widget {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.discord-widget iframe {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cccccc;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.stat-source {
    display: block;
    color: #00ff88;
    font-size: 0.7rem;
    margin-top: 0.2rem;
    opacity: 0.8;
}

/* StatBot Info */
.statbot-info {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.statbot-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

#status-indicator {
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

#status-indicator.connected {
    color: #00ff88;
}

#status-indicator.connecting {
    color: #ffaa00;
}

#status-indicator.error {
    color: #ff0066;
}

.statbot-note {
    color: #5d6d7e;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.statbot-note i {
    color: #00ccff;
}

/* Footer */
.footer {
    background: #999999;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-left p {
    color: #5d6d7e;
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.social-links a:hover {
    background: #2c3e50;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
    color: #85929e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }

    /* モバイル時にハンバーガーで開くドロップダウンメニュー */
    .nav {
        position: relative;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(153, 153, 153, 0.98);
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(44, 62, 80, 0.08);
        z-index: 999;
    }
    .nav-links.active a {
        padding: 0.5rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .members-slider {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .slide-header {
        padding: 1.5rem 1.5rem;
    }
    
    .member-info h3 {
        font-size: 1.4rem;
    }
    
    .member-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .slide-content-inner {
        padding: 2rem 1.5rem;
    }
    
    .member-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .code-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .join-features {
        grid-template-columns: 1fr;
    }
    
    .youtube-features {
        grid-template-columns: 1fr;
    }
    
    .btn-youtube-main {
        font-size: 1.1rem;
        padding: 1.2rem 2.5rem;
    }
    
    .server-stats {
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .discord-widget iframe {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .terminal {
        margin: 0 1rem;
    }
    
    .discord-widget iframe {
        width: 280px;
        height: 350px;
    }
    
    .btn-youtube-main {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .slide-header {
        padding: 1rem 1rem;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
    }
    
    .member-role {
        font-size: 0.8rem;
    }
    
    .member-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .slide-toggle {
        font-size: 1.1rem;
        padding: 0.3rem;
    }
    
    .slide-content-inner {
        padding: 1.5rem 1rem;
    }
    
    .member-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .skill {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .member-social a {
        width: 40px;
        height: 40px;
    }
}

