:root {
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.3); /* 発光を大幅に抑制 */
    --secondary: #eab308;
    --accent: #06b6d4;
    --danger: #ef4444;
    --background: #09090b; /* 真っ黒に近い背景 */
    --card-bg: rgba(18, 18, 20, 0.9); /* 紫味を抜いたダークグレー */
    --text: #fafafa;
    --text-muted: #71717a;
    --border: rgba(255, 255, 255, 0.08); /* 境界線は白の薄い線に */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

/* Scanline Overlay - More subtle */
body::before {
    content: " ";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(9, 9, 11, 0.6), rgba(9, 9, 11, 1)), 
                      url('https://media.discordapp.net/attachments/379023972521738252/1505163806387474522/2026-05-16_19.57.45.png?ex=6a09a088&is=6a084f08&hm=5a9e3004a750434eba7bbf772638b2258068b6b4688946eeed37029e9659eb38&=&format=webp&quality=lossless&width=1521&height=856');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 30px var(--primary-glow);
    animation: glitch 8s infinite;
}

@keyframes glitch {
    0%, 96%, 100% { transform: none; text-shadow: 0 0 30px var(--primary-glow); }
    97% { transform: skewX(3deg); text-shadow: 2px 0 var(--primary), -2px 0 var(--accent); }
    98% { transform: skewX(-3deg); text-shadow: -2px 0 var(--primary), 2px 0 var(--accent); }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 0.6em;
    font-weight: 700;
    text-transform: uppercase;
}

/* Section Header */
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

/* Items - Subtle Purple Accents */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.item-tile {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-tile:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.02);
}

.item-tile .icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.item-tile h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    color: #fff;
}

.item-tile p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Cinematic Gallery - Neutralized */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-item {
    width: 100%;
    height: 480px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) brightness(0.8);
    transition: all 1.2s ease;
}

.gallery-item:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.02);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Join Section */
.join-section {
    padding: 10rem 0;
}

.ip-box {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.ip-box:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    background: rgba(168, 85, 247, 0.05);
}

.ip-box span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff; /* IPは白でクリーンに */
}

.ip-box:hover span { color: var(--primary); }

@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .gallery-item { height: 280px; }
}
