/**
 * ChessStake - Legal Pages Premium UI/UX
 * Terms of Service, Privacy Policy, Fair Play
 * Enhanced contrast, vibrant colors, perfect icon alignment
 */

/* ============================================
   LEGAL PAGE BASE
   ============================================ */

.legal-page {
    padding-top: 4rem;
    padding-bottom: 100px;
    min-height: 100vh;
    background: var(--bg);
}

/* ============================================
   HERO SECTION
   ============================================ */

.legal-hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.legal-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.legal-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(99, 102, 241, 0.08) 30%,
        rgba(34, 197, 94, 0.04) 70%,
        transparent 100%);
}

[data-theme="dark"] .legal-hero-gradient {
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.20) 0%,
        rgba(99, 102, 241, 0.12) 30%,
        rgba(34, 197, 94, 0.06) 70%,
        transparent 100%);
}

.legal-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.legal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #4f46e5 100%);
    border-radius: 22px;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow:
        0 10px 40px rgba(139, 92, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.legal-icon.fair-play-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    box-shadow:
        0 10px 40px rgba(34, 197, 94, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.legal-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.legal-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: var(--surface);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
}

.legal-meta-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ============================================
   TABLE OF CONTENTS - Premium Glassmorphism
   ============================================ */

.legal-toc-wrapper {
    position: sticky;
    top: 4rem;
    z-index: 100;
    padding: 1.6rem 0 1rem;
    margin-bottom: 2rem;
}

/* Light mode TOC (default) */
.legal-toc-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 250, 252, 0.95) 50%,
        rgba(241, 245, 249, 0.90) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    z-index: -1;
}

/* Subtle gradient glow at the bottom */
.legal-toc-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.3) 20%,
        rgba(139, 92, 246, 0.4) 50%,
        rgba(99, 102, 241, 0.3) 80%,
        transparent 100%
    );
}

/* Dark mode TOC */
[data-theme="dark"] .legal-toc-wrapper::before {
    background: linear-gradient(
        to bottom,
        rgba(10, 15, 26, 0.95) 0%,
        rgba(10, 15, 26, 0.92) 50%,
        rgba(10, 15, 26, 0.85) 100%
    );
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

[data-theme="dark"] .legal-toc-wrapper::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.4) 20%,
        rgba(99, 102, 241, 0.5) 50%,
        rgba(139, 92, 246, 0.4) 80%,
        transparent 100%
    );
}

.legal-toc {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0;
}

.legal-toc::-webkit-scrollbar {
    display: none;
}

.legal-toc-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.legal-toc-header svg {
    color: #7c3aed;
}

[data-theme="dark"] .legal-toc-header svg {
    color: #a78bfa;
}

.legal-toc-items {
    display: flex;
    gap: 0.5rem;
}

.legal-toc-item {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #4f46e5;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .legal-toc-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.legal-toc-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #7c3aed;
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

[data-theme="dark"] .legal-toc-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

/* Active state for TOC items */
.legal-toc-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}

/* ============================================
   KEY POINTS SUMMARY
   ============================================ */

.legal-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.legal-summary-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.legal-summary-header svg {
    color: #22c55e;
    flex-shrink: 0;
}

.legal-summary-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.legal-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .legal-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .legal-summary-grid {
        grid-template-columns: 1fr;
    }
}

.summary-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.summary-card.skill .summary-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #6366f1;
}

.summary-card.skill {
    border-color: rgba(99, 102, 241, 0.2);
}

.summary-card.custody .summary-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    color: #22c55e;
}

.summary-card.custody {
    border-color: rgba(34, 197, 94, 0.2);
}

.summary-card.transparent .summary-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: #f59e0b;
}

.summary-card.transparent {
    border-color: rgba(245, 158, 11, 0.2);
}

.summary-card.responsibility .summary-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #ef4444;
}

.summary-card.responsibility {
    border-color: rgba(239, 68, 68, 0.2);
}

.summary-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.summary-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   LEGAL CONTENT
   ============================================ */

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

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #4f46e5 100%);
    color: white;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.subsection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

/* Legal Section */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section.condensed {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ============================================
   LEGAL CARDS
   ============================================ */

.legal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-header svg {
    flex-shrink: 0;
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* IS Card (Green) */
.legal-card.is-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10) 0%, rgba(34, 197, 94, 0.04) 100%);
    border-color: rgba(34, 197, 94, 0.3);
    border-left: 4px solid #22c55e;
}

.is-header svg {
    color: #22c55e;
}

.is-header h3 {
    color: #16a34a;
}

[data-theme="dark"] .is-header h3 {
    color: #4ade80;
}

/* NOT Card (Red) */
.legal-card.not-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.10) 0%, rgba(239, 68, 68, 0.04) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    border-left: 4px solid #ef4444;
}

.not-header svg {
    color: #ef4444;
}

.not-header h3 {
    color: #dc2626;
}

[data-theme="dark"] .not-header h3 {
    color: #f87171;
}

/* Info Card (Blue) */
.legal-card.info-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.10) 0%, rgba(99, 102, 241, 0.04) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    border-left: 4px solid #6366f1;
}

.info-header svg {
    color: #6366f1;
}

.info-header h3 {
    color: #4f46e5;
}

[data-theme="dark"] .info-header h3 {
    color: #818cf8;
}

/* Technical Card (Purple) */
.legal-card.technical-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.10) 0%, rgba(139, 92, 246, 0.04) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    border-left: 4px solid #8b5cf6;
}

.technical-header svg {
    color: #8b5cf6;
}

.technical-header h3 {
    color: #7c3aed;
}

[data-theme="dark"] .technical-header h3 {
    color: #a78bfa;
}

/* Warning Card (Orange) */
.legal-card.warning-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.10) 0%, rgba(245, 158, 11, 0.04) 100%);
    border-color: rgba(245, 158, 11, 0.3);
    border-left: 4px solid #f59e0b;
}

.warning-header svg {
    color: #f59e0b;
}

.warning-header h3 {
    color: #d97706;
}

[data-theme="dark"] .warning-header h3 {
    color: #fbbf24;
}

/* Danger Card (Red) */
.legal-card.danger-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.10) 0%, rgba(239, 68, 68, 0.04) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    border-left: 4px solid #ef4444;
}

.danger-header svg {
    color: #ef4444;
}

.danger-header h3 {
    color: #dc2626;
}

[data-theme="dark"] .danger-header h3 {
    color: #f87171;
}

/* Guarantee Card (Green) */
.legal-card.guarantee-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10) 0%, rgba(34, 197, 94, 0.04) 100%);
    border-color: rgba(34, 197, 94, 0.3);
    border-left: 4px solid #22c55e;
}

.guarantee-header svg {
    color: #22c55e;
}

.guarantee-header h3 {
    color: #16a34a;
}

[data-theme="dark"] .guarantee-header h3 {
    color: #4ade80;
}

.guarantee-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ============================================
   LISTS
   ============================================ */

.styled-list {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.styled-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.styled-list.numbered {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.styled-list.numbered li {
    counter-increment: item;
    padding-left: 2rem;
    position: relative;
}

.styled-list.numbered li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* Check List (Green checks) */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.check-list li strong {
    color: var(--text-primary);
}

/* X List (Red crosses) */
.x-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.x-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.x-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 3px;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1;
}

.x-list li strong {
    color: var(--text-primary);
}

.x-list.standalone {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
}

/* ============================================
   COMPARISON GRID
   ============================================ */

.comparison-grid {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin: 2rem 0;
}

.comparison-item {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.comparison-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.comparison-item.vs-gambling h4 {
    color: #22c55e;
}

.comparison-item.vs-casino h4 {
    color: #ef4444;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-item li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.comparison-item li:last-child {
    border-bottom: none;
}

.icon-check::before {
    content: "✓";
    color: #22c55e;
    font-weight: 700;
}

.icon-x::before {
    content: "✕";
    color: #ef4444;
    font-weight: 700;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .comparison-grid {
        flex-direction: column;
    }

    .comparison-vs {
        width: 100%;
        padding: 0.5rem 0;
    }
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 140px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.step-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.process-connector {
    display: none;
}

@media (min-width: 800px) {
    .process-connector {
        display: block;
        width: 40px;
        height: 2px;
        background: var(--border);
        margin-top: 15px;
        flex-shrink: 0;
    }
}

/* ============================================
   CONTRACT BOX
   ============================================ */

.contract-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.contract-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--hover);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.contract-details {
    padding: 1.5rem;
}

.contract-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.contract-row:last-of-type {
    margin-bottom: 1rem;
}

.contract-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contract-value {
    font-size: 0.875rem;
    color: var(--text-primary);
}

code.contract-value {
    background: var(--hover);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    word-break: break-all;
}

.contract-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    transition: all 0.2s;
}

.contract-link:hover {
    background: rgba(139, 92, 246, 0.15);
}

/* ============================================
   FEE SECTION
   ============================================ */

.fee-display {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.fee-percentage {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.fee-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.fee-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.fee-details {
    margin-bottom: 2rem;
}

.fee-example-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.fee-example-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--hover);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.fee-example-content {
    padding: 1.5rem;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
}

.fee-row span:first-child {
    color: var(--text-secondary);
}

.fee-row .amount {
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.fee-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.fee-row.total {
    font-weight: 600;
}

.fee-row.fee .amount {
    color: #ef4444;
}

.fee-row.winner {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--primary);
}

.fee-row.winner .amount.highlight {
    color: #22c55e;
    font-size: 1.125rem;
}

/* ============================================
   REQUIREMENTS GRID
   ============================================ */

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

.requirement-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.req-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--hover);
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

.requirement-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.requirement-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   RESTRICTED BOX
   ============================================ */

.restricted-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0.02) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
}

.restricted-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ef4444;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.restricted-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 600px) {
    .restricted-list {
        grid-template-columns: 1fr;
    }
}

.restricted-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.restricted-item .flag {
    font-size: 1.25rem;
}

.restricted-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

/* ============================================
   RISK GRID
   ============================================ */

.risk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 500px) {
    .risk-grid {
        grid-template-columns: 1fr;
    }
}

.risk-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: 8px;
}

.risk-item strong {
    color: #ef4444;
    font-size: 0.875rem;
}

.risk-item span {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.stake-warning {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.stake-warning svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.stake-warning p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ============================================
   CONTACT CARD
   ============================================ */

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ============================================
   ACCEPTANCE SECTION
   ============================================ */

.acceptance-section {
    border-bottom: none !important;
}

.acceptance-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
}

.acceptance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.acceptance-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.acceptance-card p {
    max-width: 500px;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.acceptance-card .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ============================================
   FOOTER NAVIGATION
   ============================================ */

.legal-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 500px) {
    .legal-footer-nav {
        grid-template-columns: 1fr;
    }
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.nav-card svg {
    color: var(--primary);
    margin-left: auto;
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   COMPACT FOOTER
   ============================================ */

.footer-content.compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.footer-links-row {
    display: flex;
    gap: 1.5rem;
}

.footer-links-row a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-row a:hover,
.footer-links-row a.active {
    color: var(--primary);
}

@media (max-width: 600px) {
    .footer-content.compact {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   DARK THEME ADJUSTMENTS
   ============================================ */

[data-theme="dark"] .summary-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .legal-card.is-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.03) 100%);
}

[data-theme="dark"] .legal-card.not-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.03) 100%);
}

[data-theme="dark"] .legal-card.info-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.03) 100%);
}

[data-theme="dark"] .legal-card.technical-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.03) 100%);
}

[data-theme="dark"] .legal-card.warning-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.03) 100%);
}

[data-theme="dark"] .legal-card.danger-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.03) 100%);
}

[data-theme="dark"] .legal-card.guarantee-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.03) 100%);
}

[data-theme="dark"] .restricted-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.03) 100%);
}

[data-theme="dark"] .fee-display {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.06) 100%);
}

[data-theme="dark"] .acceptance-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.06) 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .legal-hero {
        padding: 3rem 0 2rem;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-icon {
        width: 64px;
        height: 64px;
    }

    .legal-icon svg {
        width: 36px;
        height: 36px;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .legal-summary {
        padding: 1.5rem;
    }

    .fee-percentage {
        font-size: 3rem;
    }

    .acceptance-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   FAIR PLAY PAGE SPECIFIC STYLES
   ============================================ */

/* Fair Play Summary Box */
.fair-play-summary {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(22, 163, 74, 0.03) 100%);
    border-color: rgba(34, 197, 94, 0.2);
}

.fair-play-summary .legal-summary-header svg {
    color: #22c55e;
}

.fair-play-intro p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.fair-play-intro strong {
    color: var(--text-primary);
}

.legal-distinction-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.distinction-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.distinction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.distinction-icon.valid {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #22c55e;
}

.distinction-icon.invalid {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #ef4444;
}

.distinction-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--text-primary);
}

.distinction-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.distinction-content strong {
    color: var(--text-primary);
}

.legal-note {
    padding: 1rem 1.25rem;
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 600px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

.philosophy-card {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.2s;
}

.philosophy-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

.philosophy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.06) 100%);
    border-radius: 14px;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.philosophy-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.philosophy-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Prohibited Grid */
.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 700px) {
    .prohibited-grid {
        grid-template-columns: 1fr;
    }
}

.prohibited-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.prohibited-card.severe {
    border-top: 4px solid #ef4444;
}

.prohibited-card.moderate {
    border-top: 4px solid #f59e0b;
}

.prohibited-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 0.75rem;
}

.severity-badge {
    display: inline-flex;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.severity-badge.severe {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.severity-badge.moderate {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.prohibited-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.prohibited-content {
    padding: 0 1.25rem 1.25rem;
}

.prohibited-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.prohibited-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prohibited-content li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
    line-height: 1.4;
}

.prohibited-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Detection Methods */
.detection-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.detection-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s;
}

.detection-method:hover {
    border-color: var(--primary);
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-radius: 12px;
    color: #6366f1;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.method-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.detection-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.detection-note svg {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.detection-note p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Consequences Timeline */
.consequences-timeline {
    position: relative;
    padding-left: 1rem;
}

.consequence-level {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
}

.consequence-level:last-child {
    padding-bottom: 0;
}

.level-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.level-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid;
    background: var(--bg);
    z-index: 1;
}

.consequence-level.warning .level-dot {
    border-color: #f59e0b;
}

.consequence-level.restriction .level-dot {
    border-color: #f97316;
}

.consequence-level.suspension .level-dot {
    border-color: #ef4444;
}

.consequence-level.ban .level-dot {
    border-color: #dc2626;
    background: #dc2626;
}

.level-line {
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 0.5rem;
}

.level-content {
    flex: 1;
    padding-bottom: 0.5rem;
}

.level-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.level-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.level-badge.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.level-badge.restriction {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.level-badge.suspension {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.level-badge.ban {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

.level-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.level-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Reporting Steps */
.reporting-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.report-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.report-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.report-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.report-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.report-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.report-content a:hover {
    text-decoration: underline;
}

/* Responsibility Box */
.responsibility-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
}

.responsibility-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.responsibility-header svg {
    color: #6366f1;
    flex-shrink: 0;
}

.responsibility-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.responsibility-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Fair Play Commitment Card */
.fair-play-commitment {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10) 0%, rgba(22, 163, 74, 0.04) 100%);
    border-color: rgba(34, 197, 94, 0.25);
}

.fair-play-commitment .acceptance-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.commitment-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    font-style: italic;
}

/* ============================================
   PRIVACY PAGE SPECIFIC STYLES
   ============================================ */

/* Privacy Icon */
.legal-icon.privacy-icon {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    box-shadow:
        0 10px 40px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Privacy Summary */
.privacy-summary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.privacy-summary .legal-summary-header svg {
    color: #6366f1;
}

/* Summary Cards for Privacy */
.summary-card.minimal .summary-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #22c55e;
}

.summary-card.minimal {
    border-color: rgba(34, 197, 94, 0.2);
}

.summary-card.no-sell .summary-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #ef4444;
}

.summary-card.no-sell {
    border-color: rgba(239, 68, 68, 0.2);
}

.summary-card.blockchain .summary-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
    color: #8b5cf6;
}

.summary-card.blockchain {
    border-color: rgba(139, 92, 246, 0.2);
}

.summary-card.control .summary-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.08) 100%);
    color: #6366f1;
}

.summary-card.control {
    border-color: rgba(99, 102, 241, 0.2);
}

/* Data Category Grid */
.data-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 700px) {
    .data-category-grid {
        grid-template-columns: 1fr;
    }
}

.data-category {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.data-category.account {
    border-top: 4px solid #6366f1;
}

.data-category.wallet {
    border-top: 4px solid #8b5cf6;
}

.data-category.game {
    border-top: 4px solid #22c55e;
}

.data-category.technical {
    border-top: 4px solid #f59e0b;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--hover);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.data-category.account .category-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.05) 100%);
    color: #6366f1;
}

.data-category.wallet .category-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: #8b5cf6;
}

.data-category.game .category-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    color: #22c55e;
}

.data-category.technical .category-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    color: #f59e0b;
}

.category-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.data-list li:last-child {
    border-bottom: none;
}

.data-item {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

.data-purpose {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: right;
}

.category-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: rgba(99, 102, 241, 0.05);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.category-note svg {
    color: #6366f1;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 600px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

.use-case {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s;
}

.use-case:hover {
    border-color: var(--primary);
}

.use-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.use-icon.service {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.04) 100%);
    color: #6366f1;
}

.use-icon.security {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.04) 100%);
    color: #22c55e;
}

.use-icon.comm {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.04) 100%);
    color: #8b5cf6;
}

.use-icon.improve {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
    color: #f59e0b;
}

.use-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.use-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Blockchain Data Box */
.blockchain-data-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.blockchain-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-bottom: 1px solid var(--border);
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.9375rem;
}

.blockchain-items {
    padding: 0.5rem 0;
}

.blockchain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.5rem;
}

.item-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.item-visibility {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
}

.item-visibility.public {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.blockchain-note {
    padding: 1rem 1.5rem;
    background: rgba(245, 158, 11, 0.05);
    border-top: 1px solid var(--border);
}

.blockchain-note p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Sharing Grid */
.sharing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 800px) {
    .sharing-grid {
        grid-template-columns: 1fr;
    }
}

.sharing-card {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
}

.sharing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.sharing-icon.providers {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.04) 100%);
    color: #6366f1;
}

.sharing-icon.legal {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
    color: #f59e0b;
}

.sharing-icon.blockchain {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.04) 100%);
    color: #8b5cf6;
}

.sharing-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.sharing-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* No Sharing Box */
.no-sharing-box {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.02) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    margin-top: 1.5rem;
}

.no-sharing-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 14px;
    color: #ef4444;
    flex-shrink: 0;
}

.no-sharing-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 0.75rem;
}

.no-sharing-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.no-sharing-content li {
    display: inline-flex;
    padding: 0.375rem 0.875rem;
    background: var(--bg);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 600px) {
    .security-measures {
        grid-template-columns: 1fr;
    }
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.04) 100%);
    border-radius: 12px;
    color: #22c55e;
    flex-shrink: 0;
}

.security-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.security-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 800px) {
    .rights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .rights-grid {
        grid-template-columns: 1fr;
    }
}

.right-card {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.2s;
}

.right-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.right-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-radius: 12px;
    color: #6366f1;
    margin-bottom: 0.875rem;
}

.right-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.right-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Exercise Rights Box */
.exercise-rights-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    margin: 1.5rem 0;
}

.exercise-rights-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.exercise-rights-box > p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.privacy-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.privacy-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.response-time {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Retention Table */
.retention-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin: 1rem 0;
}

.retention-row {
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.retention-row:last-child {
    border-bottom: none;
}

.retention-row.header {
    background: var(--hover);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.retention-row span:first-child {
    color: var(--text-secondary);
}

.retention-row span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

/* Privacy Commitment Card */
.privacy-commitment {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.10) 0%, rgba(139, 92, 246, 0.04) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}

.privacy-commitment .acceptance-icon {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

/* ============================================
   IMPORTANT NOTICE - Highlighted Warning
   ============================================ */

.important-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.08) 100%);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.important-notice .notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.important-notice p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    color: #dc2626;
    line-height: 1.5;
}

[data-theme="dark"] .important-notice {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.20) 0%, rgba(220, 38, 38, 0.12) 100%);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] .important-notice p {
    color: #f87171;
}

/* ============================================
   LEGAL POSITIONING PAGE SPECIFIC STYLES
   ============================================ */

/* Legal Positioning Icon */
.legal-icon.legal-icon-positioning {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow:
        0 10px 40px rgba(16, 185, 129, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Key Points Box */
.key-points-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.key-points-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Conclusion Highlight */
.conclusion-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10) 0%, rgba(22, 163, 74, 0.04) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 16px;
    margin: 1.5rem 0;
}

.conclusion-highlight svg {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.conclusion-highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.conclusion-highlight strong {
    color: var(--text-primary);
}

[data-theme="dark"] .conclusion-highlight {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.06) 100%);
}

/* Not List Grid */
.not-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.not-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.not-item svg {
    color: #ef4444;
    flex-shrink: 0;
}

.not-item:hover {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
}

/* Standalone Check/X Lists */
.check-list.standalone,
.x-list.standalone {
    margin: 1.5rem 0;
    padding: 0;
}

/* Important Notice with Title */
.important-notice strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #dc2626;
}

.important-notice div {
    flex: 1;
}

.important-notice div p {
    font-weight: 400;
    color: var(--text-secondary);
}

[data-theme="dark"] .important-notice div p {
    color: var(--text-secondary);
}

[data-theme="dark"] .important-notice strong {
    color: #f87171;
}
