/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #0c0e14;
    color: #e8eaf0;
    overflow-x: hidden;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* ── Design Tokens ── */
:root {
    --accent:      #818cf8;
    --accent-dark: #6366f1;
    --bg:          #0c0e14;
    --surface:     #131720;
    --surface2:    #1a1f2e;
    --border:      rgba(255, 255, 255, 0.07);
    --text:        #e8eaf0;
    --muted:       #64748b;
    --radius:      10px;
    --radius-lg:   14px;
}

/* ── Navbar ── */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(12, 14, 20, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1160px; margin: 0 auto;
    display: flex; align-items: center;
    padding: 0 2rem; height: 60px; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem; }
.logo-icon svg { width: 26px; height: 26px; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; gap: 1.6rem; list-style: none; margin-left: auto; }
.nav-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.btn-invite {
    display: flex; align-items: center; gap: 7px;
    background: var(--accent-dark);
    color: #fff; font-weight: 600; font-size: 0.85rem;
    padding: 0.5rem 1.2rem; border-radius: 7px;
    transition: background 0.15s, transform 0.15s;
}
.btn-invite:hover { background: var(--accent); transform: translateY(-1px); }

/* ── Subtle top gradient (no orbs) ── */
.hero-bg {
    position: fixed; top: 0; left: 0; right: 0; height: 500px;
    background: radial-gradient(ellipse 60% 40% at 50% -10%, rgba(99,102,241,0.12) 0%, transparent 100%);
    z-index: -1; pointer-events: none;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: row; align-items: center; justify-content: space-between;
    gap: 4rem; padding: 7rem 3rem 4rem;
    max-width: 1200px; margin: 0 auto;
    text-align: left;
}
.hero-content { flex: 1.2; width: 100%; min-width: 0; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(129,140,248,0.1);
    border: 1px solid rgba(129,140,248,0.25);
    color: var(--accent); font-size: 0.8rem; font-weight: 500;
    padding: 0.35rem 0.9rem; border-radius: 6px; margin-bottom: 1.6rem;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
    animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800;
    line-height: 1.15; margin-bottom: 1.4rem; letter-spacing: -0.025em;
    color: #f0f2f8;
}
.hero-title .accent-word { color: var(--accent); }
.hero-desc {
    color: #8892a4; font-size: 1rem;
    margin-bottom: 2.2rem; line-height: 1.8;
}
.hero-desc strong { color: #c0c8d8; font-weight: 600; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: flex-start; margin-bottom: 3rem; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-dark); color: #fff;
    font-weight: 600; font-size: 0.95rem;
    padding: 0.75rem 1.8rem; border-radius: 8px;
    transition: background 0.15s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid var(--border);
    color: var(--muted); font-weight: 500; font-size: 0.95rem;
    padding: 0.75rem 1.8rem; border-radius: 8px;
    transition: border-color 0.15s, color 0.15s, transform 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.18); color: var(--text); transform: translateY(-2px); }

/* ── Hero Stats ── */
.hero-stats {
    display: flex; gap: 0;
    border: 1px solid var(--border); border-radius: var(--radius);
    width: fit-content; overflow: hidden;
}
.stat-item {
    padding: 0.85rem 1.4rem; text-align: center;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 1.35rem; font-weight: 700; color: var(--text);
    line-height: 1; margin-bottom: 3px;
}
.stat-label { font-size: 0.72rem; color: var(--muted); }

/* ── News & Voting Section ── */
.news-container {
    width: 100%;
    background: rgba(15, 18, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.news-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    display: flex; align-items: center; gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.news-header h2 {
    font-size: 1rem; font-weight: 600; color: var(--text); margin: 0; letter-spacing: 0.5px;
}
.news-feed {
    padding: 1rem; display: flex; flex-direction: column; gap: 1rem;
    max-height: 500px; overflow-y: auto;
    scroll-behavior: smooth;
    /* 上下になめらかに消えるスクロールエフェクト */
    mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
}
/* 独自の美しいスクロールバー */
.news-feed::-webkit-scrollbar { width: 8px; }
.news-feed::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 4px; margin: 10px 0; }
.news-feed::-webkit-scrollbar-thumb { background: rgba(129,140,248,0.3); border-radius: 4px; }
.news-feed::-webkit-scrollbar-thumb:hover { background: rgba(129,140,248,0.6); }

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px; padding: 1rem;
    transition: transform 0.2s, background 0.2s;
}
.news-card:hover { background: rgba(255, 255, 255, 0.05); transform: translateY(-2px); }
.news-author { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.news-avatar-img {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.1);
}
.news-author-info { display: flex; flex-direction: column; }
.news-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.news-role {
    font-size: 0.6rem; padding: 1px 5px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.05); font-weight: 600;
}
.news-date { font-size: 0.75rem; color: var(--muted); }
.news-content {
    font-size: 0.95rem; line-height: 1.5; color: #e2e8f0;
    margin-bottom: 0.5rem; white-space: pre-wrap;
}
.discord-link {
    color: #00a8fc; text-decoration: none; transition: color 0.15s;
}
.discord-link:hover {
    text-decoration: underline; color: #38bdf8;
}

/* ── Discord Embed Card Styles (Simple) ── */
.discord-embed-simple {
    background: #2b2d31;
    border-radius: 6px;
    display: flex;
    max-width: 460px;
    margin-top: 6px;
    padding: 12px 14px;
    gap: 16px;
    align-items: flex-start;
}
.embed-content-simple {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.embed-title {
    font-size: 1rem; font-weight: 600; margin-bottom: 6px;
}
.embed-title a {
    color: #00a8fc; text-decoration: none;
}
.embed-title a:hover {
    text-decoration: underline;
}
.embed-description {
    font-size: 0.875rem; color: #dbdee1; line-height: 1.4;
}
.embed-thumbnail {
    width: 60px; height: 60px; border-radius: 4px;
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.embed-thumbnail img {
    width: 100%; height: 100%; object-fit: contain;
}

.hero-visual { flex: 1; max-width: 650px; width: 100%; display: flex; justify-content: flex-end; }
.chat-header {
    display: flex; align-items: center; gap: 6px;
    background: #0f1219; padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.chat-dot { width: 10px; height: 10px; border-radius: 50%; }
.chat-dot.red    { background: #ff5f57; }
.chat-dot.yellow { background: #febc2e; }
.chat-dot.green  { background: #28c840; }
.chat-channel {
    font-size: 0.78rem; color: var(--muted); margin-left: 8px;
    font-family: 'JetBrains Mono', monospace;
}
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.msg-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.user-av { background: #4f46e5; color: #fff; }
.bot-av  { background: rgba(129,140,248,0.15); border: 1px solid rgba(129,140,248,0.3); }
.msg-name { font-size: 0.73rem; font-weight: 600; display: block; margin-bottom: 4px; color: #6b7280; }
.bot-name { color: var(--accent); }
.bot-tag {
    background: rgba(99,102,241,0.2); border: 1px solid rgba(99,102,241,0.4);
    color: #818cf8; font-size: 0.58rem; padding: 1px 5px; border-radius: 3px;
    font-weight: 700; margin-left: 4px; font-family: 'JetBrains Mono', monospace;
}
.msg-content p { font-size: 0.85rem; color: #d1d5db; }
.msg-code {
    background: #0c0e14; border: 1px solid var(--border);
    border-radius: 7px; padding: 10px 12px; margin-top: 4px;
    font-family: 'JetBrains Mono', monospace;
}

/* ── Terms of Service Page Styles ── */
.terms-page {
    padding: 120px 20px 80px; /* ナビゲーションバーの下からの余白 */
    min-height: 80vh;
}
.terms-content {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
}
.terms-block {
    margin-bottom: 32px;
}
.terms-block h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}
.terms-block p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.terms-block ul {
    list-style-type: disc;
    padding-left: 24px;
    color: var(--muted);
    line-height: 1.7;
}
.terms-block ul li {
    margin-bottom: 6px;
}
.terms-date {
    margin-top: 40px;
    text-align: right;
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}
/* スマホ向けのパディング調整 */
@media (max-width: 768px) {
    .terms-content {
        padding: 24px;
    }
}
.msg-code pre { font-size: 0.76rem; line-height: 1.75; overflow-x: auto; }
.kw  { color: #c084fc; }
.fn  { color: #60a5fa; }
.val { color: #34d399; }
.typing-dots { display: flex; gap: 4px; padding: 4px 0; }
.typing-dots span {
    width: 6px; height: 6px; border-radius: 50%; background: #374151;
    animation: typing-bounce 1.3s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce { 0%,100%{transform:translateY(0);opacity:0.35} 50%{transform:translateY(-4px);opacity:1} }

/* ── Shared layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-header { margin-bottom: 3rem; }
.section-badge {
    display: inline-block;
    font-size: 0.75rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}
.section-header h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 0.65rem; color: var(--text);
}
.section-header p { color: var(--muted); font-size: 0.97rem; max-width: 520px; }
code.inline-code {
    background: rgba(129,140,248,0.12); color: var(--accent);
    padding: 1px 6px; border-radius: 4px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.88em;
}

/* ── Features ── */
.features { padding: 6rem 2rem; border-top: 1px solid var(--border); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.feature-card {
    background: var(--surface);
    padding: 2rem 1.75rem;
    transition: background 0.2s;
}
.feature-card:hover { background: var(--surface2); }
.feature-icon {
    width: 40px; height: 40px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(129,140,248,0.1);
    margin-bottom: 1.1rem;
}
.feature-card h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.feature-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.feature-tag {
    font-size: 0.75rem; color: #4b5563; font-weight: 500;
}

/* ── Commands ── */
.commands { padding: 6rem 2rem; border-top: 1px solid var(--border); }
.cmd-table-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.cmd-table { width: 100%; border-collapse: collapse; }
.cmd-table thead tr { background: var(--surface); }
.cmd-table th {
    padding: 0.85rem 1.4rem; text-align: left;
    font-size: 0.78rem; font-weight: 600; color: var(--muted);
    border-bottom: 1px solid var(--border);
}
.cmd-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
.cmd-table tbody tr:last-child { border-bottom: none; }
.cmd-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.cmd-table td { padding: 1rem 1.4rem; font-size: 0.9rem; vertical-align: middle; }
.cmd-table td code {
    background: rgba(129,140,248,0.1); color: var(--accent);
    padding: 2px 8px; border-radius: 5px; font-size: 0.84rem;
    font-family: 'JetBrains Mono', monospace;
}
.perm-all {
    background: rgba(52,211,153,0.08); color: #34d399;
    border: 1px solid rgba(52,211,153,0.2);
    padding: 2px 10px; border-radius: 5px; font-size: 0.78rem; font-weight: 600;
}
.perm-admin {
    background: rgba(129,140,248,0.08); color: var(--accent);
    border: 1px solid rgba(129,140,248,0.2);
    padding: 2px 10px; border-radius: 5px; font-size: 0.78rem; font-weight: 600;
}
.cmd-note {
    display: flex; align-items: center; gap: 9px;
    margin-top: 1.2rem; padding: 0.9rem 1.2rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 0.86rem; color: var(--muted);
}
.cmd-note code { color: var(--accent); font-family: 'JetBrains Mono', monospace; }

/* ── Setup Guide ── */
.setup-guide { padding: 6rem 2rem; border-top: 1px solid var(--border); }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 640px; }
.step {
    display: flex; gap: 1.5rem; align-items: flex-start;
    position: relative; padding-bottom: 2.5rem;
}
.step:last-child { padding-bottom: 0; }
.step-num {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-size: 0.82rem; font-weight: 700; color: var(--accent);
    margin-top: 2px;
}
.step-connector {
    position: absolute; left: 15px; top: 38px; bottom: 0;
    width: 1px; background: var(--border);
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.step-content p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.step-content p code { color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.step-content p strong { color: #34d399; }

/* ── Status ── */
.status-section { padding: 6rem 2rem; border-top: 1px solid var(--border); }
.status-cards {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.status-card {
    background: var(--surface);
    padding: 1.75rem 1.5rem;
    transition: background 0.2s;
}
.status-card:hover { background: var(--surface2); }
.status-card-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
}
.status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--muted);
}
.status-dot.online {
    background: #34d399;
    box-shadow: 0 0 6px rgba(52,211,153,0.5);
    animation: blink 2.5s ease-in-out infinite;
}
.status-dot.offline { background: #ef4444; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }
.status-card-icon {
    width: 34px; height: 34px; border-radius: 7px;
    background: rgba(129,140,248,0.1);
    display: flex; align-items: center; justify-content: center;
}
.status-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.35rem; }
.status-value { font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1; }

/* ── Footer ── */
#footer { border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 9px; font-size: 0.97rem; font-weight: 700; }
.footer-logo .logo-icon svg { width: 22px; height: 22px; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.84rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.78rem; color: #374151; }
.footer-copy a { color: var(--muted); }
.footer-copy a:hover { color: var(--text); }

/* ── Animations for scroll ── */
.fade-up {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .status-cards  { grid-template-columns: repeat(2, 1fr); }
    .hero { flex-direction: column; padding: 6.5rem 2rem 4rem; }
    .hero-visual { max-width: 100%; width: 100%; }
    .hero-actions { flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .nav-links { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .status-cards  { grid-template-columns: 1fr 1fr; }
    .hero-title    { font-size: 1.9rem; }
    .hero { padding: 6rem 1.5rem 3rem; }
}

/* ── 利用規約 同意モーダル ── */
.terms-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.terms-overlay.visible {
    display: flex;
    animation: overlayIn 0.3s ease forwards;
}
.terms-overlay.closing {
    animation: overlayOut 0.4s ease forwards;
}
@keyframes overlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes overlayOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.terms-modal {
    background: linear-gradient(145deg, #1a1f35, #0f172a);
    border: 1px solid rgba(129, 140, 248, 0.25);
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow: hidden;
}
@keyframes modalSlideIn {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.terms-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.terms-modal-icon {
    width: 48px; height: 48px;
    background: rgba(129, 140, 248, 0.12);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.terms-modal-title {
    font-size: 1.2rem; font-weight: 700;
    color: var(--text); margin: 0 0 2px;
}
.terms-modal-subtitle {
    font-size: 0.8rem; color: var(--muted); margin: 0;
}

.terms-modal-body {
    padding: 20px 24px;
}
.terms-modal-body > p:first-child {
    font-size: 0.9rem; color: var(--muted); margin-bottom: 12px;
}
.terms-modal-list {
    list-style: none; padding: 0; margin: 0 0 14px;
    display: flex; flex-direction: column; gap: 8px;
}
.terms-modal-list li {
    font-size: 0.85rem; color: #cbd5e1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border-left: 3px solid rgba(129, 140, 248, 0.5);
    line-height: 1.5;
}
.terms-modal-readmore {
    font-size: 0.82rem; color: var(--muted); margin: 0;
}
.terms-modal-readmore a {
    color: #818cf8; text-decoration: none;
}
.terms-modal-readmore a:hover { text-decoration: underline; }

.terms-modal-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex; flex-direction: column; gap: 14px;
}
.terms-check-label {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; font-size: 0.9rem; color: var(--text);
    user-select: none;
}
.terms-check-label input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #818cf8;
    cursor: pointer; flex-shrink: 0;
}
.terms-agree-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    color: #fff; font-size: 0.95rem; font-weight: 600;
    border: none; border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}
.terms-agree-btn:disabled {
    opacity: 0.35; cursor: not-allowed; transform: none;
}
.terms-agree-btn:not(:disabled):hover {
    opacity: 0.9; transform: translateY(-1px);
}

@media (max-width: 480px) {
    .terms-modal { border-radius: 12px; }
    .terms-modal-header, .terms-modal-body, .terms-modal-footer { padding-left: 16px; padding-right: 16px; }
}
