/* TOS Page Styling - Updated to match forums theme */
:root {
  --primary-color: #a55cff;
  --primary-hover: #9448ff;
  --primary-dark: #6d32ff;
  --bg: #0a0a0a;
  --bg-2: #0c0c0c;
  --panel: #111113;
  --panel-2: #161618;
  --text: #e9e9f2;
  --muted: #a1a6bd;
  --line: #262626;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Ubuntu Mono', monospace;
    margin: 0;
    padding: 0;
}

.tos-container {
    width: min(1000px, 92vw);
    margin: 40px auto;
    background: linear-gradient(180deg, #151515, #101010);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    position: relative;
    overflow: hidden;
}

.tos-container::after {
    content: "";
    position: absolute;
    inset: auto -1px -1px -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(165,92,255,.35), transparent);
}

.tos-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--primary-color); /* match accent used in the notice box */
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    text-align: center;
    letter-spacing: 0.6px;
    position: relative;
}

.tos-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    background: var(--panel);
    border-radius: 10px;
    border: 1px solid var(--line);
    letter-spacing: 0.4px;
}

.tos-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #aab0c8;
}

.tos-content ul {
    margin: 10px 0 20px 0;
    padding: 16px;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    list-style-type: disc;
    padding-left: 32px;
}

.tos-content ul li {
    margin-bottom: 8px;
    color: #cfd2e6;
}

.tos-content strong {
    color: var(--text);
    font-weight: 700;
}

.tos-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.tos-content a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* Add some visual enhancements */
.tos-content p:first-of-type {
    background: linear-gradient(135deg, rgba(165,92,255,0.1), rgba(165,92,255,0.05));
    border: 1px solid rgba(165,92,255,0.3);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 768px) {
    .tos-container {
        padding: 24px;
        margin: 20px auto;
    }

    .tos-title {
        font-size: 28px;
    }

    .tos-content h3 {
        font-size: 18px;
        padding: 10px 14px;
    }

    .tos-content p, .tos-content ul li {
        font-size: 15px;
    }

    .tos-content ul {
        padding: 14px;
        padding-left: 28px;
    }
}
