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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #f5f5f5;
    color: #333333;
    overflow-x: visible;
    line-height: 1.6;
}

/* Removed animated background for clean white design */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 1.2rem 0;
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: #333333;
    position: absolute;
    left: 1rem;
}

.logo i {
    font-size: 2rem;
    color: #dc3545;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    margin: 0;
    padding: 0 1rem 0 0;
    align-items: center;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.7rem 1.4rem;
    border: 2px solid transparent;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    font-size: 1.1rem;
}

.nav-links a:nth-child(1) { 
    --nav-color: var(--vermilion); 
    --nav-deep: var(--deep-vermilion);
    border-color: var(--vermilion);
    box-shadow: 0 0 15px var(--vermilion), inset 0 0 10px rgba(255, 69, 0, 0.1);
}

.nav-links a:nth-child(2) { 
    --nav-color: var(--emerald); 
    --nav-deep: var(--deep-emerald);
    border-color: var(--emerald);
    box-shadow: 0 0 15px var(--emerald), inset 0 0 10px rgba(0, 255, 136, 0.1);
}

.nav-links a:nth-child(3) { 
    --nav-color: var(--orange); 
    --nav-deep: var(--deep-orange);
    border-color: var(--orange);
    box-shadow: 0 0 15px var(--orange), inset 0 0 10px rgba(255, 140, 0, 0.1);
}

.nav-links a:nth-child(4) { 
    --nav-color: var(--lime); 
    --nav-deep: var(--deep-lime);
    border-color: var(--lime);
    box-shadow: 0 0 15px var(--lime), inset 0 0 10px rgba(50, 205, 50, 0.1);
}

.nav-links a:nth-child(5) { 
    --nav-color: var(--vermilion); 
    --nav-deep: var(--deep-vermilion);
    border-color: var(--vermilion);
    box-shadow: 0 0 15px var(--vermilion), inset 0 0 10px rgba(255, 69, 0, 0.1);
}

.nav-links a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--nav-color, var(--vermilion)), var(--nav-deep, var(--deep-vermilion)));
    border-color: var(--nav-color, var(--vermilion));
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--nav-color, var(--vermilion)), 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.nav-links a::after {
    display: none;
}

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

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

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

.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    min-height: calc(100vh - 4rem);
    gap: 3rem;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 800px;
}

.hero-terminal {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 600px;
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    color: #333333;
    line-height: 1.2;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}


.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); }
}

.subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #dc3545;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.2rem;
    margin: 0;
    color: #333333;
    line-height: 1.8;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
}

.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: #dc3545;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    background: #c82333;
}

.btn-secondary {
    background: #dc3545;
    color: #ffffff;
    border: 2px solid #dc3545;
}

.btn-secondary:hover {
    background: #c82333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    border-color: #c82333;
}

/* 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 #333333;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 100%;
    min-width: 320px;
    flex-shrink: 0;
}


.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: #333333;
    font-weight: 600;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

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

.prompt {
    color: #333333;
}

.command {
    color: #5d6d7e;
}

.output {
    color: #85929e;
}

/* Simplified terminal animations */
.cursor {
    animation: blink 1s infinite;
}

@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: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #dc3545;
}


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

.members-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

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

/* レインボー風カラーパレット */
:root {
    --vermilion: #ff4500;      /* 朱色 */
    --deep-vermilion: #cc3700; /* 深い朱色 */
    --emerald: #00ff88;        /* 緑色 */
    --deep-emerald: #00cc6a;   /* 深い緑色 */
    --orange: #ff8c00;         /* オレンジ */
    --deep-orange: #cc7000;    /* 深いオレンジ */
    --lime: #32cd32;           /* ライムグリーン */
    --deep-lime: #228b22;      /* 深いライム */
}

/* メンバーの配置調整 */
#silver-slide {
    grid-column: 1;
    grid-row: 1;
    --member-color: var(--vermilion);
    --member-deep: var(--deep-vermilion);
}

#murata-aoi-slide {
    grid-column: 2;
    grid-row: 1;
    --member-color: var(--emerald);
    --member-deep: var(--deep-emerald);
}

#sunbit-slide {
    grid-column: 1;
    grid-row: 2;
    --member-color: var(--orange);
    --member-deep: var(--deep-orange);
}

#lucitar-slide {
    grid-column: 2;
    grid-row: 2;
    --member-color: var(--vermilion);
    --member-deep: var(--deep-vermilion);
}

#kanure-slide {
    grid-column: 1 / 3;
    grid-row: 3;
    justify-self: center;
    max-width: 500px;
    --member-color: var(--vermilion);
    --member-deep: var(--deep-vermilion);
}

.member-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--member-color, #dc3545), var(--member-deep, #c82333), var(--member-color, #dc3545));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-slide:hover {
    transform: translateY(-5px);
    border-color: var(--member-color, #dc3545);
    box-shadow: 0 0 30px var(--member-color, #dc3545), 0 15px 40px rgba(0, 0, 0, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

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

.slide-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    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(220, 53, 69, 0.05), rgba(200, 35, 51, 0.05));
    transform: scale(1.02);
}

.slide-header.active {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.05));
    border-bottom: 2px solid rgba(220, 53, 69, 0.3);
}

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

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

.member-role {
    color: var(--member-color, #dc3545);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.slide-toggle {
    color: var(--member-color, #dc3545);
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--member-color, #dc3545);
    opacity: 0.1;
}

.slide-toggle:hover {
    background: var(--member-color, #dc3545);
    opacity: 0.2;
    color: var(--member-deep, #c82333);
    transform: scale(1.1);
}

.slide-toggle.rotated {
    transform: rotate(180deg) scale(1.1);
    color: var(--member-deep, #c82333);
    background: var(--member-color, #dc3545);
    opacity: 0.2;
}

.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: 2rem;
    text-align: center;
}

.member-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--member-color, #dc3545), var(--member-deep, #c82333));
    border: 3px solid var(--member-color, #dc3545);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--member-color, #dc3545), 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.member-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--member-color, #dc3545), 0 6px 20px rgba(0, 0, 0, 0.3);
}

.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-direction: column;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
    text-align: center;
    align-items: center;
}

.skill {
    background: rgba(30, 30, 30, 0.9);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 3px solid var(--member-color, #dc3545);
    box-shadow: 
        0 0 20px var(--member-color, #dc3545),
        0 0 40px var(--member-color, #dc3545),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: 100%;
    max-width: 300px;
}

.skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--member-color, #dc3545), transparent);
    opacity: 0.1;
    transition: left 0.6s;
}

.skill:hover::before {
    left: 100%;
}

.skill:hover {
    background: rgba(220, 53, 69, 0.15);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 30px var(--member-color, #dc3545),
        0 0 60px var(--member-color, #dc3545),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: #ff6b47;
}

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

.member-social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem;
    border: 2px solid var(--member-color, #dc3545);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--member-color, #dc3545), var(--member-deep, #c82333));
    box-shadow: 0 0 20px var(--member-color, #dc3545), 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.1);
    margin: 0.3rem 0.5rem 0.3rem 0;
    position: relative;
    overflow: hidden;
    width: 120px;
    height: 80px;
}

.member-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--member-color, #dc3545), var(--member-deep, #c82333));
    border-radius: 50%;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.member-social a:hover::before {
    opacity: 1;
}

.member-social a:hover {
    background: linear-gradient(135deg, var(--member-deep, #c82333), var(--member-color, #dc3545));
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px var(--member-color, #dc3545), 0 8px 30px rgba(0, 0, 0, 0.2), inset 0 0 25px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.member-social a i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.member-links {
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.link-group {
    margin-bottom: 1rem;
}

.link-label {
    display: block;
    font-weight: 700;
    color: var(--member-color, #dc3545);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-info {
    margin-bottom: 2rem;
    text-align: center;
}

.info-item {
    margin-bottom: 0.5rem;
    color: #5d6d7e;
    font-size: 1rem;
}

.member-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    border: 3px solid var(--member-color, #dc3545);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 
        0 0 20px var(--member-color, #dc3545),
        0 0 40px var(--member-color, #dc3545),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    margin: 0.3rem 0.5rem 0.3rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

.member-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.member-link:hover::before {
    left: 100%;
}

.member-link:hover {
    background: rgba(220, 53, 69, 0.15);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 30px var(--member-color, #dc3545),
        0 0 60px var(--member-color, #dc3545),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: #ff6b47;
}

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

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

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

.founder-avatar {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: 2px solid #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.2);
}

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

.founder-slide h3 {
    color: #333333;
    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: #f5f5f5;
}

.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: #f5f5f5;
    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: #f5f5f5;
    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: #f5f5f5;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.footer-left p {
    color: #666666;
    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: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #666666;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        padding: 1rem;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: rgba(220, 53, 69, 0.1);
    }
    
    .hero-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 3rem 1rem 2rem;
    }
    
    .hero-main {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-terminal {
        order: 2;
        justify-content: center;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 2rem;
    }
    
    .terminal {
        max-width: 320px;
        min-width: 280px;
    }
    
    
    .members-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* モバイルでは自動配置に戻す */
    #silver-slide,
    #murata-aoi-slide,
    #sunbit-slide,
    #lucitar-slide,
    #kanure-slide {
        grid-column: auto;
        grid-row: auto;
    }
    
    .slide-header {
        padding: 1rem 1.5rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .slide-content-inner {
        padding: 1.5rem 1rem;
    }
    
    .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;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .terminal {
        max-width: 280px;
        min-width: 260px;
    }
    
    .hero-layout {
        padding: 2rem 0.5rem 1rem;
        gap: 1.5rem;
    }
    
    .hero-terminal {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .hero-right {
        padding: 0 0.5rem;
    }
    
    .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;
    }
}

