body, html {
    background: #0d1117;
}

.terms-page-bg {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
    background: linear-gradient(120deg, #1a1f2e 0%, #0d1117 100%);
}

.terms-wrapper {
    background: #1a1f2e;
    border-radius: 16px;
    border: 2px solid #2d3748;
    box-shadow: 0 12px 32px rgba(0,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
    max-width: 90%;
    width: 100%;
    padding: 40px 32px 36px 32px;
    margin: 0 12px;
}

.terms-switcher {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.terms-btn {
    font-size: 1.08em;
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 32px;
    border: 2px solid #2d3748;
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.terms-btn.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
    color: #0d1117;
    border-color: #00d4ff;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
}

.terms-btn.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.terms-btn.btn-primary:active {
    transform: translateY(0);
}

.terms-btn.btn-default {
    background: #2d3748;
    color: #a0aec0;
    border-color: #3d4757;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.terms-btn.btn-default:hover {
    background: #3d4757;
    color: #cbd5e0;
    border-color: #00d4ff;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.15);
}

.terms-btn:focus {
    outline: none;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.terms-container {
    min-height: 320px;
}

.terms-content {
    background: #16202d;
    border-radius: 12px;
    border: 2px solid #2d3748;
    padding: 36px 28px;
    color: #cbd5e0;
    font-size: 1.08em;
    line-height: 1.8;
    letter-spacing: 0.3px;
    box-shadow: inset 0 2px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
    max-height: 60vh;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.terms-content:hover {
    border-color: #00d4ff;
    box-shadow: inset 0 2px 12px rgba(0,0,0,0.3), 0 0 16px rgba(0, 212, 255, 0.1);
}

@media (max-width: 700px) {
    .terms-wrapper {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .terms-content {
        padding: 20px 16px;
        font-size: 1em;
        border-radius: 10px;
    }
    .terms-switcher {
        flex-direction: column;
        gap: 8px;
    }
    .terms-btn {
        width: 100%;
    }
}