/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

/* メインコンテンツ */
.main-content {
    min-height: 100vh;
}

/* カテゴリーセクション */
.categories-section {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3rem;
}

/* カテゴリーグリッド */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* カテゴリーカード */
.category-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.category-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.category-icon {
    margin-right: 1rem;
    color: #667eea;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
    min-width: 0;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.category-description {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.expand-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chevron-icon {
    transition: transform 0.2s ease;
}

/* カテゴリーコンテンツ */
.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8fafc;
}

.tournament-list {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tournament-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #1a202c;
    font-weight: 500;
}

.tournament-name {
    font-size: 0.95rem;
}

.arrow-icon {
    color: #94a3b8;
    flex-shrink: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-header {
        padding: 1.25rem;
    }
    
    .tournament-list {
        padding: 0.75rem 1.25rem;
    }
    
    .tournament-link {
        padding: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .categories-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}