/* レイアウトコンポーネント */
.invite-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step-indicator {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    transition: var(--transition);
}

.step-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-hover);
    width: 100%;
    max-width: 600px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5), #fff);
    animation: shimmer 2s infinite;
}

/* Bot紹介セクション */
.bot-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.bot-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--glass-border);
    box-shadow: var(--shadow-hover);
    animation: float 6s ease-in-out infinite;
}

/* テキストスタイル */
.step-title {
    font-size: 2.2em;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.step-description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* 権限カード */
.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.permission-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px 25px;
    transition: var(--transition);
    position: relative;
}

.permission-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.permission-card.admin {
    border-color: rgba(87, 242, 135, 0.4);
}

.permission-card.minimal {
    border-color: rgba(254, 231, 92, 0.4);
}

.permission-title {
    font-size: 1.3em;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.permission-list {
    list-style: none;
    text-align: left;
}

.permission-list li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
}

.permission-list li::before {
    content: '•';
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2em;
}

/* 戻るボタン */
.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 3;
}

/* ボタングループ */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}
